-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Quirkbot #164
Comments
Thanks you for the feedback! 😊 I see that Quirkbot is based on {
"quirkbot": {
"build": {
"core": "arduino",
"extra_flags": "-DARDUINO_ARCH_AVR -DQUIRKBOT",
"f_cpu": "16000000L",
"mcu": "atmega32u4",
"pid": "0x8036",
"usb_product": "Quirkbot",
"variant": "leonardo",
"vid": "0x2341"
},
"frameworks": ["arduino"],
"name": "Quirkbot",
"platform": "atmelavr",
"upload": {
"disable_flushing": true,
"maximum_ram_size": 2560,
"maximum_size": 28672,
"protocol": "avr109",
"require_upload_port" : true,
"speed": 57600,
"use_1200bps_touch": true,
"wait_for_upload_port": true
},
"url": "http://quirkbot.com",
"vendor": "Quirkbot"
}
} The one field which should be specified is Finally, you can test this board with the latest version of PlatformIO:
If this works for you, then you can contribute this board to PlatformIO core P.S: I see you are developing own Web-IDE and Cloud Compiler. Don't forget that you can use PlatformIO as cross-platform code builder for these tasks. |
Thanks for the thorough feedback! Our setup is very similar to the ArduinoLillyPad USB, so I will use that as a base. But yeah, we do have our own variant (and also bootloader - but I don't think it matters on this scope, or?). Where should we place the And regarding the cloud compiler, we are evaluating a few different options, but Plataformio is definitely on the top of the list - so thank you for that! |
Please put it temporary to P.S: I'm going to release 1.4.0 tomorrow. If you give us this information, I'll add Quirkbot to this release (because I don't know when will be next release). We are going to work on PlatformIO 2.0 #159, which doesn't intend adding of new boards/platforms, just user CLI and integration with IDE and CI services. |
Regarding vid and pid. We don't have them. At least not yet... |
Just skip these fields. Don't use "usb_product, pid, vid". |
Ok, overall it works great, but I got some problems with If I just omit the 3, I get these errors:
If I just set them to blank (
So for now, I went with squatted registers:
And everything works fine. If you are OK with it, here are the file contents https://gist.github.com/paulobarcelos/4bf8a684008152578fb3 |
@valeros Could I ask you to test it? |
@paulobarcelos Your board has been added in the latest 1.4.0 release. Does it work properly for you? P.S: Please re-open if have any problems. |
Hey! First of all, congrats for such an amazing project, it's a real life saver!
I was wondering if there is a policy for adding new boards...
I wanted to include the specs for the Quirkbot (https://www.kickstarter.com/projects/1687812426/quirkbot-make-your-own-robots-with-drinking-straws), a new board we are releasing in August. (I am the lead developer on the project)
Is there a preferred way to do it? Should I just make a pull request with the addition to the
/boards/misc.json
?Thanks!
The text was updated successfully, but these errors were encountered: