"right" way to override _xt_nmi in IDF?
Posted: Mon Jun 19, 2017 4:32 am
I can't seem to get XCHAL_HAVE_NMI to be set in xtensa_vectors.S... Or at least get it to build on my system. I also have to admit, double-jumping in the NMI to get to my code is less than ideal.
I've added
to my makefile and/or component.mk to no avail.
Also tried making a object-specific rule. No dice.
My compile line for that file remains:
What is the recommended mechanism for enabling features that are enabled by preprocesor directives? from within the IDF platform?
I've added
Code: Select all
CFLAGS+=-DXT_INTEXC_HOOKS
Also tried making a object-specific rule. No dice.
My compile line for that file remains:
Code: Select all
xtensa-esp32-elf-gcc -DESP_PLATFORM -D IDF_VER=\"v2.0-rc1-956-g81f98c0\" -MMD -MP -I /home/cnlohr/esp/esp-idf/components/freertos/include -I /home/cnlohr/esp/esp-idf/components/freertos/include/freertos -I /home/cnlohr/esp/esp-idf/components/app_update/include -I /home/cnlohr/esp/esp-idf/components/bootloader_support/include -I /home/cnlohr/esp/esp-idf/components/bt/include -I /home/cnlohr/esp/esp-idf/components/coap/port/include -I /home/cnlohr/esp/esp-idf/components/coap/port/include/coap -I /home/cnlohr/esp/esp-idf/components/coap/libcoap/include -I /home/cnlohr/esp/esp-idf/components/coap/libcoap/include/coap -I /home/cnlohr/esp/esp-idf/components/cxx/include -I /home/cnlohr/esp/esp-idf/components/driver/include -I /home/cnlohr/esp/esp-idf/components/esp32/include -I /home/cnlohr/esp/esp-idf/components/ethernet/include -I /home/cnlohr/esp/esp-idf/components/expat/port/include -I /home/cnlohr/esp/esp-idf/components/expat/include/expat -I /home/cnlohr/esp/esp-idf/components/fatfs/src -I /home/cnlohr/esp/esp-idf/components/jsmn/include/ -I /home/cnlohr/esp/esp-idf/components/json/include -I /home/cnlohr/esp/esp-idf/components/json/port/include -I /home/cnlohr/esp/esp-idf/components/log/include -I /home/cnlohr/esp/esp-idf/components/lwip/include/lwip -I /home/cnlohr/esp/esp-idf/components/lwip/include/lwip/port -I /home/cnlohr/esp/esp-idf/components/lwip/include/lwip/posix -I /home/cnlohr/esp/esp-idf/components/lwip/apps/ping -I /home/cnlohr/esp/esp-idf/components/mbedtls/port/include -I /home/cnlohr/esp/esp-idf/components/mbedtls/include -I /home/cnlohr/esp/esp-idf/components/mdns/include -I /home/cnlohr/esp/esp-idf/components/micro-ecc/micro-ecc -I /home/cnlohr/esp/esp-idf/components/newlib/include -I /home/cnlohr/esp/esp-idf/components/newlib/platform_include -I /home/cnlohr/esp/esp-idf/components/nghttp/port/include -I /home/cnlohr/esp/esp-idf/components/nghttp/nghttp2/lib/includes -I /home/cnlohr/esp/esp-idf/components/nvs_flash/include -I /home/cnlohr/esp/esp-idf/components/openssl/include -I /home/cnlohr/esp/esp-idf/components/sdmmc/include -I /home/cnlohr/esp/esp-idf/components/soc/esp32/include -I /home/cnlohr/esp/esp-idf/components/spi_flash/include -I /home/cnlohr/esp/esp-idf/components/tcpip_adapter/include -I /home/cnlohr/esp/esp-idf/components/ulp/include -I /home/cnlohr/esp/esp-idf/components/vfs/include -I /home/cnlohr/esp/esp-idf/components/wear_levelling/include -I /home/cnlohr/esp/esp-idf/components/wpa_supplicant/include -I /home/cnlohr/esp/esp-idf/components/wpa_supplicant/port/include -I /home/cnlohr/esp/esp-idf/components/xtensa-debug-module/include -I /home/cnlohr/git/esp32-cnlohr-demo/main/include -I /home/cnlohr/git/esp32-cnlohr-demo/build/include -I. -c /home/cnlohr/esp/esp-idf/components/freertos/./xtensa_vectors.S -o xtensa_vectors.o