[Core] Adjust PWM hardware audio driver for RP2040 (#17723)

This commit is contained in:
Stefan Kerkmann
2022-10-27 19:26:16 +02:00
committed by GitHub
parent efe520645e
commit 19145704e4
22 changed files with 94 additions and 145 deletions

View File

@@ -16,3 +16,7 @@
#define BACKLIGHT_PWM_DRIVER PWMD4
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
#define AUDIO_PIN GP16
#define AUDIO_PWM_DRIVER PWMD0
#define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_A

View File

@@ -5,5 +5,8 @@
#include_next "mcuconf.h"
#undef RP_PWM_USE_PWM0
#define RP_PWM_USE_PWM0 TRUE
#undef RP_PWM_USE_PWM4
#define RP_PWM_USE_PWM4 TRUE