-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(zephyr): upgrade to Zephyr v3.7.0 (#10)
### Summary There are several fixes for this app to build with Zephyr 3.7.0 and the latest Memfault SDK: - Updated s3 board overlay & board argument to match hardware model v2 - Updated heap pool size to eliminate warning compile message -- they increased it - Removed enabling of `CONFIG_MEMFAULT_TLS_CERTS_USE_DER` since it is now the default - Updated readme with new args for `wifi connect` shell command - Enabled `CONFIG_MBEDTLS_AES_ROM_TABLES` explicitly -- this used to be enabled by default. It saves ~8kB in RAM space. With the jump to 3.7.0, the build for the esp32c3 overflowed by 70kb: ``` /Users/gminnehan/.local/zephyr-sdk-0.16.1-rc1/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: zephyr/zephyr_pre0.elf section `.dram0.bss' will not fit in region `dram0_0_seg' /Users/gminnehan/.local/zephyr-sdk-0.16.1-rc1/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: DRAM segment data does not fit. /Users/gminnehan/.local/zephyr-sdk-0.16.1-rc1/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: region `dram0_0_seg' overflowed by 71104 bytes ``` After investigating, there appears to be a few culprits, including a drop in the DRAM segment by 20kB in 3.7.0. To unblock build testing with Memfault for both the RISC-V and Xtensa arch on Zephyr 3.7.0, the MBEDTLS heap has been shrunk for the c3 build for now. Users can still test out Memfault shell commands but will have to post chunks via the chunks debug log. Since this support has been removed, the default board is now the s3. ### Test Plan CI, also flashed a esp32s3 locally & uploaded chunks successfully ---- Related: MCU-569
- Loading branch information
Showing
8 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters