mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 01:06:52 +01:00
Move zephyr fork configs to the nrf: and stm32: platform keys
The fork's framework-zephyr rewrite drops the zephyr: key: variant and board stay on the platform key, the other options move under framework:. CI skips the Zephyr RTOS platform keys instead of zephyr:.
This commit is contained in:
1 parent
7b9430c0e5
commit
17bbf207e4
5 files changed
+9
-9
No files matched your search
@@ -55,8 +55,8 @@ jobs:
|
||||
if: steps.changed.outputs.any_changed == 'true'
|
||||
run: |
|
||||
for f in ${{ steps.changed.outputs.all_changed_files }}; do
|
||||
# zephyr: needs the esphomeplatformzephyr fork, upstream doesn't know it yet
|
||||
if grep -q '^zephyr:' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
|
||||
# Zephyr RTOS platforms need the esphomeplatformzephyr fork, upstream doesn't know them yet
|
||||
if grep -qE '^(nrf|stm32|nxp|renesas|silabs):' "$f"; then echo "Skipping $f (zephyr fork)"; continue; fi
|
||||
echo "Validating $f..."
|
||||
esphome config "$f"
|
||||
done
|
||||
+1
-1
@@ -25,7 +25,7 @@ esphome:
|
||||
friendly_name: nRF ANT+
|
||||
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr); RadiANT needs NCS
|
||||
zephyr:
|
||||
nrf:
|
||||
variant: NRF52
|
||||
board: nrf52840dk/nrf52840
|
||||
framework:
|
||||
|
||||
+2
-2
@@ -18,8 +18,8 @@ esphome:
|
||||
name: mcu-nrf-dk
|
||||
friendly_name: nRF DK
|
||||
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
||||
zephyr:
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no nrf: platform yet
|
||||
nrf:
|
||||
variant: NRF52
|
||||
board: nrf52840dk/nrf52840
|
||||
framework:
|
||||
|
||||
@@ -8,8 +8,8 @@ esphome:
|
||||
name: mcu-stm32-blackpill
|
||||
friendly_name: STM32 Black Pill
|
||||
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
||||
zephyr:
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no stm32: platform yet
|
||||
stm32:
|
||||
variant: STM32F4
|
||||
board: blackpill_f401cc
|
||||
framework:
|
||||
|
||||
@@ -8,8 +8,8 @@ esphome:
|
||||
name: mcu-stm32-nucleo
|
||||
friendly_name: STM32 Nucleo
|
||||
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no zephyr: platform yet
|
||||
zephyr:
|
||||
# needs the esphomeplatformzephyr fork (esphome-zephyr), upstream has no stm32: platform yet
|
||||
stm32:
|
||||
variant: STM32F4
|
||||
board: nucleo_f411re
|
||||
framework:
|
||||
|
||||
Reference in new issue
Block a user