Skip to content
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

Mixing boards #153

Open
galou opened this issue Oct 7, 2015 · 0 comments
Open

Mixing boards #153

galou opened this issue Oct 7, 2015 · 0 comments

Comments

@galou
Copy link

galou commented Oct 7, 2015

I try to compile firmwares for different boards in the same CMakeLists.txt. Here is an excerpt of it:

register_hardware_platform(/home/gael/sketchbook/hardware/arbotix)
set(ARDUINO_DEFAULT_BOARD arbotix)
generate_arduino_firmware(commander
  SKETCH commander
  BOARD atmega328
  )

The compilation (make commander) fails with the following error:

/home/gael/sketchbook/hardware/arbotix/variants/standard/pins_arduino.h:105:14: error: ‘DDRA’ undeclared here

What disturbs me, is that the included pins_arduino.h is taken from the arbotix hardware, not the arduino one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant