Add analog support for RP2040 (#19453)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Sergey Vlasov 2023-01-19 02:30:58 +03:00 committed by GitHub
commit 272281f1a0
Failed to generate hash of commit
9 changed files with 42 additions and 9 deletions

View file

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

View file

@ -5,5 +5,6 @@
#define HAL_USE_I2C TRUE
#define HAL_USE_PWM TRUE
#define HAL_USE_ADC TRUE
#include_next <halconf.h>