diff --git a/.github/workflows/config/release-notes-config.json b/.github/workflows/config/release-notes-config.json index 8699820e..eb4b3e55 100644 --- a/.github/workflows/config/release-notes-config.json +++ b/.github/workflows/config/release-notes-config.json @@ -36,7 +36,7 @@ } ], "template": "${{CHANGELOG}}", - "pr_template": "- [${{TITLE}}](https://github.com/tbnobody/OpenDTU/commit/${{MERGE_SHA}})", + "pr_template": "- [${{TITLE}}](https://github.com/funghi999/OpenDTU-DUO-Fusion/commit/${{MERGE_SHA}})", "empty_template": "- no changes", "label_extractor": [ { diff --git a/README.md b/README.md index 151c2a0f..8e71aec7 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ This is a fork from the Hoymiles project [OpenDTU](https://github.com/tbnobody/OpenDTU). -[![OpenDTU Build](https://github.com/tbnobody/OpenDTU/actions/workflows/build.yml/badge.svg)](https://github.com/tbnobody/OpenDTU/actions/workflows/build.yml) -[![cpplint](https://github.com/tbnobody/OpenDTU/actions/workflows/cpplint.yml/badge.svg)](https://github.com/tbnobody/OpenDTU/actions/workflows/cpplint.yml) -[![Yarn Linting](https://github.com/tbnobody/OpenDTU/actions/workflows/yarnlint.yml/badge.svg)](https://github.com/tbnobody/OpenDTU/actions/workflows/yarnlint.yml) +[![OpenDTU Build](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/build.yml/badge.svg)](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/build.yml) +[![cpplint](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/cpplint.yml/badge.svg)](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/cpplint.yml) +[![Yarn Linting](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/yarnlint.yml/badge.svg)](https://github.com/funghi999/OpenDTU-DUO-Fusion/actions/workflows/yarnlint.yml) ## Documentation diff --git a/platformio.ini b/platformio.ini index cc45d8ac..c4aed9c6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,7 +16,7 @@ extra_configs = [env] ; Make sure to NOT add any spaces in the custom_ci_action property ; (also the position in the file is important) -custom_ci_action = generic,generic_esp32,generic_esp32s3,generic_esp32s3_usb +custom_ci_action = generic_esp32,generic_esp32s3,fusion_duo_dtu framework = arduino platform = espressif32@6.8.1 @@ -250,3 +250,26 @@ build_flags = ${env.build_flags} -DCMT_SDIO=5 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 + + +; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case -- +; -- Display 1.3" -- +; -- support HM and HMS/HMT Inverter -- +[env:fusion_duo_dtu] +board = esp32dev +build_flags = ${env.build_flags} + -DHOYMILES_PIN_MISO=19 + -DHOYMILES_PIN_MOSI=23 + -DHOYMILES_PIN_SCLK=18 + -DHOYMILES_PIN_IRQ=16 + -DHOYMILES_PIN_CE=4 + -DHOYMILES_PIN_CS=5 + -DDISPLAY_TYPE=3 + -DDISPLAY_DATA=21 + -DDISPLAY_CLK=22 + -DCMT_CLK=12 + -DCMT_CS=27 + -DCMT_FCS=26 + -DCMT_GPIO2=35 + -DCMT_GPIO3=34 + -DCMT_SDIO=14 diff --git a/platformio_override.ini b/platformio_override.ini index a134d385..0ef99887 100644 --- a/platformio_override.ini +++ b/platformio_override.ini @@ -25,24 +25,24 @@ ; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case -- ; -- Display 1.3" -- ; -- support HM and HMS/HMT Inverter -- -[env:fusion_duo_dtu] -board = esp32dev -build_flags = ${env.build_flags} - -DHOYMILES_PIN_MISO=19 - -DHOYMILES_PIN_MOSI=23 - -DHOYMILES_PIN_SCLK=18 - -DHOYMILES_PIN_IRQ=16 - -DHOYMILES_PIN_CE=4 - -DHOYMILES_PIN_CS=5 - -DDISPLAY_TYPE=3 - -DDISPLAY_DATA=21 - -DDISPLAY_CLK=22 - -DCMT_CLK=12 - -DCMT_CS=27 - -DCMT_FCS=26 - -DCMT_GPIO2=35 - -DCMT_GPIO3=34 - -DCMT_SDIO=14 +; [env:fusion_duo_dtu] +; board = esp32dev +; build_flags = ${env.build_flags} +; -DHOYMILES_PIN_MISO=19 +; -DHOYMILES_PIN_MOSI=23 +; -DHOYMILES_PIN_SCLK=18 +; -DHOYMILES_PIN_IRQ=16 +; -DHOYMILES_PIN_CE=4 +; -DHOYMILES_PIN_CS=5 +; -DDISPLAY_TYPE=3 +; -DDISPLAY_DATA=21 +; -DDISPLAY_CLK=22 +; -DCMT_CLK=12 +; -DCMT_CS=27 +; -DCMT_FCS=26 +; -DCMT_GPIO2=35 +; -DCMT_GPIO3=34 +; -DCMT_SDIO=14 ; ; -- PCB "DTU-Board V1.0.1" HM/HMS/HMT small case -- ; -- Display 1.3" --