Add analog support for RP2040 (#19453)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
12f1a30d16
commit
272281f1a0
9 changed files with 42 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue