mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
tweaks for 4MB release
This commit is contained in:
parent
80c3a6218b
commit
02f66b35e4
@ -78,9 +78,13 @@ espruino_#v##_microbit.hex
|
||||
- Espruino for the BBC micro:bit - just copy this file onto the
|
||||
flash drive that appears when you plug the micro:bit in.
|
||||
|
||||
espruino_#v##_ruuvitag.zip
|
||||
- The firmware image for Ruuvitag Devices
|
||||
See http://www.espruino.com/Ruuvitag for more information
|
||||
|
||||
ESP8266
|
||||
-------
|
||||
|
||||
ESP8266 / ESP32
|
||||
---------------
|
||||
|
||||
See http://www.espruino.com/EspruinoESP8266 for more info
|
||||
|
||||
@ -88,9 +92,20 @@ espruino_#v##_esp8266_combined_512.bin
|
||||
- ESP8266 'combined' port for 512k devices like ESP01
|
||||
Flash with: esptool.py write_flash 0 espruino_#v##_esp8266_combined_512.bin
|
||||
|
||||
espruino_#v##_esp8266_combined_4096.bin
|
||||
- ESP8266 'combined' port for 4MB devices like ESP12
|
||||
Flash with: esptool.py write_flash 0 espruino_#v##_esp8266_combined_4096.bin
|
||||
|
||||
espruino_#v##_esp8266
|
||||
- ESP8266 port as separate files - see README in directory for more information
|
||||
|
||||
espruino_#v##_esp8266_4mb
|
||||
- ESP8266 port for 4mb devices as separate files - see README in directory for more information
|
||||
|
||||
espruino_#v##_esp32.zip
|
||||
- The firmware image for ESP32 Devices
|
||||
See http://www.espruino.com/ESP32 for more information
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -37,8 +37,7 @@ export PATH=$PATH:$DIR/xtensa-esp32-elf/bin/
|
||||
echo ------------------------------------------------------
|
||||
echo Building Version $VERSION
|
||||
echo ------------------------------------------------------
|
||||
|
||||
for BOARDNAME in PICO_1V3_CC3000 PICO_1V3_WIZ ESPRUINO_1V3 ESPRUINO_1V3_WIZ ESPRUINOWIFI PUCKJS NUCLEOF401RE NUCLEOF411RE STM32VLDISCOVERY STM32F3DISCOVERY STM32F4DISCOVERY OLIMEXINO_STM32 HYSTM32_24 HYSTM32_28 HYSTM32_32 RASPBERRYPI MICROBIT ESP8266_BOARD RUUVITAG ESP32
|
||||
for BOARDNAME in PICO_1V3_CC3000 PICO_1V3_WIZ ESPRUINO_1V3 ESPRUINO_1V3_WIZ ESPRUINOWIFI PUCKJS NUCLEOF401RE NUCLEOF411RE STM32VLDISCOVERY STM32F3DISCOVERY STM32F4DISCOVERY OLIMEXINO_STM32 HYSTM32_24 HYSTM32_28 HYSTM32_32 RASPBERRYPI MICROBIT ESP8266_BOARD ESP8266_4MB RUUVITAG ESP32
|
||||
do
|
||||
echo ------------------------------
|
||||
echo $BOARDNAME
|
||||
@ -101,6 +100,11 @@ do
|
||||
# Do some more ESP8266 build stuff
|
||||
bash -c "$EXTRADEFS RELEASE=1 BOARD=$BOARDNAME make combined" || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
cp ${ESP_BINARY_NAME}_combined_512.bin $ZIPDIR || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
elif [ "$BOARDNAME" == "ESP8266_4MB" ]; then
|
||||
tar -C $ZIPDIR -xzf ${ESP_BINARY_NAME}_4mb.tgz || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
# Do some more ESP8266 build stuff
|
||||
bash -c "$EXTRADEFS RELEASE=1 BOARD=$BOARDNAME make combined" || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
cp ${ESP_BINARY_NAME}_combined_4096.bin $ZIPDIR || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
else
|
||||
echo Copying ${ESP_BINARY_NAME} to $ZIPDIR/$NEW_BINARY_NAME
|
||||
cp ${ESP_BINARY_NAME} $ZIPDIR/$NEW_BINARY_NAME || { echo "Build of $BOARDNAME failed" ; exit 1; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user