File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,23 +31,29 @@ Retrieve submodules:
3131
3232 make submodules
3333
34- Then initialize the ModusToolbox™ environment:
35-
36- make mtb_init BOARD=<board-name>
37-
3834Build the firmware:
3935
40- make
36+ make BOARD=CY8CKIT_062S2_AI
37+
38+ > [ !NOTE]
39+ > The first time we call ` make ` the board needs to be specified with
40+ > ` BOARD=<board> ` . This is required as the ModusToolbox libraries need to be
41+ > initialized for the selected board.
42+ > This board will then be set as the default board for subsequent builds, you
43+ > can just call ` make ` without the ` BOARD= ` argument.
4144
42- To build and program the device :
45+ And flash it to the board :
4346
44- make program
47+ make deploy
48+
49+ > [ !NOTE]
50+ > This will also build the firmware if it has not been built yet.
51+ > Use ` deploy ` target to avoid rebuilding the firmware.
4552
4653Find more information about the available makefile targets:
4754
4855 make help
4956
50-
5157# Run micropython
5258
5359Use any serial terminal (putty, minicom..) and establish a session with your device with 115200 bauds and 8-N-1 configuration.
You can’t perform that action at this time.
0 commit comments