Search found 1 match

by MashroomMan
Sun Oct 09, 2022 8:58 am
Forum: ESP-IDF 中文讨论版
Topic: boot: Image contains multiple DROM segments. Only the last one will be mapped. 编译正常,执行bootloader报错多个DROM
Replies: 0
Views: 827

boot: Image contains multiple DROM segments. Only the last one will be mapped. 编译正常,执行bootloader报错多个DROM

使用的是esp32c3,外接flash为4M,在初始的工程加入部分代码无问题,可以正常执行。 继续加入多个.a后,出现了第二个DROM,readelf可以看到多了一个 [17] .eh_frame。此时编译无问题,但是执行时报错boot: Image contains multiple DROM segments. Only the last one will be mapped. Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ ...