Skip to content

Commit 99cd1ab

Browse files
committed
Add Proves Overlay, update prj.conf for led
1 parent ff2ed68 commit 99cd1ab

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

boards/proves_fc_v5c.overlay

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
&zephyr_udc0 {
2+
cdc_acm_uart0: cdc_acm_uart0 {
3+
compatible = "zephyr,cdc-acm-uart";
4+
};
5+
};
6+
7+
/ {
8+
chosen {
9+
zephyr,console = &cdc_acm_uart0;
10+
};
11+
12+
aliases {
13+
led0 = &user_led_0;
14+
};
15+
16+
leds {
17+
compatible = "gpio-leds";
18+
user_led_0: led_0 {
19+
gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
20+
label = "User LED";
21+
};
22+
};
23+
};
24+
25+
&gpio0 {
26+
status = "okay";
27+
};

prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CONFIG_CONSOLE=y
3333
CONFIG_UART_CONSOLE=y
3434
CONFIG_SERIAL=y
3535
CONFIG_GPIO=y
36+
CONFIG_LED=y
3637
CONFIG_PWM=n
3738
CONFIG_I2C=n
3839
CONFIG_SPI=n

0 commit comments

Comments
 (0)