Update some names, add "make firmware" target

This commit is contained in:
Sandeep Mistry
2018-07-11 12:49:50 -04:00
parent c53863c01b
commit dd8c18dcc1
3 changed files with 7 additions and 2 deletions

View File

@@ -8,3 +8,8 @@ CPPFLAGS += -DNDEBUG -Os
endif
include $(IDF_PATH)/make/project.mk
firmware: all
python combine.py
.PHONY: firmware

View File

@@ -9,7 +9,7 @@ This firmware uses [Espressif's IDF](https://github.com/espressif/esp-idf)
1. Clone **v3.0** of the IDF: `git clone --branch v3.0 --recursive https://github.com/espressif/esp-idf.git`
1. Set the `IDF_PATH` environment variable: `export IDF_PATH=<path/to/idf>`
1. Run `make` to build the firmware (in the directory of this read me)
1. Load the `WiFi1010FirmwareUpdater` example sketch on to the board
1. Load the `WiFiNINAFirmwareUpdater` example sketch on to the board
1. Use `esptool` to flash the compiled firmware
## License

View File

@@ -2,7 +2,7 @@
booloaderData = open("build/bootloader/bootloader.bin", "rb").read()
partitionData = open("build/partitions_singleapp.bin", "rb").read()
appData = open("build/mkrwifi1010-fw.bin", "rb").read()
appData = open("build/nina-fw.bin", "rb").read()
# calculate the output binary size, app offset
outputSize = 0x10000 + len(appData)