Merge branch 'fix/crt-bundle-unaligned-reads_v5.5' into 'release/v5.5'

fix(mbedtls): read crt bundle byte-wise to avoid misaligned flash access (v5.5)

See merge request espressif/esp-idf!51725
This commit is contained in:
Jiang Jiang Jian
2026-08-25 10:52:21 +08:00
2 changed files with 21 additions and 14 deletions
@@ -83,6 +83,8 @@ append("${data}")
make_and_append_identifier("_binary_${varname}_end" "for objcopy compatibility")
append_line("")
# Keep the length aligned on the word boundary (read as a 32-bit `<name>_length`)
append_line(".balign 4")
if(FILE_TYPE STREQUAL "TEXT")
make_and_append_identifier("${varname}_length" "not including null byte")
else()