mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
grow our app space in flash
This commit is contained in:
parent
2529189a08
commit
1bda9c953e
14
TODO.md
Normal file
14
TODO.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
# High priority
|
||||||
|
|
||||||
|
* add mesh layer
|
||||||
|
* wrap in nice MeshRadio class
|
||||||
|
|
||||||
|
# Medium priority
|
||||||
|
|
||||||
|
* add interrupt detach/sleep mode config to lora radio so we can enable deepsleep without panicing
|
||||||
|
|
||||||
|
# Done
|
||||||
|
|
||||||
|
* change the partition table to take advantage of the 4MB flash on the wroom: http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables
|
7
partition-table.csv
Normal file
7
partition-table.csv
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# This is a layout for 4MB of flash
|
||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x1c0000,
|
||||||
|
app1, app, ota_1, 0x1d0000,0x1c0000,
|
||||||
|
spiffs, data, spiffs, 0x390000,0x070000,
|
|
@ -15,6 +15,10 @@ platform = espressif32
|
|||||||
board = ttgo-t-beam
|
board = ttgo-t-beam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
|
; customize the partition table
|
||||||
|
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables
|
||||||
|
board_build.partitions = partition-table.csv
|
||||||
|
|
||||||
; note: we add src to our include search path so that lmic_project_config can override
|
; note: we add src to our include search path so that lmic_project_config can override
|
||||||
build_flags = -Wall -Wextra -Wno-missing-field-initializers -O3 -Wl,-Map,.pio/build/esp32/output.map
|
build_flags = -Wall -Wextra -Wno-missing-field-initializers -O3 -Wl,-Map,.pio/build/esp32/output.map
|
||||||
; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||||
|
@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define DEBUG_PORT Serial // Serial debug port
|
#define DEBUG_PORT Serial // Serial debug port
|
||||||
#define SERIAL_BAUD 115200 // Serial debug baud rate
|
#define SERIAL_BAUD 115200 // Serial debug baud rate
|
||||||
#define SLEEP_BETWEEN_MESSAGES true // Do sleep between messages
|
#define SLEEP_BETWEEN_MESSAGES false // Do sleep between messages
|
||||||
#define SEND_INTERVAL (5 * 60 * 1000) // Sleep for these many millis
|
#define SEND_INTERVAL (5 * 60 * 1000) // Sleep for these many millis
|
||||||
#define MESSAGE_TO_SLEEP_DELAY 5000 // Time after message before going to sleep
|
#define MESSAGE_TO_SLEEP_DELAY 5000 // Time after message before going to sleep
|
||||||
#define LOGO_DELAY 5000 // Time to show logo on first boot
|
#define LOGO_DELAY 5000 // Time to show logo on first boot
|
||||||
|
Loading…
Reference in New Issue
Block a user