I am wondering if anyone here knows where the source code for the Arduino "firmware" is available for reading? I think it must be more than the 'boot loader' but I am not sure.
2 Answers
The “firmware” is whatever program a microcontroller runs. On an Arduino, it is typically the program you write and upload into the microcontroller's flash memory.
If by “firmware” you mean the core library (the source code of
pinMode(), digitalRead() and so on), it is here:
https://github.com/arduino/ArduinoCore-avr
If by “firmware” you mean the bootloader (the small program that runs at reset and will accept the upload of your firmware), is is here:
https://github.com/arduino/ArduinoCore-avr/tree/master/bootloaders/optiboot
Note that this is valid for the AVR-based Arduinos. The cores and bootloaders used in other architectures are stored is separate repositories, e.g.
- 103
- 4
- 44,999
- 4
- 42
- 81
If you are looking for the Flash Firmware, I think the github project documentation is pretty well developed, here:
https://github.com/arduino/Arduino
This is a good introduction to build and flash your Arduino UNO:
http://angryelectron.com/arduino-firmware/
And here a good start to build you own Arduino on a breadboard:
- 428
- 2
- 8