Comments (2)
@rileyrg Hi and welcome to the Arduino-CMake project!
I'm sorry to hear that you're having such a hard time using this framework.
Reviewing your logs, I suspect you've cloned the master branch of this repo, which is not the stable branch as it is in some other git repos! Instead, here it acts as the main dev branch, while official releases are bundled with GitHub's Releases. Use them (Desirably the latest one).
As for the board_id
dimness - The function is nowhere to be found on Google since it's defined by the framework and not documented anywhere in the Wiki (Not as a standalone function at least).
Generally what it does is constructing a string combining both the ID of the board to be used and possibly its' CPU, that later should be passed as an argument to many other API functions.
Just to make it clear, take for example the Uno
board you've mentioned - It's not only the name of the board's model, but also it's ID (According to Arduino, not this framework). This is usually like this.
However, looking at the example we see the nano
board ID and a possibly strange string, atmega328
. This is the board's CPU, and it's required because some boards are compatible with multiple CPUs.
You shouldn't worry about that, just get some basic info about your board in advance.
Back to the get_board_id
function - This entire concept you see in the example is about to be deprecated (In fact it's already deprecated in master, however not documented yet), omitting the use the board_id
argument by users like you entirely.
With that being said - Please follow the Wiki docs (And the above explanation) until the new version is officially released.
Now one last thing regarding boards - You've mentioned the Elegoo Uno R3
board, however, I'm not sure it's entirely supported by the framework yet. It seems to be a 3rd party platform, i.e. not plain, native Arduino, which is currently not supported.
You should first try to use the project after reading what I've written above, but if that doesn't work - Do not be so surprised 😞
I hope I was able to en-light your path to happy Arduino-CMake development! 😄
from arduino-cmake-ng.
from arduino-cmake-ng.
Related Issues (20)
- Project is dead HOT 1
- upload_arduino_target does not work (avrdude problem?) HOT 4
- Problem when with determining link language. HOT 3
- Include library header from another library HOT 9
- Undefined reference error when linking 3rd party libraries. HOT 4
- Refactor upload API
- Undefined reference to countPulseASM when using pulseIn function HOT 8
- RegisterHardwarePlatform doesn't work HOT 3
- Install for library depending on platform HOT 6
- FastLED library linker errors HOT 1
- vidor 4000 HOT 1
- SDK not found on Debian 9 with official Arduino binary HOT 2
- Provide means to override `avrdude`
- find_arduino_library simply doesn't work HOT 6
- ARDUINO_SDK_PATH variable is forgotten during compiler check (v0.6.1) HOT 2
- Support for Third-Party Boards - Game plan HOT 4
- Reduce search-paths for version.txt file
- Board 'nano33ble' not working, unrecorgnized command -mcpu=cortex-m4 HOT 1
- SD card library is not being found. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-cmake-ng.