File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ tags :
6+ - " [0-9]+.[0-9]+.[0-9]+*"
7+
8+ jobs :
9+ core-release-from-tag :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v6
15+ with :
16+ submodules : ' recursive'
17+
18+ - name : Get the toolchain
19+ run : |
20+ wget -O /opt/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 https://developer.arm.com/-/media/files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
21+ tar -xjf /opt/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 -C /opt/
22+
23+ - name : Setup build tools
24+ run : |
25+ sudo apt-get install -y git mercurial
26+
27+ - name : Set core version
28+ run : echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
29+
30+ - name : Get repo name
31+ run : echo "REPOSITORY_NAME=$(echo ${{ github.repository }} | cut -d "/" -f2-)" >> $GITHUB_ENV
32+
33+ - name : Build the core
34+ run : |
35+ export PATH=$PATH:/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/
36+ extras/package.sh $TAG_VERSION
37+
38+ - name : Save core packages as artifact
39+ uses : actions/upload-artifact@v7
40+ with :
41+ name : ArduinoCore-renesas-packages
42+ path : ./*.tar.bz2
43+
44+ - name : Save core json as artifact
45+ uses : actions/upload-artifact@v7
46+ with :
47+ name : ArduinoCore-renesas-json
48+ path : ./*.json
Original file line number Diff line number Diff line change 1515 url = https://github.com/bcmi-labs/mbedtls
1616[submodule "extras/net/lwip "]
1717 path = extras/net/lwip
18- url = https://git.savannah.nongnu.org/git /lwip.git
18+ url = https://github.com/lwip-tcpip /lwip.git
1919[submodule "libraries/WiFi/extra/esptool "]
2020 path = libraries/WiFi/extra/esptool
2121 url = https://github.com/espressif/esptool.git
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ VERSION=$1
4+
35if [ ! -f platform.txt ]; then
46 echo Launch this script from the root core folder as ./extras/package.sh
57 exit 2
68fi
79
810if [ ! -d ../ArduinoCore-API ]; then
9- git clone git@ github.com: arduino/ArduinoCore-API.git ../ArduinoCore-API
11+ git clone https:// github.com/ arduino/ArduinoCore-API.git ../ArduinoCore-API
1012fi
1113
12- VERSION=` cat platform.txt | grep " version=" | cut -f2 -d" =" `
1314echo $VERSION
1415
1516# portenta
@@ -22,6 +23,7 @@ FILENAME=ArduinoCore-renesas_$VARIANT-$VERSION.tar.bz2
2223git checkout boards.txt
2324git checkout platform.txt
2425
26+ sed -i " s/9.9.9/$VERSION /g" platform.txt
2527sed -i ' s/nanor4./#nanor4./g' boards.txt
2628sed -i ' s/minima./#minima./g' boards.txt
2729sed -i ' s/unor4wifi./#unor4wifi./g' boards.txt
@@ -57,6 +59,7 @@ FILENAME=ArduinoCore-renesas_$VARIANT-$VERSION.tar.bz2
5759git checkout boards.txt
5860git checkout platform.txt
5961
62+ sed -i " s/9.9.9/$VERSION /g" platform.txt
6063sed -i ' s/portenta_c33./#portenta_c33./g' boards.txt
6164sed -i ' s/muxto./#muxto./g' boards.txt
6265sed -i ' s/opta_/#opta_/g' boards.txt
@@ -83,4 +86,4 @@ sed "s/%%SIZE_UNO%%/${SIZE}/" > package_renesas_${VERSION}_index.json
8386cat package_renesas_${VERSION} _index.json
8487
8588git checkout boards.txt
86- git checkout platform.txt
89+ git checkout platform.txt
Original file line number Diff line number Diff line change 2727 },
2828 {
2929 "name": "Arduino UNO R4 WiFi"
30+ },
31+ {
32+ "name": "Arduino Nano R4"
3033 }
3134 ],
3235 "toolsDependencies": [
Original file line number Diff line number Diff line change 33# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
44
55name=Arduino Renesas fsp Boards
6- version=1.5.3
6+ version=9.9.9
77
88# Compile variables
99# ------------------------
You can’t perform that action at this time.
0 commit comments