il y a 6 ans
Greetings! I recently acquired a Gamebuino Meta (loving it) and while I have a project already running in the Arduino IDE, I would prefer to have a project which is IDE agnostic. I found that PlatformIO provides a cli for building and uploading but can't get it to work. It keeps giving me errors while compiling the Gamebuino Meta library.
Has anyone here used the Gamebuino Meta and PlatformIO?
NEW il y a 6 ans
Hey! Maybe soru can help you, even though she doesn't use PlatformIO? What kind of errors are you getting? Did you make sure to compile / upload with the gamebuino meta board definition?
chrisvm
il y a 6 ans
Saw the reply too late!
I actually went through the rabbit hole and read the Arduino-Makefile project and the linux-makefile creation and made a 'mash up' of them. Took the makefile from linux-makefile and made it work in OS X and then ported the functionality for uploading to the META in the Arduino-Makefile project. Did some tinkering and also got object file caching working in the makefile.
NEW il y a 6 ans
Saw the reply too late!
I actually went through the rabbit hole and read the Arduino-Makefile project and the linux-makefile creation and made a 'mash up' of them. Took the makefile from linux-makefile and made it work in OS X and then ported the functionality for uploading to the META in the Arduino-Makefile project. Did some tinkering and also got object file caching working in the makefile.
NEW il y a 6 ans
Hey,
I'm trying to use PlatformIO witch CLion, I had install all lib depedencies but I dunno which board I should choose when init.
Does there is a board config for Gamebuino Meta ? Or should I set a board close to the Gamebuino Meta ?
Sorunome
il y a 6 ans
Hey! You should use the custom "Gamebuino Meta" board. If you installed the board in the arduino IDE as described here and it still doesn't show up in PlatformIO, check back with them how to select a custom board.
Unfortunately there is no similar board you can select.
NEW il y a 6 ans
After few attempts of purging/reinstalling and using PlatformIO IDE to follow instructions to install libs, and installing SAM and Gamebuino-Meta boards in the Arduino IDE (which works), PlatformIO IDE still doesn't list Gambuino-Meta in boards… :/
Following PlatformIO Docs, I have to add a json file in home_dir/boards which describe Gamebuino-Meta board and then I could see it in the list.
But the only json file I found is the one used in Arduino IDE's preferences. I dunno what I did wrong, do you have any json file in the home_dir/boards directory of PlatformIO ?
NEW il y a 6 ans
try the same json file you had to specify as source for boards in the arduino ide
Xenoth
il y a 6 ans
Whoops sorry I have forget to post the link of the doc
http://docs.platformio.org/en/latest/platforms/creating_board.html
The jsons file's structure of Arduino ide is not compatible
`
Could not load boards list
PIO Core Call Error: "Error: Please specify name, url and vendor fields for C:\Users\Xenoth\.platformio\boards\Gamebuino-META.json"
`
NEW il y a 6 ans
Whoops sorry I have forget to post the link of the doc
http://docs.platformio.org/en/latest/platforms/creating_board.html
The jsons file's structure of Arduino ide is not compatible
`
Could not load boards list
PIO Core Call Error: "Error: Please specify name, url and vendor fields for C:\Users\Xenoth\.platformio\boards\Gamebuino-META.json"
`
NEW il y a 6 ans
Sounds like someone would have to port the gamebuino meta board to platformIO then :/