Yeah I've already tried the first two of the three below (from the link) and they didn't work.
# These can be overridden in platform.local.txt
compiler.c.extra_flags=
compiler.cpp.extra_flags=
compiler.S.extra_flags=
I'm not 100% sure this is a Teensy issue, but this technique works with my ESP32s
Used platform Version Path
teensy:avr 1.59.0 C:\Users\<redacted>\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0
Command executed successfully...
I do generate it in the correct order - big endian like the display. It's the SPI hardware that's doing the byte swapping. I want it not to.
Adding. I don't care about the efficiency of the routine above. 95% of my data is transmitted via DMA.
I'm porting some code to make it friendlier to graphics libraries like mine and LVGL.
I'm confused about byte order.
See the if() in the code below. I know how to change the byte order of the else block, but not the if true block using the...