Partition to 0x8000, allow non tested RTOS functions

According to ESP-IDF, file partitions_single_app should start from
0x8000 instead of 0x4000.
Some Rtos-Functions (taskhandling for example)are not fully tested, and
force a reset when called. This behaviour can be switched off.
This commit is contained in:
Juergen Marsch 2016-11-29 11:37:34 +01:00
parent 1d8fd4aa72
commit f420e6c8f8
4 changed files with 4 additions and 2 deletions

View File

@ -2024,7 +2024,7 @@ flash:
--flash_freq "40m" \
0x1000 $(ESP_APP_TEMPLATE_PATH)/build/bootloader/bootloader.bin \
0x10000 espruino_esp32.bin \
0x4000 $(ESP_APP_TEMPLATE_PATH)/build/partitions_singleapp.bin
0x8000 $(ESP_APP_TEMPLATE_PATH)/build/partitions_singleapp.bin
erase_flash:
python $(ESP_IDF_PATH)/components/esptool_py/esptool/esptool.py \

View File

@ -19,7 +19,7 @@ esptool.py \
--flash_freq "40m" \
0x10000 espruino_esp32.bin \
0x1000 /home/kolban/esp32/Espruino/template/build/bootloader/bootloader.bin \
0x4000 /home/kolban/esp32/Espruino/template/build/partitions_singleapp.bin
0x8000 /home/kolban/esp32/Espruino/template/build/partitions_singleapp.bin
```

View File

@ -10,6 +10,7 @@ are:
* Component config -> LWIP -> Enable SO_REUSEADDR option [Enable]
* Component config -> ESP32-specific config -> Task watchdog [Disable]
* Component config -> FreeRTOS -> Halt when an SMP-untested function is called [Disable]
Other options can be changed at your discretion for changes in the environment that
are primarily to taste. Examples that I would consider are:

View File

@ -18,4 +18,5 @@ In this list we have all interrupts handled for Espruino
| Intr num | level | descripton |
| --- | --- | --- |
| 18 | 1 | GPIO interrupt used for setWatch |
| 17 | 1 | Uart0 (console) |