Skip to content

Commit 9f95d62

Browse files
committed
samples: Add colibri_imx7d_m4 config in blink_led
Adds the appropriated configuration for colibri_imx7d_m4 board in blink_led sample app. Signed-off-by: Diego Sueiro <[email protected]>
1 parent cc13755 commit 9f95d62

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

samples/basic/blink_led/sample.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ tests:
55
# FIXME: We should remove those and just rely on depends_on
66
platform_whitelist: arduino_101 quark_d2000_crb
77
nucleo_f103rb nucleo_f401re nucleo_l476rg stm32f4_disco hexiwear_k64
8+
colibri_imx7d_m4
89
tags: drivers pwm
910
depends_on: pwm

samples/basic/blink_led/src/main.c

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#elif defined(CONFIG_BOARD_HEXIWEAR_K64)
3131
#define PWM_DRIVER GREEN_PWM_NAME
3232
#define PWM_CHANNEL GREEN_PWM_CHANNEL
33+
#elif defined(CONFIG_BOARD_COLIBRI_IMX7D_M4)
34+
#define PWM_DRIVER PWM_1_LABEL
35+
#define PWM_CHANNEL 0
3336
#else
3437
#error "Choose supported PWM driver"
3538
#endif

0 commit comments

Comments
 (0)