Skip to content

Commit 05fd0e7

Browse files
authored
add P4 to CI example espidf-blink
1 parent f68effb commit 05fd0e7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

examples/espidf-blink/platformio.ini

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ framework = espidf
1313
board = esp32dev
1414
monitor_speed = 115200
1515
build_flags =
16-
; https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html#rgb-led
1716
-D CONFIG_BLINK_GPIO=2
1817
-D CONFIG_BLINK_LED_GPIO=2
1918
-D CONFIG_BLINK_PERIOD=1000
20-
-D SHOW_METRICS
2119

2220
[env:esp32-c2-devkitm-1]
2321
platform = espressif32
@@ -28,7 +26,6 @@ build_flags =
2826
-D CONFIG_BLINK_GPIO=8
2927
-D CONFIG_BLINK_LED_GPIO=8
3028
-D CONFIG_BLINK_PERIOD=1000
31-
-D SHOW_METRICS
3229

3330
[env:esp32-c6-devkitc-1]
3431
platform = espressif32
@@ -39,4 +36,13 @@ build_flags =
3936
-D CONFIG_BLINK_GPIO=2
4037
-D CONFIG_BLINK_LED_GPIO=2
4138
-D CONFIG_BLINK_PERIOD=1000
42-
-D SHOW_METRICS
39+
40+
[env:esp32-p4]
41+
platform = espressif32
42+
framework = espidf
43+
board = esp32-p4
44+
monitor_speed = 115200
45+
build_flags =
46+
-D CONFIG_BLINK_GPIO=2
47+
-D CONFIG_BLINK_LED_GPIO=2
48+
-D CONFIG_BLINK_PERIOD=1000

0 commit comments

Comments
 (0)