summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2023-01-19 02:30:58 +0300
committerGitHub <noreply@github.com>2023-01-19 10:30:58 +1100
commit272281f1a0a3d5f07e0dfa890f1af2f360ca54bf (patch)
treec6991c0f86e8cc48cb617464d9c0e240c8df1019 /platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs
parent12f1a30d165ea89c5d8dbee916500ed1226ab56d (diff)
Add analog support for RP2040 (#19453)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs')
-rw-r--r--platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/mcuconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/mcuconf.h b/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/mcuconf.h
index 5c0859901e..ab293c0b40 100644
--- a/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/mcuconf.h
+++ b/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/mcuconf.h
@@ -46,6 +46,7 @@
#define RP_IRQ_TIMER_ALARM1_PRIORITY 2
#define RP_IRQ_TIMER_ALARM2_PRIORITY 2
#define RP_IRQ_TIMER_ALARM3_PRIORITY 2
+#define RP_IRQ_ADC1_PRIORITY 3
#define RP_IRQ_UART0_PRIORITY 3
#define RP_IRQ_UART1_PRIORITY 3
#define RP_IRQ_SPI0_PRIORITY 2
@@ -57,7 +58,7 @@
/*
* ADC driver system settings.
*/
-#define RP_ADC_USE_ADC1 FALSE
+#define RP_ADC_USE_ADC1 TRUE
/*
* SIO driver system settings.