Code Monkey home page Code Monkey logo

arduinoboardmanager's People

Contributors

backupbrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arduinoboardmanager's Issues

Problem with arduino due

First at all thanks for your contribution to the community.
Well, it seams to me that you made a wrong copy and past in this line. But even writing the correct cpu value I still having a problem detecting my arduino due. Fortunally, I fixed it changing this -> __AVR_ATSAMD21G18A__ for this -> __SAM3X8E__

static const uint16_t CPU = __AVR_ATSAMD21G18A__;

Not working on Teensy

Hi,

I tried this library on a Teensy 3.2 board, it doesn't seem to be working properly, I get the following output:

Board used: Unknown
SDK Version is: 10611
This Unknown is an 0-bit, 96Mhz processor with 0k of SRAM and 0k of flash.

... the code which generates the above is listed here.

unsigned long M = 1000000;
unsigned int k = 1000;

Serial.begin(9600);

while(!Serial); // on Leonardo/Micro, wait for serial

// The Arduino board name
Serial.print("Board used: ");
Serial.println(arduino.BOARD_NAME);
// the Arduino SDK version
Serial.print("SDK Version is: ");
Serial.println(ArduinoBoardManager::SDK_VERSION);
// The processor features (RAM, speed, etc)
Serial.print("This "); Serial.print(arduino.BOARD_NAME);
Serial.print(" is an "); Serial.print(ArduinoBoardManager::NUM_BITS);
Serial.print("-bit, "); Serial.print(ArduinoBoardManager::MAX_MHZ/M);
Serial.print("Mhz processor with "); Serial.print(ArduinoBoardManager::SRAM_SIZE/k);
Serial.print("k of SRAM and "); Serial.print(ArduinoBoardManager::FLASH_SIZE/k);
Serial.println("k of flash.");
Serial.println();

Library doesn't compile on Mega board

Hi,

thanks for sharing the library. However, I get error trying to compile the example.

Arduino: 1.6.12 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from /[...]/ArduinoBoardManager.h:140:31: error: '__AVR_ATmega1280__' was not declared in this scope
   static const uint16_t CPU = __AVR_ATmega1280__;
                               ^exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

I get the error with my Arduino Mega 2560 as well as Controllino (which is based on Arduino Mega). Any thoughts?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.