Add analog support for RP2040 (#19453)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
@@ -20,3 +20,5 @@
|
||||
#define AUDIO_PIN GP16
|
||||
#define AUDIO_PWM_DRIVER PWMD0
|
||||
#define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_A
|
||||
|
||||
#define ADC_PIN GP26
|
||||
|
@@ -5,5 +5,6 @@
|
||||
|
||||
#define HAL_USE_I2C TRUE
|
||||
#define HAL_USE_PWM TRUE
|
||||
#define HAL_USE_ADC TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
Reference in New Issue
Block a user