How to use test_sd.c
Posted: Tue Aug 15, 2017 4:42 pm
How can i use test_sd.c to check my sd card?
https://github.com/espressif/esp-idf/bl ... /test_sd.c
When i try to compile the program, i get the message
C:/msys32/home/esp/esp-idf/components/sdmmc/test/build/esp32\libesp32.a(cpu_start.o):(.literal.main_task+0xc): undefined reference to `app_main'
C:/msys32/home/esp/esp-idf/components/sdmmc/test/build/esp32\libesp32.a(cpu_start.o): In function `main_task':
C:/msys32/home/esp/esp-idf/components/esp32/cpu_start.c:348: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
make: *** [C:/msys32/home/esp/esp-idf//make/project.mk:330: /home/esp/esp-idf/components/sdmmc/test/build/test_sd.c.elf] Fehler 1
I can't see a app_main in this script?
https://github.com/espressif/esp-idf/bl ... /test_sd.c
When i try to compile the program, i get the message
C:/msys32/home/esp/esp-idf/components/sdmmc/test/build/esp32\libesp32.a(cpu_start.o):(.literal.main_task+0xc): undefined reference to `app_main'
C:/msys32/home/esp/esp-idf/components/sdmmc/test/build/esp32\libesp32.a(cpu_start.o): In function `main_task':
C:/msys32/home/esp/esp-idf/components/esp32/cpu_start.c:348: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
make: *** [C:/msys32/home/esp/esp-idf//make/project.mk:330: /home/esp/esp-idf/components/sdmmc/test/build/test_sd.c.elf] Fehler 1
I can't see a app_main in this script?