forked from meshtastic/firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
415 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: "Update protobufs and regenerate classes" | ||
on: workflow_dispatch | ||
name: Update protobufs and regenerate classes | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- protobufs/** | ||
|
||
jobs: | ||
update-protobufs: | ||
|
@@ -11,10 +16,6 @@ jobs: | |
with: | ||
submodules: true | ||
|
||
- name: Update submodule | ||
run: | | ||
git submodule update --remote protobufs | ||
- name: Download nanopb | ||
run: | | ||
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8-linux-x86.tar.gz | ||
|
@@ -25,10 +26,11 @@ jobs: | |
run: | | ||
./bin/regen-protos.sh | ||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v7 | ||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
title: Update protobufs and classes | ||
add-paths: | | ||
protobufs | ||
src/mesh | ||
add: src/mesh | ||
author_name: CI Bot | ||
author_email: [email protected] | ||
default_author: github_actor | ||
message: Update classes from protobufs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ custom_esp32_kind = esp32 | |
platform = platformio/[email protected] | ||
|
||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<mesh/eth/> -<mesh/raspihttp> | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp> | ||
|
||
upload_speed = 921600 | ||
debug_init_break = tbreak setup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
; Common settings for rp2040 Processor based targets | ||
[rp2350_base] | ||
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#9e55f6db5c56b9867c69fe473f388beea4546672 | ||
extends = arduino_base | ||
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#a6ab6e1f95bc1428d667d55ea7173c0744acc03c ; 4.0.2+ | ||
|
||
board_build.core = earlephilhower | ||
board_build.filesystem_size = 0.5m | ||
build_flags = | ||
${arduino_base.build_flags} -Wno-unused-variable | ||
-Isrc/platform/rp2xx0 | ||
-D__PLAT_RP2040__ | ||
# -D _POSIX_THREADS | ||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<modules/esp32> -<platform/nrf52/> -<platform/stm32wl> -<mesh/eth/> -<mesh/wifi/> -<mesh/http/> -<mesh/raspihttp> | ||
|
||
lib_ignore = | ||
BluetoothOTA | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} | ||
${environmental_base.lib_deps} | ||
rweather/Crypto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.