mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
Checkout submodules for CI build
This commit is contained in:
parent
7e53731fe6
commit
6954d0d5f4
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -9,6 +9,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
- name: Checkout submodules
|
||||||
|
uses: textbook/git-checkout-submodule-action@master
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@master
|
uses: actions/setup-python@master
|
||||||
with:
|
with:
|
||||||
@ -18,4 +20,4 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -U platformio
|
pip install -U platformio
|
||||||
- name: Build
|
- name: Build
|
||||||
run: platformio run -e tbeam -e nrf52dk
|
run: platformio run -e tbeam -e nrf52840dk
|
||||||
|
@ -10,14 +10,6 @@ nrf52840 256KB RAM, 1MB flash
|
|||||||
|
|
||||||
Manual hacks needed to build (for now):
|
Manual hacks needed to build (for now):
|
||||||
|
|
||||||
platform.json
|
|
||||||
|
|
||||||
"framework-arduinoadafruitnrf52": {
|
|
||||||
"type": "framework",
|
|
||||||
"optional": true,
|
|
||||||
"version": "https://github.com/meshtastic/Adafruit_nRF52_Arduino.git"
|
|
||||||
},
|
|
||||||
|
|
||||||
kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/* .
|
kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/* .
|
||||||
|
|
||||||
## Initial work items
|
## Initial work items
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = nrf52dk ; Note: the github actions CI test build can't yet build NRF52 targets
|
default_envs = nrf52840dk ; Note: the github actions CI test build can't yet build NRF52 targets
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
; common is not currently used
|
; common is not currently used
|
||||||
@ -169,12 +169,12 @@ debug_init_break =
|
|||||||
|
|
||||||
; The NRF52840-dk development board
|
; The NRF52840-dk development board
|
||||||
; Note: By default no lora device is created for this build - it uses a simulated interface
|
; Note: By default no lora device is created for this build - it uses a simulated interface
|
||||||
[env:nrf52dk]
|
[env:nrf52840dk]
|
||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = nrf52840_dk
|
board = nrf52840_dk
|
||||||
|
|
||||||
; The NRF52840-dk development board, but @geeksville's board - which has a busted oscilliator
|
; The NRF52840-dk development board, but @geeksville's board - which has a busted oscilliator
|
||||||
[env:nrf52dk-geeksville]
|
[env:nrf52840dk-geeksville]
|
||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = nrf52840_dk_modified
|
board = nrf52840_dk_modified
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user