Search found 3 matches

by MingShun
Fri Sep 13, 2019 3:22 am
Forum: General Discussion
Topic: Which ESP IDF to use, Legacy vs new?
Replies: 5
Views: 4633

Re: Which ESP IDF to use, Legacy vs new?

In regards to the new CMake system, I was hit with a massive gotcha in that components need to be included: idf_component_register(SRCS "ulp_example_main.c" INCLUDE_DIRS "" REQUIRES soc nvs_flash ulp esp-aws-iot fatfs bt ) I spent hours trying to figure out where to place the components because the ...
by MingShun
Fri Sep 13, 2019 3:11 am
Forum: ESP-IDF
Topic: Splitting ULP ASM files
Replies: 1
Views: 2500

Re: Splitting ULP ASM files

After further research, I've come to the conclusion that the current code is bugged. 1. After doing a google search for "ulp_embed_binary", I came across this code which I subsequently used to replace ulp_embed_binary line in my CMakeLists.txt file: spaces2list(s_sources) foreach(source ${s_sources}...
by MingShun
Thu Sep 12, 2019 4:15 am
Forum: ESP-IDF
Topic: Splitting ULP ASM files
Replies: 1
Views: 2500

Splitting ULP ASM files

Because it looked like a better way to do things, I want to use the new idf.py build system from ESP IDF 4.0 so I've been converting my code. I ran into a problem when trying to compile the assembly code which has been broken up into multiple sections for maintainability. It doesn't compile like it ...