FabGL
FabGL copied to clipboard
ESP32-S3 support - soc/frc_timer_reg.h missing?
I've tried to compile the simplest code for a range of the S3 boards and in each case I get the same error with the compilation unable to find soc/frc_timer_reg.h There is no issue if I choose a ESP32-DEVKIT-V1 or many other of the earlier boards
`-DARDUINO_USB_DFU_ON_BOOT=0 "@C:\Users\peter\AppData\Local\Temp\arduino_build_721824/build_opt.h" "-IC:\Users\peter\AppData\Local\arduino15\packages\esp32\hardware\esp32\2.0.7\cores\esp32" "-IC:\Users\peter\AppData\Local\arduino15\packages\esp32\hardware\esp32\2.0.7\variants\esp32s3" "-ID:\peter\Documents\Arduino\libraries\FabGL\src" "C:\Users\peter\AppData\Local\Temp\arduino_build_721824\sketch\EspMite.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for soc/frc_timer_reg.h: []
ResolveLibrary(soc/frc_timer_reg.h)
In file included from D:\peter\Documents\Arduino\libraries\FabGL\src/fabgl.h:312, -> candidates: []
from D:\peter\Documents\Arduino\EspMite\EspMite.ino:1:
D:\peter\Documents\Arduino\libraries\FabGL\src/fabutils.h:45:10: fatal error: soc/frc_timer_reg.h: No such file or directory
#include "soc/frc_timer_reg.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Using library FabGL at version 1.0.9 in folder: D:\peter\Documents\Arduino\libraries\FabGL
exit status 1
Error compiling for board ESP32S3 Dev Module.
`
I am having the same issue. Did you ever find a solution to this?
https://github.com/OliviliK/ESP32_timer_u32
were you able to solve it? The same thing appears to me with an 8MB esp32-s3 n8r8. Trying to use any of the examples, errors appear everywhere.
I am having the same issue. Did you ever find a solution to this?
work?
I haven't tested it, but it should work. We need to understand how to replace one with the other. The point is that esp32 and esp32s3 have different system timers. Accordingly, the interfaces are different.
Have been working with FABGL VGA with Arduino IDE. After a few months break, Arduino upgrades, now get compilation error, similar to above:
...Arduino\libraries\FabGL\src/fabutils.h:45:10: fatal error: soc/frc_timer_reg.h: No such file or directory
Cannot compile ant FABGL code? using
Have reinstalled FABGL. no change.
Related to fabutils.h
Can anybody assist?
Have been working with FABGL VGA with Arduino IDE. After a few months break, Arduino upgrades, now get compilation error, similar to above:
...Arduino\libraries\FabGL\src/fabutils.h:45:10: fatal error: soc/frc_timer_reg.h: No such file or directory
Cannot compile ant FABGL code? using
I spent a few days trying to resolve this issue last year, to no avail. IIRC, there's some kind of timer that exists in the plain ESP32 that doesn't exist in ESP32-S3. I think it's been superseded by some better kind of timer, or something. Anyway, frc_timer_reg.h is for the old timer, and all of FabGL's code that uses the old timer needs to be rewritten to use the new timer in the S3 before this can be compiled for the S3. I think I made some progress on this last year when I tried, but never go it to compile all the way, let alone downloading to the board and testing. I still plan on trying to solve this, I just don't know when I'm going to get around to it.
Thanks for response.. Have been trying for a while to get any advance on this one. Is there a better way to compile FABGL library code other than Arduino IDE that may circumvent the issue?