Skip to content

Commit 6a47f72

Browse files
ajf58kartben
authored andcommitted
samples: drivers: led: pwm: Add rpi_pico2 board
The RP2350's PWM peripheral is largely unchanged from the RP2040's, but the higher clock frequency means the long blink delay must be lower. Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
1 parent 498ded5 commit 6a47f72

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_BLINK_DELAY_SHORT=20
2+
CONFIG_BLINK_DELAY_LONG=50
3+
CONFIG_FADE_DELAY=15
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright (c) 2024 Andrew Featherstone <andrew.featherstone@gmail.com>
5+
*/
6+
7+
/* Pico 2 is compatible with the Pico 1, so reuse. */
8+
#include "rpi_pico.overlay"

0 commit comments

Comments
 (0)