Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: PlatformIO CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: pio run -e esp32dev
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: image
path: .pio/build/esp32dev/firmware.bin
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ESP32 Modbus RTU/TCP Gateway

The goal is to create a generic firmware for an ESP32 to be used as a gateway for any modbus RTU device.
A generic firmware for an ESP32 to be used as a gateway for any modbus RTU device.

## State

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.
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.