Skip to content

Commit

Permalink
esp-idf v5.1 support - no pre-defined UART pins - HTTP server page op…
Browse files Browse the repository at this point in the history
…timisation - WIP

UDP clients still need work
  • Loading branch information
seeul8er committed Dec 26, 2023
1 parent 2e9f5b9 commit b0dc1fc
Show file tree
Hide file tree
Showing 114 changed files with 16,041 additions and 1,311 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/esp_idf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,33 @@ on:
branches: [ master ]

jobs:
build_esp32_v4_4:
build_esp32_v5_1:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: ESP-IDF v4.4 build esp32
- name: ESP-IDF v5.1 build esp32
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
esp_idf_version: release-v5.1
target: esp32
- name: ESP-IDF v4.4 build esp32s2
- name: ESP-IDF v5.1 build esp32s2
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
esp_idf_version: release-v5.1
target: esp32s2
command: 'idf.py set-target esp32s2 build'
- name: ESP-IDF v4.4 build esp32s3
- name: ESP-IDF v5.1 build esp32s3
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
esp_idf_version: release-v5.1
target: esp32s3
command: 'idf.py set-target esp32s3 build'
- name: ESP-IDF v5.1 build esp32c3
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.1
target: esp32c3
command: 'idf.py set-target esp32c3 build'
11 changes: 2 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ CMakeListsPrivate.txt
.vscode/launch.json
.clang_complete
.gcc-flags.json
/.idea/
/cmake-build-debug/
/build/

.idea/

build/

cmake-build-debug/
cmake-build-debug-43/
cmake-build-debug-44/
cmake-build-debug*
cmake-build-release*
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ Most options require a restart/reset of ESP32 module
You will need the Espressif SDK: esp-idf + toolchain. Check out their website for more info and on how to set it up.
The code is written in pure C using the esp-idf (no arduino libs).

**This project supports the v4.3 & v4.4 of ESP-IDF**
**This project supports the v5.1.2 of ESP-IDF**

Added mDNS via `idf.py add-dependency "espressif/mdns^1.2.2"`
Compile and flash by running: `idf.py build`, `idf.py flash`

### API
Expand Down Expand Up @@ -191,4 +192,4 @@ http://dronebridge.local/api/settings/change
npm install -g json-server
json-server db.json --routes routes.json
```
Set `const ROOT_URL = "http://localhost:3000/"` inside `frontend/db_settings.js`
Set `const ROOT_URL = "http://localhost:3000/"` inside `index.html` and the `<script>` block
15 changes: 15 additions & 0 deletions dependencies.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
dependencies:
espressif/mdns:
component_hash: 810ec139689ae93bf42520d05de4855fbb68f7140ef67797d91d8d61829589cb
source:
service_url: https://api.components.espressif.com/
type: service
version: 1.2.2
idf:
component_hash: null
source:
type: idf
version: 5.1.2
manifest_hash: d60f2b235810792e08c9dd64d1782b340b5ca37202dd90a5e54b35c2a1870bdc
target: esp32
version: 1.0.0
213 changes: 0 additions & 213 deletions frontend/db_settings.js

This file was deleted.

Loading

0 comments on commit b0dc1fc

Please sign in to comment.