Skip to content

Commit 45a8cc8

Browse files
committed
cc3200: make: Rename "deploy" target to "deploy-ota".
There should be target to deploy uPy over wired (UART) connection, and wired and OTA targets should be named differently.
1 parent 514b829 commit 45a8cc8

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

cc3200/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ there. Make sure to use a **v4.1 (or higer) LAUNCHXL board** when trying this po
4040
- Flash the latest service pack (servicepack_1.0.0.10.0.bin) using the "Service Pack Update" button.
4141
- Close CCS_Uniflash, remove the SOP2 jumper and reset the board.
4242

43-
## Updating the board to with new software version
44-
- Make sure the board is running and connected to the same network as the computer.
45-
46-
```bash
47-
make BTARGET=application BTYPE=release BOARD=LAUNCHXL WIPY_IP=192.168.1.1 WIPY_USER=micro WIPY_PWD=python deploy
48-
```
49-
50-
If `WIPY_IP`, `WIPY_USER` or `WIPY_PWD` are omitted the default values (the ones shown above) will be used.
51-
5243
## Playing with MicroPython and the CC3200:
5344

5445
Once the software is running, you have two options to access the MicroPython REPL:
@@ -97,6 +88,16 @@ import machine
9788
machine.reset()
9889
```
9990

91+
There's a script which automates this process from the host side:
92+
93+
- Make sure the board is running and connected to the same network as the computer.
94+
95+
```bash
96+
make BTARGET=application BTYPE=release BOARD=LAUNCHXL WIPY_IP=192.168.1.1 WIPY_USER=micro WIPY_PWD=python deploy-ota
97+
```
98+
99+
If `WIPY_IP`, `WIPY_USER` or `WIPY_PWD` are omitted the default values (the ones shown above) will be used.
100+
100101
### Note regarding FileZilla:
101102

102103
Do not use the quick connect button, instead, open the site manager and create a new configuration. In the "General" tab make

cc3200/application.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ WIPY_PWD ?= 'python'
206206

207207
all: $(BUILD)/mcuimg.bin
208208

209-
.PHONY: deploy
209+
.PHONY: deploy-ota
210210

211-
deploy: $(BUILD)/mcuimg.bin
211+
deploy-ota: $(BUILD)/mcuimg.bin
212212
$(ECHO) "Writing $< to the board"
213213
$(Q)$(PYTHON) $(UPDATE_WIPY) --verify --ip $(WIPY_IP) --user $(WIPY_USER) --password $(WIPY_PWD) --file $<
214214

0 commit comments

Comments
 (0)