Skip to content

Commit

Permalink
Remove Cubecell Support (ClusterDuck-Protocol#448)
Browse files Browse the repository at this point in the history
* remove cubecell from code

Signed-off-by: faradaym <rcheyenne.truss@gmail.com>

* remove cubecell from build

Signed-off-by: faradaym <rcheyenne.truss@gmail.com>

* more cubecell stuff

Signed-off-by: faradaym <rcheyenne.truss@gmail.com>

---------

Signed-off-by: faradaym <rcheyenne.truss@gmail.com>
  • Loading branch information
faradaym authored Oct 2, 2024
1 parent dc18e07 commit 14ed77c
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 352 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
board: ["esp32:esp32:heltec_wifi_lora_32_V3", "CubeCell:CubeCell:CubeCell-Board-V2"]
board: ["esp32:esp32:heltec_wifi_lora_32_V3"]

steps:
- name: Checkout code
Expand All @@ -50,22 +50,14 @@ jobs:
set -x
arduino-cli config init
arduino-cli config set library.enable_unsafe_install true
# udpate the index to include the Heltec ESP32 and CubeCell boards
echo "[ARDUINO SETUP] Updating the index to include the Heltec ESP32 and CubeCell boards"
echo "[ARDUINO SETUP] Updating the index to include the Heltec ESP32 boards"
arduino-cli core update-index --additional-urls https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/3.0.0/package_heltec_esp32_index.json
arduino-cli core update-index --additional-urls https://github.com/HelTecAutomation/CubeCell-Arduino/releases/download/V1.5.0/package_CubeCell_index.json
# install the Heltec ESP32 and CubeCell boards
# install the Heltec ESP32 boards
if [[ "${{ matrix.board }}" =~ "esp32:esp32:" ]]; then
echo "[ARDUINO SETUP] Installing the Heltec ESP32 board"
arduino-cli core install esp32:esp32@2.0.17 --additional-urls https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/3.0.0/package_heltec_esp32_index.json
fi
if [[ "${{ matrix.board }}" =~ "CubeCell:CubeCell:" ]]; then
echo "[ARDUINO SETUP] Installing the CubeCell board"
arduino-cli core install CubeCell:CubeCell --additional-urls https://github.com/HelTecAutomation/CubeCell-Arduino/releases/download/V1.5.0/package_CubeCell_index.json
echo "[ARDUINO SETUP] Patching the CubeCell Arduino.h file."
cp ./arduino_patches/CubeCell_Arduino.h /home/runner/.arduino15/packages/CubeCell/hardware/CubeCell/1.5.0/cores/asr650x/Arduino.h
fi
- name: Install CDP
run: |
Expand Down Expand Up @@ -124,3 +116,4 @@ jobs:
with:
name: build-log
path: '*.log'

28 changes: 0 additions & 28 deletions examples/Basic-Ducks/DetectorDuck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ description = DetectorDuck CDP examples
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -162,17 +148,3 @@ description = DetectorDuck CDP examples
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}

30 changes: 0 additions & 30 deletions examples/Basic-Ducks/DuckLink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,6 @@ description = DuckLink CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -161,18 +146,3 @@ description = DuckLink CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}

29 changes: 0 additions & 29 deletions examples/Basic-Ducks/MamaDuck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,6 @@ description = MamaDuck CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -162,17 +147,3 @@ description = MamaDuck CDP examples
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}

29 changes: 0 additions & 29 deletions examples/Basic-Ducks/PapaDuck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ description = PapaDuck CDP examples
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -161,18 +147,3 @@ description = PapaDuck CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}

28 changes: 0 additions & 28 deletions examples/Custom-Mama-Examples/Custom-Mama-Detect/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,6 @@ description = Custom Mama Detect examples
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -141,17 +127,3 @@ description = Custom Mama Detect examples
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}
30 changes: 1 addition & 29 deletions examples/Custom-Mama-Examples/Custom-Mama-Example/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,6 @@ description = Custom Mama examples
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -140,18 +126,4 @@ description = Custom Mama examples
monitor_filters = time
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}
${env:local_cdp.lib_deps}
29 changes: 0 additions & 29 deletions examples/Custom-Papa-Examples/AWS-PapaDuck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ description = AWS PapaDuck CDP examples
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -161,18 +147,3 @@ description = AWS PapaDuck CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}

29 changes: 0 additions & 29 deletions examples/Custom-Papa-Examples/MQTT-PapaDuck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,6 @@ description = Papa MQTT CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:release_cdp.lib_deps}

; PRODUCTION CUBECELL_BOARD_V2
[env:prod_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:release_cdp.lib_deps}

; -------------------------------------------------------------------------------------------------------
; ---- LOCAL ENVIRONMENTS
; -------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -141,17 +126,3 @@ description = Papa MQTT CDP examples
lib_deps =
${env:esp32.lib_deps}
${env:local_cdp.lib_deps}

; LOCAL CUBECELL_BOARD_V2
[env:local_cubecell_board_v2]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = cubecell_board_v2
framework = arduino
monitor_speed = 115200
monitor_filters = time
build_flags =
-DCubeCell_Board
lib_ignore =
ESP Async WebServer
lib_deps =
${env:local_cdp.lib_deps}
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol"
},
"frameworks": "arduino",
"platforms": ["espressif32","heltec-cubecell"],
"platforms": ["espressif32"],
"license": "Apache-2.0",
"export": {
"include": [
Expand Down
Loading

0 comments on commit 14ed77c

Please sign in to comment.