Getting linker error when trying to build with custom eFuse table.
Getting linker error when trying to build with custom eFuse table.
Getting linker error when trying to build with custom eFuse table. The table source files generate and the compiler does not complain about the efuse field variable. The make file has been updated to include the table .c file. What am I missing?
- Attachments
-
- esp_efuse_custom_table.csv
- (1.21 KiB) Downloaded 54 times
-
- esp_efuse_custom_table.h
- (995 Bytes) Downloaded 55 times
-
- esp_efuse_custom_table.c
- (1.87 KiB) Downloaded 54 times
Re: Getting linker error when trying to build with custom eFuse table.
Here are additional files I was unable to upload in original post
- Attachments
-
- table build.txt
- (554 Bytes) Downloaded 55 times
-
- Build error.txt
- (1.81 KiB) Downloaded 54 times
-
- Posts: 1992
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Getting linker error when trying to build with custom eFuse table.
Is esp_efuse_custom_table.c referenced in the SRCS in main/CMakeLists.txt?
Re: Getting linker error when trying to build with custom eFuse table.
The CMakeLists.txt under main is this:
idf_component_register(SRCS "main.c"
"esp_efuse_custom_table.c"
INCLUDE_DIRS "." "include"
REQUIRES nvs_flash mqtt bt esp_wifi driver mainApp master efuse)
idf_component_register(SRCS "main.c"
"esp_efuse_custom_table.c"
INCLUDE_DIRS "." "include"
REQUIRES nvs_flash mqtt bt esp_wifi driver mainApp master efuse)
Re: Getting linker error when trying to build with custom eFuse table.
By shuffling around the location of things so that I could build the table in the same component that I was using it, I was able to make it work. Obvious now that I figured it out 

Who is online
Users browsing this forum: No registered users and 48 guests