Open roobware opened 4 years ago
@xBitsSec First, I'm sorry to disappoint that this project is no longer in active development Secondly, I'm afraid the framework doesn't support such advanced configurations yet. Anything but the default Arduino configuration has very, very minimal support - The project was just shy of hitting it before halting development. In other words, only boards such as the nano, uno, mega, etc. are supported, sorry...
I have a Arduino Nano 33 BLE Sense.
For better developing i will using CLion from Jetbrains.
Your scripts are pretty cool😎. This will save me for many hours of CMake configuration. But the IDE will me showing a CMake error: avr-g++: error: unrecognized command line option '-mcpu=cortex-m4.
The MBED package has arm-none-eabi compilers inside this folder '/Users/myhome/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin'. I can not see the path in the outputs. I am not sure, if this a Bug or a wrong configuration from my side?
Normally i think, the configuration comes from this files: boards.txt, progammers.txt and platorm.txt.
It would be very cool to find a solution for this problem.
Note: sometimes it is useful to delete the generated folder 'cmake-build-debug', has the change no effect.
Configuration and Outputs
Current environment: OS: macOS OS Version: 10.15.2 Platform: Arduino Platform SDK Version: 1.8.10
CMakeList.txt in project root:
This is the error after the first init of CMakeLists.txt:
and after CMakeLists.txt modification
This are all CMake variables after ending of the CMakeLists.txt script
In the included 'Header Search Paths' if are the standard Arduino Headers for the standard Libraries missing. The autocompletition can not find it.