Updated proto and embedded build for nanopb + esp fix

This commit is contained in:
Niklas Jensen
2026-01-02 20:03:11 +01:00
committed by nikguin04
parent c2374bd353
commit f3d3cb1b6f
4 changed files with 34 additions and 9 deletions
+8
View File
@@ -34,6 +34,14 @@ jobs:
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install Python dependencies for nanopb
run: pip install protobuf grpcio-tools
- name: Build Protocol Buffers (nanopb)
run: python ./submodules/nanopb/generator/nanopb_generator.py -I "./platform_shared/" -D esp32/src/platform_shared ./platform_shared/websocket_message.proto ./platform_shared/rest_message.proto
- name: Build PlatformIO Project
run: pio run
+13
View File
@@ -19,6 +19,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install Python dependencies
run: pip install protobuf grpcio-tools
- name: Build Protocol Buffers (nanopb)
run: python ./submodules/nanopb/generator/nanopb_generator.py -I "./platform_shared/" -D esp32/src/platform_shared ./platform_shared/websocket_message.proto ./platform_shared/rest_message.proto
- name: Setup Protocol Buffers compiler
uses: arduino/setup-protoc@v3