Anyone loaded the base firmware yet?
  • 0
  • FWIW, we had the same issue compiling both on Windows and OS X, with the 1.6 Arduino IDE. We couldn't get the base firmware to compile unless we copied those pin definitions into the main Arduino code.

  • 0
  • I haven't encountered ANY problem compiling under the Arduino 1.6 IDE on Mac OS X 10.10 (Yosemite)
    Are you sure that you are using 1.6 and not 1.0.6? Did you restart the IDE after installing the hardware files?

  • 0
  • @Phil,

    Clearly, from the output that you posted above, you are using the older version of the IDE. Upgrade to the latest version and I think that you will have better results.

  • 0
  • Thanks Wacky, I guess I screwed up with my decimals! 1.0.6 != 1.6

  • 0
  • I'm getting same errors as @Phil‌ on my Arduino IDE v1.6.0. I'm on Windows 8.1 x64

  • 0
  • Figured out what caused my error. Solved creating a "hardware" subfolder in my Arduino sketchbook folder and putting CANBus-Triple folder into it. Then in the Arduino IDE I selected "CANBus Triple" from "Tools" -> "Board".
    Previously I had selected "Arduino Leonardo" as board, and "CANBus Triple" was not in the list.

    Now I've proposed a pull request to update http://docs.canb.us/firmware/main.html document, to reflect correct procedure described in https://canb.us/getting-started.

  • 0
  • Hi Folks,
    I finally get a Done Compiling message in Arduino IDE.
    Sorry bothering you.

  • 0
  • This is still a issue; got mine today and having a little trouble.

    <blockquote>Arduino: 1.6.3 (Mac OS X), Board: "Arduino Leonardo"

    CANBusTriple.ino:24:16: error: 'CAN1SELECT' was not declared in this scope
    CANBusTriple.ino:24:28: error: 'CAN1RESET' was not declared in this scope
    CANBusTriple.ino:25:16: error: 'CAN2SELECT' was not declared in this scope
    CANBusTriple.ino:25:28: error: 'CAN2RESET' was not declared in this scope
    CANBusTriple.ino:26:16: error: 'CAN3SELECT' was not declared in this scope
    CANBusTriple.ino:26:28: error: 'CAN3RESET' was not declared in this scope
    In file included from CANBusTriple.ino:29:0:
    Settings.h: In static member function 'static void Settings::firstbootSetup()':
    Settings.h:203:19: error: 'BOOT_LED' was not declared in this scope
    digitalWrite( BOOT_LED, HIGH );
    ^
    In file included from CANBusTriple.ino:30:0:
    AutoBaud.h: In static member function 'static int AutoBaud::baudDetect(byte, Stream*)':
    AutoBaud.h:24:12: error: 'CAN1INT_D' was not declared in this scope
    io = CAN1INT_D;
    ^
    AutoBaud.h:27:12: error: 'CAN2INT_D' was not declared in this scope
    io = CAN2INT_D;
    ^
    AutoBaud.h:30:12: error: 'CAN3INT_D' was not declared in this scope
    io = CAN3INT_D;
    ^
    In file included from CANBusTriple.ino:31:0:
    SerialCommand.h: In member function 'void SerialCommand::bluetooth()':
    SerialCommand.h:445:20: error: 'BOOT_LED' was not declared in this scope
    digitalWrite(BOOT_LED, HIGH);
    ^
    In file included from CANBusTriple.ino:34:0:
    Naptime.h: In member function 'virtual void Naptime::tick()':
    Naptime.h:65:19: error: 'BT_SLEEP' was not declared in this scope
    digitalWrite( BT_SLEEP, LOW );
    ^
    Naptime.h:80:19: error: 'BOOT_LED' was not declared in this scope
    analogWrite(BOOT_LED, fade);
    ^
    Naptime.h:169:19: error: 'BOOT_LED' was not declared in this scope
    digitalWrite( BOOT_LED, LOW );
    ^
    CANBusTriple.ino: In function 'void setup()':
    CANBusTriple.ino:83:12: error: 'BT_SLEEP' was not declared in this scope
    CANBusTriple.ino:90:12: error: 'BOOT_LED' was not declared in this scope
    CANBusTriple.ino:93:12: error: 'CAN1INT_D' was not declared in this scope
    CANBusTriple.ino:94:12: error: 'CAN2INT_D' was not declared in this scope
    CANBusTriple.ino:95:12: error: 'CAN3INT_D' was not declared in this scope
    CANBusTriple.ino:96:12: error: 'CAN1RESET' was not declared in this scope
    CANBusTriple.ino:97:12: error: 'CAN2RESET' was not declared in this scope
    CANBusTriple.ino:98:12: error: 'CAN3RESET' was not declared in this scope
    CANBusTriple.ino:99:12: error: 'CAN1SELECT' was not declared in this scope
    CANBusTriple.ino:100:12: error: 'CAN2SELECT' was not declared in this scope
    CANBusTriple.ino:101:12: error: 'CAN3SELECT' was not declared in this scope
    CANBusTriple.ino: In function 'void loop()':
    CANBusTriple.ino:170:19: error: 'CAN1INT_D' was not declared in this scope
    CANBusTriple.ino:171:19: error: 'CAN2INT_D' was not declared in this scope
    CANBusTriple.ino:172:19: error: 'CAN3INT_D' was not declared in this scope
    CANBusTriple.ino: In function 'boolean sendMessage(Message, CANBus)':
    CANBusTriple.ino:210:17: error: 'BOOT_LED' was not declared in this scope
    Error compiling.

    This report would have more information with
    "Show verbose output during compilation"
    enabled in File > Preferences.
    </blockquote>

  • 16
    Posts
  • 4350
    Views
  • Log in to reply