Skip to content

Separate AVR core into its own repository #5976

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

Closed
mjbcopland opened this issue Feb 13, 2017 · 10 comments
Closed

Separate AVR core into its own repository #5976

mjbcopland opened this issue Feb 13, 2017 · 10 comments

Comments

@mjbcopland
Copy link

I'd like to be able to fork the AVR core without also getting the IDE, build tools, etc. At the moment this consists of forking the entire Arduino repository and ignoring everything outside of hardware/arduino/avr.

Does the AVR core exist as a standalone repository like the SAM and SAMD cores? If not, could an ArduinoCore-avr repository be created for this purpose? The new repository could be added as a submodule to maintain the current Arduino repository.

@facchinm
Copy link
Member

As soon as we'll process all the PRs related to the AVR core (which are ~30 at the moment) and tag all the relevant issues (a couple of hundreds) we can move the avr core to its own repository. Maybe a great cleanup day could speedup this task a lot 😉 @cmaglie

@NicoHood
Copy link
Contributor

I'd like to also give some feedback about this:
It would be much better if the core files can also be moved into multiple libraries. For example the Serial library could be split into HardwareSerial and USBSerial.

And then there should be an option to NOT include those. This would safe some overhead and you can overwrite libraries such as the hardwareserial with your very own library. So in the end the "core" would be just a few includes of all standard libraries. This way the IDE is way more modular.

@pedzed
Copy link

pedzed commented Apr 15, 2017

As soon as we'll process all the PRs related to the AVR core (which are ~30 at the moment)

100 pull requests later...

Oh hey, it's 129 now.

Personally, I'd just start the repo split process and ask people to resubmit their pull requests to their respective repository. If they are so nice to take the time to submit a PR, this shouldn't be a big deal for them either, I would say.

@NicoHood
Copy link
Contributor

That is true. And the information is not lost as github shows the old diff.

@neu-rah
Copy link

neu-rah commented Apr 23, 2017

issues become more easy to track

@Rantanen
Copy link

This would be extremely useful for projects that strive for Arduino compatibility when it comes to libraries and coding but do not need the IDE.

I'm turning my Raspberry PI Zero W into an embedded development platform, which ideally would be able to compile Arduino-compatible code and upload that to Arduino-compatible boards.

I prefer downloading development dependencies over git instead of compressed packages as that allows better control over versioning and easier/faster updating. Unfortunately, when it comes to Arduino, using this official repository is out of the question thanks to the 1.3 gig size.

I worked around this by splitting and hosting the repository on my own at https://github.com/devberry/avr-core. The final repo size came down to 7.0 MB.

@carlosperate
Copy link
Contributor

Unfortunately, when it comes to Arduino, using this official repository is out of the question thanks to the 1.3 gig size.

You can always use the git --depth flag.

@Rantanen
Copy link

Rantanen commented May 1, 2017

I've never liked using the --depth option for anything but throwaway clones for various reasons. Especially when I'm cloning the repo for someone else through scripts.

It just makes everything behave in an unexpected manner and has surprising performance characteristics if not taken into account everywhere.

I'll stick with my fork workaround for now.

facchinm added a commit that referenced this issue Oct 11, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
@facchinm
Copy link
Member

AVR core has been moved out of tree in 1.9.x beta branch, base repository becomes https://github.com/arduino/ArduinoCore-avr. Now it's time to move the related issues/PRs 🙂

facchinm added a commit that referenced this issue Oct 16, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit to facchinm/Arduino that referenced this issue Oct 18, 2017
Solves arduino#5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
cmaglie pushed a commit that referenced this issue Oct 23, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
cmaglie pushed a commit that referenced this issue Oct 30, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Nov 10, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Nov 15, 2017
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Jan 11, 2018
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit to facchinm/Arduino that referenced this issue Jan 22, 2018
Solves arduino#5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Feb 16, 2018
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Apr 12, 2018
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue Apr 17, 2018
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit to facchinm/Arduino that referenced this issue May 8, 2018
Solves arduino#5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 8, 2018
Solves arduino#5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 9, 2018
Solves arduino#5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
facchinm added a commit that referenced this issue May 9, 2018
Solves #5976; the new core's home is https://github.com/arduino/ArduinoCore-avr

Most of the history has been moved and is accessible, however the first 2 years are too much noisy (and SVN based) to be able to extract anything useful.

Please refer to Arduino main repo if you are doing any informatic archaeology :)
@sandeepmistry
Copy link
Contributor

This has been done :)

https://github.com/arduino/ArduinoCore-avr

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

8 participants