Hi,
I'm try to integrate the esp-idf to our makefile based project, and i need to use the spi driver for spi master. so I tried to define my include path in the makefile to include path for driver/spi_master.h. but then i tried to build and many errors occured, like:
components/soc/src/esp32/include/hal/cpu_ll.h:35:5: error: 'asm' undeclared (first use in this function)
components/soc/src/esp32/include/hal/cpu_ll.h:35:8: error: expected ';' before 'volatile'
asm volatile (
so how can i free to use the darivers in my project? which include paths do i need to add? Do i need to include all the include path for all head files?
How to use the esp-idf componets with makefile system
Who is online
Users browsing this forum: ulaoulao and 93 guests