1
0
Fork 0

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
parent 12f1a30d16
commit 272281f1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 42 additions and 9 deletions

View file

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