mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
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:
parent
1d8fd4aa72
commit
f420e6c8f8
2
Makefile
2
Makefile
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
```
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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) |
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user