The context of the question is here - https://github.com/esp-rs/esp-idf-sys/i ... 1872154944
So it seems there is one single gcc now for all cpu architectures, but that gcc has by default XCHAL_HAVE_BE set to 1 - so im assuming there is some option somewhere that specifies that "the cpu is esp32" or "cpu is esp32s2" etc.. which will then change XCHAL_HAVE_BE to 0 - I just am unable to find where that is done in the makefiles etc.. Any help pointing this out will be highly appreciated, so that I can take this info back and plug it into the esp-rs/esp-idf-sys code that I am referring to in the link I posted at the beginning
xtensa-esp-elf-gcc: how is the cpu architecture specified ?
-
- Posts: 1
- Joined: Fri Dec 29, 2023 3:52 pm