Hello All,
CLion for OS X is flagging all my F() and ICACHE_FLASH_ATTR macro invocations as errors with the message: “Argument to ‘section’ attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma”
The platformio build process works great and I have no issues at all installing on my ESP8266 board. Based on the error message, it appears that CLion is incorrectly assuming that I’m building for a mach-o architecture and applying some platform specific code validation. I’ve looked all over the CLion preferences and I haven’t found any settings that affect it.
I’m starting a major refactor and I can’t see the real warnings between all the false alarms. Anyone have any ideas?
-eric