File tree Expand file tree Collapse file tree 5 files changed +50
-2
lines changed Expand file tree Collapse file tree 5 files changed +50
-2
lines changed Original file line number Diff line number Diff line change 2828
2929 - name : Install BSP and Libraries
3030 run : |
31- BSP_URL=`echo https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/package_adafruit_index.json`
31+ # Replace url with localhost
32+ sed -i 's/https:\/\/adafruit.github.io\/arduino-board-index/http:\/\/localhost:8000/g' package_adafruit_index.json
33+ # Run local test server
34+ python3 -m http.server & BSP_URL=`echo http://localhost:8000/package_adafruit_index.json`
3235 echo $BSP_URL
3336 arduino-cli config init
3437 arduino-cli core update-index
File renamed without changes.
Original file line number Diff line number Diff line change 1- # Adafruit Package Lists for the Arduino v1.6.4+ Board Manager [ ![ Build Status] ( https://travis-ci .com/adafruit/arduino-board-index.svg?branch=gh-pages )] ( https://travis-ci .com/adafruit/arduino-board-index )
1+ # Adafruit Package Lists for the Arduino v1.6.4+ Board Manager [ ![ Build Status] ( https://github .com/adafruit/arduino-board-index/workflows/Build/badge .svg )] ( https://github .com/adafruit/arduino-board-index/actions )
22
33This repo contains the custom ` package_*_index.json ` files that can be used to add new
44third party boards to the Arduino v1.6.4+ IDE.
Original file line number Diff line number Diff line change 48164816 "version" : " 9.4.0"
48174817 }
48184818 ]
4819+ },
4820+ {
4821+ "name" : " Adafruit nRF52" ,
4822+ "architecture" : " nrf52" ,
4823+ "version" : " 0.16.0" ,
4824+ "category" : " Adafruit" ,
4825+ "url" : " https://adafruit.github.io/arduino-board-index/boards/adafruit-nrf52-0.16.0.tar.bz2" ,
4826+ "archiveFileName" : " adafruit-nrf52-0.16.0.tar.bz2" ,
4827+ "checksum" : " SHA-256:60ee8d7094d008de751fec393455dfe8c39e17430a05e9f64fa51f1e01c1c09d" ,
4828+ "size" : " 17886832" ,
4829+ "help" : {
4830+ "online" : " https://forums.adafruit.com"
4831+ },
4832+ "boards" : [
4833+ {
4834+ "name" : " Adafruit Feather nRF52832"
4835+ },
4836+ {
4837+ "name" : " Adafruit Feather nRF52840 Express"
4838+ },
4839+ {
4840+ "name" : " Adafruit Circuit Playground Bluefruit"
4841+ },
4842+ {
4843+ "name" : " Adafruit Metro nRF52840 Express"
4844+ },
4845+ {
4846+ "name" : " Adafruit ItsyBitsy nRF52840"
4847+ },
4848+ {
4849+ "name" : " Adafruit CLUE"
4850+ }
4851+ ],
4852+ "toolsDependencies" : [
4853+ {
4854+ "packager" : " arduino" ,
4855+ "name" : " arm-none-eabi-gcc" ,
4856+ "version" : " 7-2017q4"
4857+ },
4858+ {
4859+ "packager" : " adafruit" ,
4860+ "name" : " nrfjprog" ,
4861+ "version" : " 9.4.0"
4862+ }
4863+ ]
48194864 }
48204865 ]
48214866 },
You can’t perform that action at this time.
0 commit comments