Skip to content

Commit d1b6864

Browse files
committed
More accurate build names
Fixes #662
1 parent 84b6794 commit d1b6864

File tree

9 files changed

+56
-56
lines changed

9 files changed

+56
-56
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
env:
44-
- openevse_nodemcu-32s
45-
- openevse_esp-wrover-kit
46-
- openevse_esp-wrover-kit_latest
47-
- openevse_huzzah32_dev
48-
- openevse_huzzah32
49-
- openevse_featheresp32
44+
- nodemcu-32s
45+
- espressif_esp-wrover-kit
46+
- espressif_esp-wrover-kit_latest
47+
- adafruit_huzzah32_dev
48+
- adafruit_huzzah32
49+
- adafruit_featheresp32
5050
- openevse_wifi_v1
51-
- openevse_esp32-gateway-old
52-
- openevse_esp32-gateway-e
53-
- openevse_esp32-gateway-f
54-
- openevse_esp32-gateway-e_dev
55-
- openevse_esp32-gateway-f_dev
56-
- openevse_esp32-poe-iso
57-
- openevse_esp32-heltec-wifi-lora-v2
51+
- olimex_esp32-gateway-old
52+
- olimex_esp32-gateway-e
53+
- olimex_esp32-gateway-f
54+
- olimex_esp32-gateway-e_dev
55+
- olimex_esp32-gateway-f_dev
56+
- olimex_esp32-poe-iso
57+
- heltec_esp32-wifi-lora-v2
5858
gui:
5959
- name: gui-v2
6060
repo: OpenEVSE/openevse-gui-v2

docs/developer-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pio run -t upload
5656
If you are using a different development board, you can specify one of the envs setup in `platformio.ini`, for example:
5757

5858
```bash
59-
pio run -e openevse_huzzah32_idf -t upload
59+
pio run -e adafruit_huzzah32 -t upload
6060
```
6161

6262
Build artifacts will be in `.pio/build/your_openevse_env`

docs/process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ For releases and PR approval the builds are built using the [Build/Release OpenE
2626
1. Click `Publish release`
2727
1. The GitHub build workflow will generate the binaries and upload them to the release
2828
1. Remove any unwanted binaries, need at least:
29-
- `openevse_esp32-gateway-e.bin`
30-
- `openevse_huzzah32.bin`
29+
- `olimex_esp32-gateway-e.bin`
30+
- `adafruit_huzzah32.bin`
3131
- `openevse_wifi_v1.bin`
32-
- `openevse_esp-wrover-kit`
33-
- `openevse_nodemcu-32s`
32+
- `espressif_esp-wrover-kit`
33+
- `nodemcu-32s`
3434
1. Test the uploaded binaries
3535
1. Unselect the `Pre-release` checkbox
3636
1. Click `Update release`

docs/wired-ethernet.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ ESP32-gateway can be connected by micro USB and firmware can be uploaded using e
4646
First upload:
4747

4848
```bash
49-
esptool.py --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 openevse_esp32-gateway-e.bin
49+
esptool.py --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 olimex_esp32-gateway-e.bin
5050
```
5151

5252
Subsequent upgrades:
5353

5454
```bash
55-
esptool.py --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 openevse_esp32-gateway-e.bin
55+
esptool.py --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 olimex_esp32-gateway-e.bin
5656
```
5757

5858
*Note: On Ubuntu 22.04 if you notice the ESP gateway is continually disconnect from the USB serail port,check this using `dmesg` then`sudo apt remove brltty` will fix this. This is because there is an ebook reader which shares the same serial adaptor chip as the ESP gateway and the udev rules conflict.*
@@ -65,28 +65,28 @@ For Ubuntu 22.04 the simplest solution is to remove the package brltty via sudo
6565
First upload:
6666

6767
```bash
68-
esptool.py --before default_reset --after hard_reset write_flash 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 openevse_esp32-gateway-f.bin
68+
esptool.py --before default_reset --after hard_reset write_flash 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 olimex_esp32-gateway-f.bin
6969
```
7070

7171
Subsequent upgrades:
7272

7373
```bash
74-
esptool.py --before default_reset --after hard_reset write_flash 0x10000 openevse_esp32-gateway-f.bin`
74+
esptool.py --before default_reset --after hard_reset write_flash 0x10000 olimex_esp32-gateway-f.bin`
7575
```
7676

7777
## Compile and Upload
7878

7979
| Board | Environment |
8080
| :------------------------ | :----------------------- |
81-
| ESP32-GATEWAY pre-E | openevse_esp32-gateway |
82-
| ESP32-GATEWAY E and later | openevse_esp32-gateway-e |
83-
| ESP32-PoE-ISO | openevse_esp32-poe-iso |
81+
| ESP32-GATEWAY pre-E | olimex_esp32-gateway |
82+
| ESP32-GATEWAY E and later | olimex_esp32-gateway-e |
83+
| ESP32-PoE-ISO | olimex_esp32-poe-iso |
8484

8585

8686
Firmware can be compiled using PlatformIO `pio run -e <Environment>`. The `-t upload` option installs firmware over USB.
8787

8888
```bash
89-
pio run -e openevse_esp32-gateway-e -t upload
89+
pio run -e olimex_esp32-gateway-e -t upload
9090
```
9191

9292
## Operation

models/Config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ x-examples:
66
protocol: '-'
77
espflash: 4194304
88
espinfo: ESP32r1 2 core WiFi BLE BT
9-
buildenv: openevse_esp-wrover-kit
9+
buildenv: espressif_esp-wrover-kit
1010
version: 4.1.0.dev
1111
diode_check: true
1212
gfci_check: true
@@ -329,7 +329,7 @@ properties:
329329
default: 600
330330
description: |
331331
The maximum number of seconds to randomly add/subtract from the a scheduled charge start time, eg a value of 600 will adjust the start time my +/- 10 minutes. This is to help prevent large syncrinised loads when multiple verchiles start charging at the same time.
332-
is_threephase:
332+
is_threephase:
333333
type: boolean
334334
description: |
335335
Needs to be enabled if charging with 3 phases setup for proper calculations

platformio.ini

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ lib_deps =
4141
4242
4343
lib_ignore = WebSockets ; ArduinoOcpp: don't compile built-in WS library
44-
extra_scripts =
44+
extra_scripts =
4545
pre:scripts/auto_fw_version.py
4646
scripts/extra_script.py
4747
debug_flags =
@@ -129,7 +129,7 @@ monitor_speed = 115200
129129
monitor_filters =
130130
esp32_exception_decoder
131131

132-
[env:openevse_nodemcu-32s]
132+
[env:nodemcu-32s]
133133
board = nodemcu-32s
134134
build_flags =
135135
${common.build_flags}
@@ -139,7 +139,7 @@ build_flags =
139139
-D WIFI_LED_ON_STATE=LOW
140140
-D RAPI_PORT=Serial2
141141

142-
[env:openevse_esp-wrover-kit]
142+
[env:espressif_esp-wrover-kit]
143143
board = esp-wrover-kit
144144
lib_deps =
145145
${common.lib_deps}
@@ -169,11 +169,11 @@ upload_speed = 2000000
169169
# export PLATFORMIO_UPLOAD_FLAGS="-p 3232"
170170

171171

172-
[env:openevse_esp-wrover-kit_latest]
173-
extends = env:openevse_esp-wrover-kit
172+
[env:espressif_esp-wrover-kit_latest]
173+
extends = env:espressif_esp-wrover-kit
174174
platform = espressif32
175175

176-
[env:openevse_huzzah32_dev]
176+
[env:adafruit_huzzah32_dev]
177177
board = featheresp32
178178
build_flags =
179179
${common.build_flags}
@@ -186,7 +186,7 @@ build_flags =
186186
-D RAPI_PORT=Serial
187187
-D DEBUG_PORT=Serial2
188188

189-
[env:openevse_huzzah32]
189+
[env:adafruit_huzzah32]
190190
board = featheresp32
191191
build_flags =
192192
${common.build_flags}
@@ -198,7 +198,7 @@ build_flags =
198198
-D RAPI_PORT=Serial
199199
-D DEBUG_PORT=Serial2
200200

201-
[env:openevse_featheresp32]
201+
[env:adafruit_featheresp32]
202202
board = featheresp32
203203
build_flags =
204204
${common.build_flags}
@@ -233,7 +233,7 @@ build_flags =
233233
-D TX1=16
234234
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update --progress-bar | cat
235235

236-
[env:openevse_esp32-gateway-old]
236+
[env:olimex_esp32-gateway-old]
237237
# For hardware older than RevE
238238
board = esp32-gateway
239239
build_flags =
@@ -248,7 +248,7 @@ build_flags =
248248
-D ENABLE_WIRED_ETHERNET
249249
# https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/ETH_LAN8720/ETH_LAN8720.ino
250250

251-
[env:openevse_esp32-gateway-f]
251+
[env:olimex_esp32-gateway-f]
252252
# For hardware RevF and RevG
253253
# https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md
254254
board = esp32-gateway
@@ -268,31 +268,31 @@ build_flags =
268268
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'F\'"
269269
upload_speed = 921600
270270

271-
[env:openevse_esp32-gateway-e]
271+
[env:olimex_esp32-gateway-e]
272272
# For hardware RevE
273273
# https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md
274-
extends = env:openevse_esp32-gateway-f
274+
extends = env:olimex_esp32-gateway-f
275275
build_flags =
276-
${env:openevse_esp32-gateway-f.build_flags}
276+
${env:olimex_esp32-gateway-f.build_flags}
277277
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'E\'"
278278

279-
[env:openevse_esp32-gateway-e_dev]
280-
extends = env:openevse_esp32-gateway-e
279+
[env:olimex_esp32-gateway-e_dev]
280+
extends = env:olimex_esp32-gateway-e
281281
build_flags =
282-
${env:openevse_esp32-gateway-e.build_flags}
282+
${env:olimex_esp32-gateway-e.build_flags}
283283
${common.debug_flags}
284284
build_type = debug
285285
board_build.partitions = ${common.build_partitions_debug}
286286

287-
[env:openevse_esp32-gateway-f_dev]
288-
extends = env:openevse_esp32-gateway-f
287+
[env:olimex_esp32-gateway-f_dev]
288+
extends = env:olimex_esp32-gateway-f
289289
build_flags =
290-
${env:openevse_esp32-gateway-f.build_flags}
290+
${env:olimex_esp32-gateway-f.build_flags}
291291
${common.debug_flags}
292292
build_type = debug
293293
board_build.partitions = ${common.build_partitions_debug}
294294

295-
[env:openevse_esp32-poe-iso]
295+
[env:olimex_esp32-poe-iso]
296296
# Tested against Rev C board
297297
board = esp32-poe-iso
298298
build_flags =
@@ -306,7 +306,7 @@ build_flags =
306306
-D RESET_ETH_PHY_ON_BOOT=1
307307
upload_speed = 921600
308308

309-
[env:openevse_esp32-heltec-wifi-lora-v2]
309+
[env:heltec_esp32-wifi-lora-v2]
310310
board = heltec_wifi_lora_32_V2
311311
build_flags =
312312
${common.build_flags}

prepare-release.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/bin/bash
22

3-
# Script to compile all released enviroments and copy build artifacts to project root for easy upload to github releases.
3+
# Script to compile all released enviroments and copy build artifacts to project root for easy upload to github releases.
44

55
pio run -e openevse_wifi_v1
66
cp .pio/build/openevse_wifi_v1/firmware.bin firmware.bin
77

8-
pio run -e openevse_huzzah32
9-
cp .pio/build/openevse_wifi_v1/firmware.bin openevse_huzzah32.bin
8+
pio run -e adafruit_huzzah32
9+
cp .pio/build/openevse_wifi_v1/firmware.bin adafruit_huzzah32.bin
1010

11-
pio run -e openevse_esp32-gateway-e
11+
pio run -e olimex_esp32-gateway-e
1212
cp .pio/build/openevse_wifi_v1/firmware.bin esp32-gateway-e.bin
1313

14-
echo "Done"
14+
echo "Done"
1515

1616

1717

test/basic.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0g
7979
Content-Disposition: form-data; name="firmware"; filename="firmware.bin"
8080
Content-Type: application/octet-stream
8181

82-
< ./.pio/build/openevse_esp-wrover-kit_idf/firmware.bin
82+
< ./.pio/build/espressif_esp-wrover-kit_idf/firmware.bin
8383
----WebKitFormBoundary7MA4YWxkTrZu0gW
8484
###
8585

test/update.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Content-Type: application/octet-stream
3737

3838
###
3939

40-
curl -F [email protected]/build/openevse_esp-wrover-kit/firmware.bin {{baseUrl}}/update
40+
curl -F [email protected]/build/espressif_esp-wrover-kit/firmware.bin {{baseUrl}}/update
4141

4242
###
4343
# Get the latest published relese (not pre-release)

0 commit comments

Comments
 (0)