Comments (7)
Do you have any background info on this you can link? I'm confused as to what is included in the "API" and what isn't?
from megatinycore.
After deleting my local version to link it this repository I noticed this error and found the following note in .gitignore:
Adding the folder "avr/cores/arduino/api" to ignore list
this folder point to the repo below, and note not "master" but "api-release-cpp"
https://github.com/arduino/ArduinoCore-api/tree/api-release-cpp
api
See the note and link under the developing section of the following readme file:
https://github.com/arduino/ArduinoCore-megaavr/blob/master/README.md
from megatinycore.
Oh for fucks sake.
I vote we pull the API stuff in so the core stands on it's own, but I think we should get Per's input.
from megatinycore.
LOL, this is what Per said back in February:
Note that Arduino megaAVR Boards uses the new ArduinoCore-API system. All the non-architecture specific core code has been moved to a separate repository, from which it can be shared between all cores. That means less code you need to worry about porting and maintaining. I'd love to see this project be one of the first 3rd party hardware packages to take advantage of it. You should be able to use a subtree for this.
I'm all for maintaining less code and keep it compatible for most devices out there when possible.
from megatinycore.
Some background on the ArduinoCore-API repository:
The idea is to move all the non-architecture specific code of the core library into a separate repository from which it can be shared by all cores (official and 3rd party). This has the following benefits:
- Reduces the work required to create a new core because you only need to consider possible changes to the remaining core library files.
- Makes it easier to keep core libraries updated. You only need to pull in the latest release of the ArduinoCore-API repository before doing a release.
- Makes it less likely for cores to break compatibility with the standard Arduino core API (a perfect example being the mess created by the ESP folks deciding to do their own thing with the Server class, breaking ESP32 compatibility with all the external networking libraries).
I would really like to see the 3rd party core developers get on board with this initiative. So far, I'm only aware of one 3rd party core that is using ArduinoCore-API.
My advice would be to add the ArduinoCore-API content directly to this repository so that people can easily do beta testing by simply downloading the megaTinyCore repo and unzipping it to their hardware
folder. If you want to make it so the updates from ArduinoCore-API can be done purely via Git commands, you can add it as a subtree in the megaavr/cores/arduino/api
folder
from megatinycore.
Had to read that a few times to follow it....
I think we do want to put the API content directly into this repo, and periodically update it - I think it is very valuable to be able to sync the repo straight from github to do a manual install of the github version.
from megatinycore.
I agree, we can always make it dynamic to Per's suggestions when we get to a release.
from megatinycore.
Related Issues (20)
- Unexpected behaviour with timers HOT 4
- Attiny402 Pin Change Interrupt HOT 2
- UPDI init failed on Ubuntu 22.04.3 LTS HOT 1
- Typo in boards.txt HOT 1
- UPDI Iinitialization failed on attiny1604 HOT 4
- analogWrite does not work for ATtiny412 pin PA6 HOT 3
- Reliable SoftwareSerial HOT 6
- Minimal printf() takes up more space than default printf() HOT 1
- drazzy.com ssl cert expired ? HOT 13
- EVSYS gen1 not declared? HOT 2
- MegaTiny core not listed in board manager HOT 3
- Bug Report: Serial.write() Skips Bytes in Transmission HOT 2
- Is missing: Tools -> UART for Bootloader = TX:9 (PB2), RX:8 (PB3) HOT 1
- Problem with editing boards.txt HOT 1
- Upload sketch with SerialUPDI HV Programmer doesn't work HOT 3
- Can't burn bootloader HOT 17
- ADCPowerOptions() ADC_ENABLE and ADC_DISABLE appear to be exchanged HOT 1
- ATtiny3216 SPI master to ESP8266 SPI slave
- Ultrasonic Distance Sensors HOT 12
- ADCPowerOptions() ADC_ENABLE and ADC_DISABLE appear to be exchanged (re-open #1078) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megatinycore.