Add analog support for RP2040 (#19453)

Co-authored-by: Ryan <[email protected]>
This commit is contained in:
Sergey VlasovandRyan authored and GitHub committed 2023-01-19 10:30:58 +11:00
1 parent 12f1a30d16
commit 272281f1a0
9 files changed
+42 -9

No files matched your search

@@ -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>