16
Discussion - EVE / Re: EVE Asset Builder
« on: March 11, 2021, 06:12:37 PM »
Hi Rudolph,
Thank you so much for your reply.
I just went to your github link and I found you already success to use the ESP32 native IO with DMA.
I couldn't find your example code when I am doing searching last couple weeks so I used STM32 example from Matrix Orbital github, run to understand and port the code to ESP32 native IO using ESP32 SPI example and your Eve2_81x library. I am successfully get the SPI talking to my EVE3x-43G and get the interrupt back from the touch actions.
I am about to post to in the share folder for anyone who need the ESP32 nature but today I found you already done with DMA method. I would like to give it a try.
Could you please help me to point it out for me the set up for your ESP32 environment?
I got the error as soon as I try to compile the code because my CMAKE version is older than your code. And once I successfully update the CMAKE to newer version. I compiled and fail for the undefined rererence to 'app_main'
-- Build files have been written to: C:/Projects/esp/EVE_Test_ESP32_PlatformIO/build/bootloader
[927/931] Linking CXX executable EVE_Test_ESP32_PlatformIO.elf
FAILED: EVE_Test_ESP32_PlatformIO.elf
cmd.exe /C "cd . && C:\Users\Admin\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\EVE_Test_ESP32_PlatformIO.elf.rsp -o EVE_Test_ESP32_PlatformIO.elf && cd ."
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj).literal.main_task+0x10): undefined reference to `app_main'
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj): in function `main_task':
C:/Users/Admin/Desktop/esp-idf-2/components/esp32/cpu_start.c:589: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
Again thank you so much for your helps.
Thank you so much for your reply.
I just went to your github link and I found you already success to use the ESP32 native IO with DMA.
I couldn't find your example code when I am doing searching last couple weeks so I used STM32 example from Matrix Orbital github, run to understand and port the code to ESP32 native IO using ESP32 SPI example and your Eve2_81x library. I am successfully get the SPI talking to my EVE3x-43G and get the interrupt back from the touch actions.
I am about to post to in the share folder for anyone who need the ESP32 nature but today I found you already done with DMA method. I would like to give it a try.
Could you please help me to point it out for me the set up for your ESP32 environment?
I got the error as soon as I try to compile the code because my CMAKE version is older than your code. And once I successfully update the CMAKE to newer version. I compiled and fail for the undefined rererence to 'app_main'
-- Build files have been written to: C:/Projects/esp/EVE_Test_ESP32_PlatformIO/build/bootloader
[927/931] Linking CXX executable EVE_Test_ESP32_PlatformIO.elf
FAILED: EVE_Test_ESP32_PlatformIO.elf
cmd.exe /C "cd . && C:\Users\Admin\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\EVE_Test_ESP32_PlatformIO.elf.rsp -o EVE_Test_ESP32_PlatformIO.elf && cd ."
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj).literal.main_task+0x10): undefined reference to `app_main'
c:/users/admin/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj): in function `main_task':
C:/Users/Admin/Desktop/esp-idf-2/components/esp32/cpu_start.c:589: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
Again thank you so much for your helps.