Giter Site home page Giter Site logo

xukangmin / tinycore Goto Github PK

View Code? Open in Web Editor NEW
37.0 6.0 9.0 2.53 MB

TinyCore boards / attiny 1 series Core, Arduino IDE Core, targets ATtiny 417 / 814 / 816 / 817 / 1614 / 1616 / 1617 / 3217 and similar MCUs

Home Page: https://tinycore.dev

License: MIT License

C 92.15% C++ 7.66% Assembly 0.19%
avrdude arduino firmware attiny1616 attiny3217 mcu atmel-avr attiny814 attiny816 attiny817

tinycore's People

Contributors

xukangmin 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinycore's Issues

Compile error: conflicting declaration 'typedef enum _BitOrder BitOrder'

I'm getting a compile time error for the TinyCore 32 board.

Error:

Adafruit_SPIDevice.h:18:3: error: conflicting declaration 'typedef enum _BitOrder BitOrder'
Common.h:27:3: note: previous declaration as 'typedef enum BitOrder BitOrder'

Full error message:

/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:18:3: error: conflicting declaration 'typedef enum _BitOrder BitOrder'
 } BitOrder;
   ^~~~~~~~

/home/<username>/.arduino15/packages/TinyCore/hardware/avr/0.0.6/cores/tiny/api/Common.h:27:3: note: previous declaration as 'typedef enum BitOrder BitOrder'
 } BitOrder;
   ^~~~~~~~

The next error message appears to be a result of the above error messages:

/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:62:43: error: could not convert 'SPI_BITORDER_MSBFIRST' from '_BitOrder' to 'BitOrder'
                      BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
                                           ^~~~~~~~~~~~~~~~~~~~~

My project use's Adafruit's INA260 library.

Traceback:

/home/<username>/the_project/the_project.ino
    Line 15: #include <Adafruit_INA260.h>

/home/<username>/Arduino/libraries/Adafruit_INA260_Library/Adafruit_INA260.h
    Line 22: #include <Adafruit_I2CRegister.h>

/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_I2CRegister.h
    Line 1: #include "Adafruit_BusIO_Register.h"

/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.h
    Line 2: #include <Adafruit_SPIDevice.h>

/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h
    Line 15: typedef enum _BitOrder {
    Line 16:   SPI_BITORDER_MSBFIRST = MSBFIRST,
    Line 17:   SPI_BITORDER_LSBFIRST = LSBFIRST,
    Line 18: } BitOrder;

Version info:
Arduino IDE: v1.8.13 (on Linux)
TinyCore Boards: v0.0.6 (by Kangmin)
Adafruit INA260 Library: v1.3.5 (by Adafruit)

The LED blinking code from https://tinycore.dev/ compiles successfully.

Where are CAD files?

The board isn't available anywhere, so I thought just ordering some from a manufacturer.
But there are no CADs available!

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.