cargo: config: add -fforce-frame-pointers and set the esp-rtos tick rate to 50hz, and set flash size to 16mb

This commit is contained in:
2025-12-22 14:58:57 +01:00
parent d9fd112ee0
commit d68df7c037

View File

@@ -1,15 +1,17 @@
[target.xtensa-esp32s3-none-elf] [target.xtensa-esp32s3-none-elf]
runner = "espflash flash --monitor --chip esp32s3 --partition-table ./partitions.csv" runner = "espflash flash --monitor --chip esp32s3 --partition-table ./partitions.csv --flash-size 16mb"
[env] [env]
ESP_LOG="info" ESP_LOG="info"
ESP_HAL_CONFIG_PLACE_RMT_DRIVER_IN_RAM="true" ESP_HAL_CONFIG_PLACE_RMT_DRIVER_IN_RAM="true"
ESP_HAL_EMBASSY_CONFIG_TIMER_QUEUE="multiple-integrated" ESP_HAL_EMBASSY_CONFIG_TIMER_QUEUE="multiple-integrated"
ESP_WIFI_CONFIG_COUNTRY_CODE="DE" ESP_WIFI_CONFIG_COUNTRY_CODE="DE"
ESP_RTOS_CONFIG_TICK_RATE_HZ="50"
[build] [build]
rustflags = [ rustflags = [
"-C", "link-arg=-nostartfiles", "-C", "link-arg=-nostartfiles",
"-C", "force-frame-pointers"
] ]
target = "xtensa-esp32s3-none-elf" target = "xtensa-esp32s3-none-elf"