arduino-cmake / Arduino-CMake-NG

CMake-Based framework for Arduino platforms
MIT License
138 stars 39 forks source link

RegisterHardwarePlatform doesn't work #79

Open PML-Trey opened 5 years ago

PML-Trey commented 5 years ago

Previous versions of Arduino CMAKE had an API you could use to supply your own distribution of the Arduino embedded software. It looks like pieces of this have made it into this new version, but the functionality is missing. It would be nice if this API was added back in.

MrPointer commented 5 years ago

@PML-Trey Yes it would be nice indeed. In fact, it's planned to be part of the framework before reaching a stable 1.0 version. With that being said, there were many problems with the older API and platform-subsystem in general, so it's going to be completely refactored and redesigned, suited to support many different platforms including ESP.

davr commented 5 years ago

Hi, so just to confirm, the current version of Arduino-CMake-NG wont work with any boards except the ones that come with the official arduino sdk, but that support is planned in the near future?

I'd like to use it with PJRC's Teensy boards, they have really good arduino support generally, I don't know much about the arduino build system, but they install their own boards.txt file in eg arduino-1.8.7/hardware/teensy/avr/boards.txt

MrPointer commented 5 years ago

@davr Unfortunately you're correct - It's currently not supported, including your specific use case ☹️