Skip to content

Commit

Permalink
Autogen binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
hecko authored and Marcel Hecko committed Dec 23, 2022
1 parent 55d1e6b commit 8ed018f
Show file tree
Hide file tree
Showing 470 changed files with 123,920 additions and 51 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/makeall_microchip_3_6_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "All Arduino Microchip 3.6.2"
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *' # Daily at 5:00 UTC

jobs:
build-latest:
runs-on: ubuntu-latest
container:
image: debian:11
steps:
- name: Install Microchip version of GCC toolchain
run: |
apt-get update
apt-get install -y unzip wget git make
mkdir -p /opt/atpack
cd /opt
wget https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/SoftwareLibraries/Firmware/avr8-gnu-toolchain-3.6.2.1778-linux.any.x86_64.tar.gz
tar xzfv avr8-gnu-toolchain-3.6.2.1778-linux.any.x86_64.tar.gz
cd /opt/atpack
wget http://packs.download.atmel.com/Atmel.ATmega_DFP.2.0.401.atpack
unzip Atmel.ATmega_DFP.2.0.401.atpack
- name: Checkout the repository
uses: actions/checkout@v3
- name: Make the target
run: |
cd optiboot/bootloaders/optiboot
export PATH="/opt/avr8-gnu-toolchain-linux_x86_64/bin/:$PATH"
chmod +x ./makeall.everycpu.sh
./makeall.everycpu.sh
mkdir -p out/microchip_3_6_2
mv *.hex *.lst *.elf out/microchip_3_6_2
- name: Commit the artifacts
run: |
pwd
cd optiboot/bootloaders/optiboot/out/microchip_3_6_2
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@github.com"
git add ./ -A
git commit -m "Comit generated files"
git push
41 changes: 41 additions & 0 deletions .github/workflows/makeall_microchip_3_7_0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "All Arduino Microchip 3.7.0"
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *' # Daily at 5:00 UTC

jobs:
build-latest:
runs-on: ubuntu-latest
container:
image: debian:11
steps:
- name: Install Microchip version of GCC toolchain
run: |
apt-get update
apt-get install -y unzip wget git make
mkdir -p /opt/atpack
cd /opt
wget https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/avr8-gnu-toolchain-3.7.0.1796-linux.any.x86_64.tar.gz
tar xzfv avr8-gnu-toolchain-3.7.0.1796-linux.any.x86_64.tar.gz
cd /opt/atpack
wget http://packs.download.atmel.com/Atmel.ATmega_DFP.2.0.401.atpack
unzip Atmel.ATmega_DFP.2.0.401.atpack
- name: Checkout the repository
uses: actions/checkout@v3
- name: Make the target
run: |
cd optiboot/bootloaders/optiboot
export PATH="/opt/avr8-gnu-toolchain-linux_x86_64/bin/:$PATH"
chmod +x ./makeall.everycpu.sh
./makeall.everycpu.sh
mkdir -p out/microchip_3_7_0
mv *.hex *.lst *.elf out/microchip_3_7_0
- name: Commit the artifacts
run: |
cd optiboot/bootloaders/optiboot/out/microchip_3_7_0
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@github.com"
git add ./ -A
git commit -m "Comit generated files"
git push
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
/optiboot/hexfiles/* # exclude additional hexfiles
!/optiboot/hexfiles/legacy/* # include a few legacy hexfiles

# Ignore IDE files
.vscode
2 changes: 1 addition & 1 deletion optiboot/bootloaders/optiboot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ CC = $(GCCROOT)avr-gcc
HELPTEXT += "Option AVR_FREQ=<n> - Clock rate of AVR CPU\n"


override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) -DF_CPU=$(AVR_FREQ) $(DEFS)
override CFLAGS = -B /opt/atpack/gcc/dev/atmega328pb/ -B /opt/atpack/gcc/dev/atmega324pb/ -I /opt/atpack/include/ -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) -DF_CPU=$(AVR_FREQ) $(DEFS)
override LDFLAGS = $(LDSECTIONS) -Wl,--relax -nostartfiles

OBJCOPY = $(GCCROOT)avr-objcopy
Expand Down
4 changes: 4 additions & 0 deletions optiboot/bootloaders/optiboot/makeall.arduino.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash

set -e
set -x

make clean
#
# buildable platforms of somewhat questionable support level
Expand Down
6 changes: 4 additions & 2 deletions optiboot/bootloaders/optiboot/makeall.everycpu.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#
#!/bin/bash
# Makefile to make one image for each chip that optiboot supports.
# includes Arduino, Spence Konde ATtinyCore, Hans MCUDude cores, and
# some others.
# this is mainly used to sanity check modifications, especially those
# that are expected to cause "no binary changes" (you can diff the
# resulting .hex file with a reference implementation.)
#

set -e
set -x

make clean

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
:020000021000EC
:10FC000001C01EC1112484B7882369F0982F9A700F
:10FC1000923049F081FF02C097EF94BF282E80E018
:10FC2000FAD00C94000085E08093810082E08093FC
:10FC3000C80088E18093C90086E08093CA0080E113
:10FC40008093CC008EE0E7D03E9A84E020E33CEF46
:10FC500091E0309385002093840096BBB09BFECF4B
:10FC6000369AA8954091C80047FD02C0815089F797
:10FC7000FF24F39455E0E52E61E1D62EC0D0813407
:10FC800051F4BDD0C82FCDD0C13811F083E001C0F0
:10FC900088E0AED0AAC0823411F484E103C0853478
:10FCA00019F485E0C6D0A1C0853579F4A8D0082F15
:10FCB000A6D0182F87FF03C08BB7816002C08BB717
:10FCC0008E7F8BBF000F111F8FC0863581F497D0B8
:10FCD0008D3449F494D0CBB792D0C170880FC82B23
:10FCE000CBBF81E001C083E0A4D080E0D2CF8436D6
:10FCF00009F048C084D0C82FD0E0DC2FCC277FD0BB
:10FD0000C82B7DD0C82E5E01812C9924939477D086
:10FD1000F40181934F01F1E0AF1AB108C1F781D02E
:10FD200085E4C81212C0D3954801A12CBB24B3941A
:10FD3000AC16BD0609F459C0F50161915F01C4011B
:10FD400097D0FFEF8F1A9F0AF3CF83E0F80187BFA8
:10FD5000E89507B600FCFDCFA0E0B1E0F8018D9179
:10FD60009D910C01F7BEE8951124229732962097B9
:10FD7000B1F7F801E7BEE89507B600FCFDCFD7BEA6
:10FD8000E89533C0843719F53AD0C82FD0E0DC2F7E
:10FD9000CC2735D05E01A82A32D0982E42D0E80177
:10FDA000F5E49F120BC0CE015BD022D081E0A81AEF
:10FDB000B1082196A114B104B1F717C0FE018791D3
:10FDC000EF0116D0E1E0AE1AB108C1F70EC08537D9
:10FDD00039F427D08EE10CD087E90AD082E859CFD8
:10FDE000813511F488E017D01CD080E101D046CFD6
:10FDF0009091C80095FFFCCF8093CE00089580912C
:10FE0000C80087FFFCCF8091C80084FD01C0A89581
:10FE10008091CE000895E0E6F0E098E19083808341
:10FE20000895EDDF803219F088E0F5DFFFCF84E13F
:10FE3000DFCFCF93C82FE3DFC150E9F7CF91F1CFE8
:10FE4000FC010A0167BFE895112407B600FCFDCF4D
:10FE5000667029F0452B19F481E187BFE895089574
:10FE6000F999FECF92BD81BDF89A992780B5089582
:10FE7000262FF999FECF1FBA92BD81BD20BD0FB6C6
:10FE8000F894FA9AF99A0FBE01960895FF56657292
:10FE900073696F6E3D382E33004465766963653D46
:10FEA000617439307573623132383600465F4350C1
:10FEB000553D31363030303030304C0042494742C9
:10FEC0004F4F543D31004275696C743A446563206C
:10FED000323320323032323A31343A35373A3333F2
:10FEE00000554152543D3100424155445F52415406
:10FEF000453D313135323030004C45443D433600CC
:10FF00004C45445F53544152545F464C415348451D
:04FF1000533D32002B
:02FFFE000308F6
:040000031000FC00ED
:00000001FF
Loading

0 comments on commit 8ed018f

Please sign in to comment.