1
- CircuitPython port to Spresense
2
- ==============================
1
+ # CircuitPython port to Spresense #
3
2
4
3
This directory contains the port of CircuitPython to Spresense. It is a compact
5
4
development board based on Sony’s power-efficient multicore microcontroller
@@ -22,8 +21,29 @@ Currently, Spresense port does not support GNSS, Audio and Multicore.
22
21
Refer to [ developer.sony.com/develop/spresense/] ( https://developer.sony.com/develop/spresense/ )
23
22
for further information about this board.
24
23
25
- Build instructions
26
- ------------------
24
+ ## Prerequisites ##
25
+
26
+ ### Linux ###
27
+
28
+ Add user to ` dialout ` group:
29
+
30
+ $ sudo usermod -a -G dialout <user-name>
31
+
32
+ ### Windows ###
33
+
34
+ Download and install USB serial driver
35
+
36
+ * [ CP210x USB to serial driver for Windows 7/8/8.1] ( https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers.zip )
37
+
38
+ * [ CP210x USB to serial driver for Windows 10] ( https://www.silabs.com/documents/public/software/CP210x_Universal_Windows_Driver.zip )
39
+
40
+ ### macOS ###
41
+
42
+ Download and install USB serial driver
43
+
44
+ * [ CP210x USB to serial driver for Mac OS X] ( https://www.silabs.com/documents/public/software/Mac_OSX_VCP_Driver.zip )
45
+
46
+ ## Build instructions ##
27
47
28
48
Pull all submodules into your clone:
29
49
@@ -41,17 +61,11 @@ To build circuitpython image run:
41
61
42
62
$ make BOARD=spresense
43
63
44
- USB connection
45
- --------------
46
-
47
- Add user to ` dialout ` group:
48
-
49
- $ sudo usermod -a -G dialout <user-name>
64
+ ## USB connection ##
50
65
51
- Connect the Spresense main board to the PC via the USB cable.
66
+ Connect the ` Spresense main board ` to the PC via the USB cable.
52
67
53
- Flash the bootloader
54
- --------------------
68
+ ## Flash the bootloader ##
55
69
56
70
The correct bootloader is required for the Spresense board to function.
57
71
@@ -69,17 +83,15 @@ To flash the bootloader run the command:
69
83
70
84
$ make BOARD=spresense flash-bootloader
71
85
72
- Flash the circuitpython.spk image
73
- ---------------------------------
86
+ ## Flash the circuitpython.spk image ##
74
87
75
88
To flash the firmware run the command:
76
89
77
90
$ make BOARD=spresense flash
78
91
79
- Accessing the board
80
- -------------------
92
+ ## Accessing the board ##
81
93
82
- Connect the Spresense extension board to the PC via the USB cable.
94
+ Connect the ` Spresense extension board ` to the PC via the USB cable.
83
95
84
96
Once built and deployed, access the CircuitPython REPL (the Python prompt) via USB. You can run:
85
97
0 commit comments