SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
User avatar
By DougMcK
#246072
Hello,

I have the board set to Sparkfun ESP32 Micromod and an attempt to compile or verify immediately results in this error.

xtensa-esp32-elf-g++: error: unrecognized command line option '-std=gnu++2b'

Any ideas on what's broken with my installation?

Thanks,
Doug
#246073
I have found that the Sparkfun ESP32 Arduino library has several shortcomings and has caused me different compiler errors. Instead, I use the standard ESP32 library by Expressif Systems installed with the IDE- boards manager. The latest version is 2.0.14. Just select the 'Sparkfun ESP32 MicroMod' and it all works.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum