Closed fsender closed 2 years ago
Relevant fqdn option is non32xfer=safe
https://github.com/esp8266/Arduino/blob/07789808b941d556f8ac1bd482342561a0e37d12/boards.txt#L81-L84
The equivalent for PIO is to use build_flags = -DNON32XFER_HANDLER
I suppose there could be yet another -DPIO_FRAMEWORK_ARDUINO_NON32XFER_HANDLER
, but that request should go to the esp8266/Arduino repo plus a platform documentation update
My new project needs a permission to access flash memory directly. On Arduino IDE, I can set this flag easily. Then I can enable byte/word access to IRAM/PROGMEM. I cannot find this flag on PlatformIO IDE.
output from my Arduino IDE when using Non-32-bit Access "Using pgm_read macros for IRAM/PROGMEM"
output from my Arduino IDE when using Non-32-bit Access "Byte/word access to IRAM/PROGMEM"