-
Notifications
You must be signed in to change notification settings - Fork 2
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
Arduino firmwares #3
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some typos. Maybe the arduino-mega built by RIOT could be moved to the arduino part (with zigduino) ?
I would also add a top level makefile that calls the ones in each OS support.
README.md
Outdated
|
||
Depending to the hardware operating software support, firmwares are currently | ||
based on two OS : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OSes
arduino/README.md
Outdated
zigduino_autotest.elf zigduino_idle.elf | ||
``` | ||
|
||
2. Copy the firmware in the **iotlab-gateway** repositoty. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repository
riot/README.md
Outdated
fox_autotest.elf m3_idle.elf samr21_autotest.elf | ||
``` | ||
|
||
2. Copy the firmware in the **iotlab-gateway** repositoty. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repository
I wanted also have the discussion about a top level makefile. I was not sure how you want to manage the build process by the CI. Ok I will add that no pb. Regarding to the Arduino Mega, why not. At the early beginning I have based my Zigduino firmware on the mega2560 one :-) See this repo https://github.com/iot-lab/opennode_Arduino |
@schrein I have made some additions in my fork, https://github.com/rienafairefr/ci-firmwares/tree/arduino_firmwares, get it if you want, common makefile for the two OSes, and a global makefile, seems to work ^^ |
Thanks Matthieu, it’s ok for the meta makefile but I need local preferences per Arduino board, e.g. inside arduino/firmwares/zigduino_autotest/Makefile
BOARDS_TXT = $(ARDUINOBASE)/arduino-zigduino-package/src/zigduino-avr_1.0.0/boards.txt
ARDUINO_VAR_PATH = $(ARDUINOBASE)/arduino-zigduino-package/src/zigduino-avr_1.0.0/variants
ARDUINO_CORE_PATH = $(ARDUINOBASE)/arduino-zigduino-package/src/zigduino-avr_1.0.0/cores/zigduino
If you compile for another arduino board it will failed. That’s why i used a firmware directory per board with local Makefile.
Maybe you should try the Alexandre Abadie suggestion to put another board like the mega2560 or even better another arduino like board not installed by the default arduino environment in order to fix this board specific compilation problem ?
… Le 22 mars 2018 à 14:28, Matthieu Berthomé ***@***.***> a écrit :
@schrein <https://github.com/schrein> I have made some additions in my fork, https://github.com/rienafairefr/ci-firmwares/tree/arduino_firmwares <https://github.com/rienafairefr/ci-firmwares/tree/arduino_firmwares>, get it if you want, common makefile for the two OSes, and a global makefile, seems to work ^^
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAg9kb94a-g1nT4sy4QW-Y-mEz7qwvmSks5tg6bzgaJpZM4S0X1n>.
|
Yea, I saw the local zigduino-only preferences. I figured adding a new board inside that framework would be done separately from this PR. What I coded builds fine for zigduino, and fails for others, I know :-) I've hacked something using the ALTERNATE_CORE_PATH system for the arduino makefile, I could compile the zigduino (using the zigduino-package hierarchy), and also an atmega2560, using the same makefile. It's really hackish though |
This PR add support for compiling IoT-LAB CI firmwares based on Arduino operating system. I propose to split the repo with one subdirectory per OS.