Skip to content

Commit eb3ce9a

Browse files
committed
Merge branch 'master' into elecrow_esp32_hmi
2 parents baea014 + 02d9048 commit eb3ce9a

File tree

6 files changed

+33
-16
lines changed

6 files changed

+33
-16
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- olimex_esp32-poe-iso
5757
- heltec_esp32-wifi-lora-v2
5858
- wt32-eth01
59+
- esp32-c3-devkitc-02
5960
- elecrow_esp32_hmi
6061
- elecrow_esp32_hmi_dev
6162
- openevse_wifi_tft_v1
@@ -80,21 +81,21 @@ jobs:
8081
submodules: recursive
8182

8283
- name: Cache pip
83-
uses: actions/cache@v3
84+
uses: actions/cache@v4
8485
with:
8586
path: ~/.cache/pip
8687
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
8788
restore-keys: |
8889
${{ runner.os }}-pip-
8990
9091
- name: Cache PlatformIO
91-
uses: actions/cache@v3
92+
uses: actions/cache@v4
9293
with:
9394
path: ~/.platformio
9495
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
9596

9697
- name: Set up Python
97-
uses: actions/setup-python@v4
98+
uses: actions/setup-python@v5
9899
with:
99100
python-version: '3.x'
100101

@@ -125,7 +126,7 @@ jobs:
125126
PLATFORMIO_BUILD_FLAGS: ${{ matrix.gui.build_flags }}
126127

127128
- name: Upload output to GitHub
128-
uses: actions/upload-artifact@v3
129+
uses: actions/upload-artifact@v4
129130
with:
130131
name: ${{ matrix.env }}.bin
131132
path: .pio/build/${{ matrix.env }}/firmware.bin
@@ -138,7 +139,7 @@ jobs:
138139

139140
steps:
140141
- name: Download the built assets
141-
uses: actions/download-artifact@v3
142+
uses: actions/download-artifact@v4
142143
with:
143144
path: artifacts
144145

.github/workflows/divert_sim.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ jobs:
7575
make -j
7676
7777
- name: Upload artifacts
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
8080
name: divert_sim
8181
path: OpenEVSE_WiFi/divert_sim/divert_sim
8282

8383
- name: Set up Python 3.10
84-
uses: actions/setup-python@v4
84+
uses: actions/setup-python@v5
8585
with:
8686
python-version: '3.10'
8787
cache: 'pip' # caching pip dependencies
@@ -96,7 +96,7 @@ jobs:
9696
pytest -v --color=yes --code-highlight yes --junit-xml=output/test_results.xml
9797
9898
- name : Upload test results
99-
uses: actions/upload-artifact@v3
99+
uses: actions/upload-artifact@v4
100100
with:
101101
name: test_results
102102
path: |

.github/workflows/release_validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v4
5353

5454
- name: Set up Python
55-
uses: actions/setup-python@v4
55+
uses: actions/setup-python@v5
5656
with:
5757
python-version: '3.x'
5858

docs/developer-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ It is necessary to download and build the static web assets for the GUI before c
66

77
### Building the GUI static assets
88

9-
The GUI static web assets are minified and compiled into the firmware using a combination of Webpack and a [custom python build script](scripts/extra_script.py).
9+
The GUI static web assets are minified and compiled into the firmware using a combination of Webpack and a [custom python build script](../scripts/extra_script.py).
1010

1111
You will need Node.js and npm installed: <https://nodejs.org/en/download/>
1212

13-
In addition, the GUI is now maintained in a [separate repository](https://nodejs.org/en/download/package-manager/) and is included as a Git submodule.
13+
In addition, the GUI is now maintained in a [separate repository](https://github.com/OpenEVSE/openevse-gui-v2/) and is included as a Git submodule.
1414

1515
If the `gui` directory is empty, use the following to retrieve the GUI source and fetch the dependencies:
1616

@@ -65,7 +65,7 @@ To clean an existing build, `pio run -e your_openevse_board -t`
6565

6666
> To enable OTA updates, first upload via serial using the dev environment. This enables OTA enable build flag
6767
68-
***
68+
---
6969

7070
## Troubleshooting
7171

platformio.ini

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ gfx_display_build_flags =
150150
#platform = https://github.com/platformio/platform-espressif32.git#feature/stage
151151
#platform = https://github.com/platformio/platform-espressif32.git#develop
152152
#platform = [email protected]
153-
platform = espressif32@6.0.1
153+
platform = espressif32@6.4.0
154154
#framework = arduino, espidf
155155
framework = arduino
156156
lib_deps = ${common.lib_deps}
@@ -382,6 +382,22 @@ build_flags =
382382
-D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN
383383
-D ETH_PHY_POWER=16
384384

385+
[env:esp32-c3-devkitc-02]
386+
board = esp32-c3-devkitc-02
387+
lib_deps =
388+
${common.lib_deps}
389+
${common.neopixel_lib}
390+
build_flags =
391+
${common.build_flags}
392+
${common.src_build_flags}
393+
${common.debug_flags}
394+
-D RAPI_PORT=Serial1
395+
-D TX1=6
396+
-D RX1=7
397+
-D NEO_PIXEL_PIN=8
398+
-D NEO_PIXEL_LENGTH=1
399+
-D WIFI_PIXEL_NUMBER=1
400+
385401
[env:elecrow_esp32_hmi]
386402
board = denky32
387403
build_flags =

src/current_shaper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ void CurrentShaperTask::shapeCurrent() {
174174
max_pwr += solar;
175175
}
176176
}
177-
if (livepwr > max_pwr) {
178-
livepwr = max_pwr;
179-
}
177+
// if (livepwr > max_pwr) {
178+
// livepwr = max_pwr;
179+
// }
180180
if(!config_threephase_enabled()) {
181181
_max_cur = ((max_pwr - livepwr) / evse.getVoltage()) + evse.getAmps();
182182
}

0 commit comments

Comments
 (0)