File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1+ name : PlatformIO CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Cache pip
13+ uses : actions/cache@v2
14+ with :
15+ path : ~/.cache/pip
16+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
17+ restore-keys : |
18+ ${{ runner.os }}-pip-
19+ - name : Cache PlatformIO
20+ uses : actions/cache@v2
21+ with :
22+ path : ~/.platformio
23+ key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
24+ - name : Set up Python
25+ uses : actions/setup-python@v2
26+ - name : Install PlatformIO
27+ run : |
28+ python -m pip install --upgrade pip
29+ pip install --upgrade platformio
30+ - name : Run PlatformIO
31+ run : pio run -e esp32dev
32+ - name : Upload artifacts
33+ uses : actions/upload-artifact@v3
34+ with :
35+ name : image
36+ path : .pio/build/esp32dev/firmware.bin
Original file line number Diff line number Diff line change 11# ESP32 Modbus RTU/TCP Gateway
22
3- The goal is to create a generic firmware for an ESP32 to be used as a gateway for any modbus RTU device.
3+ A generic firmware for an ESP32 to be used as a gateway for any modbus RTU device.
44
55## State
66
7- Some things are already working , but it 's far from finished . If you have an idea please open an issue - if you can improve anything just create a PR.
7+ It work's for me , but there 's plenty of room for improvement . If you have an idea please open an issue - if you can improve anything just create a PR.
You can’t perform that action at this time.
0 commit comments