Aaron-Rumpler opened a new pull request #4926:
URL: https://github.com/apache/incubator-nuttx/pull/4926


   ## Summary
   `tools/rp2040` needs to be compiled with at least C++11 (`CMakeLists.txt` 
from version 1.1.2 of the SDK uses C++14), but the makefile doesn't specify a 
version. On macOS, `clang` from the Command Line Tools defaults to an earlier 
version of C++, which causes the compilation to fail. This changes the makefile 
to specify `-std=c++14`, which lets the build succeed on macOS. I've also fixed 
a typo in `README.md` under the 'Using macOS' section.
   
   ## Impact
   - Building for Raspberry Pi Pico on macOS succeeds
   - Typo in 'Using macOS' section of `README.md` is fixed
   
   ## Testing
   Compiling for Raspberry Pi Pico now works on my macOS 12.0.1 machine, 
whereas it didn't before.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to