Thanks, I’ll ask them to include my pull request.
Before they accept my pull request, do I have to overwrite it with mine implementation?
(I’m a newbie)
Well first you should really check whether adding them via build_flags in the platformio.ini is also applied when compiling the arduino core. Actually I think it should be.
After that, you still have the option to use Advanced Scripting to append to the CCFLAGS, CPPDEFINES, LINKFLAGS variables or whatever you need (see scripts linked above).
Thanks! I do it with the build parameters in the platform.ini. Now I know it works, I’m going to see if Sipeed can update their library. It is not for my code, but to build the HT11 library dependency from Adafruit. I have to do the same for Maixduino framework (framework-arduino-gd32v, because I had to patch it also. I need to clean it first.