Search found 2 matches

by wakojosin
Wed Nov 09, 2022 5:43 am
Forum: ESP-IDF 中文讨论版
Topic: 关于链接脚本(ld)的使用中段(section)被优化的问题
Replies: 1
Views: 2159

关于链接脚本(ld)的使用中段(section)被优化的问题

使用方式如下:
链接脚本:

...
. = ALIGN(4);
user_section_tab_local_start = ABSOLUTE(.);
KEEP (*(SORT(*user_section_tab*)))
user_section_tab_local_end = ABSOLUTE(.);
...

a.h:

#define USER_SECTION_NAME __attribute__((section("user_section_name_tab")))
#define USER_SECTION __attribute__((section("user ...
by wakojosin
Tue Mar 17, 2020 2:17 am
Forum: ESP-IDF 中文讨论版
Topic: esp-idf使用make monitor命令出错
Replies: 0
Views: 4107

esp-idf使用make monitor命令出错

日志如下:
MONITOR
--port /dev/ttyS7 --baud 115200 --toolchain-prefix xtensa-esp32-elf- --make make --print_filter
Namespace(baud=115200, elf_file=<_io.BufferedReader name='esp-idf-v3.3.1/examples/get-started/hello_world/build/hello-world.elf'>, eol='CR', make='make', port='/8
', print_filter ...

Go to advanced search