2022-12-15 19:14:50 -08:00
|
|
|
// Copyright 2022 Framework Computer
|
2022-12-15 19:10:32 -08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include_next <mcuconf.h>
|
|
|
|
|
|
|
|
#undef RP_SIO_USE_UART0
|
|
|
|
#define RP_SIO_USE_UART0 TRUE
|
|
|
|
#undef RP_SIO_USE_UART1
|
|
|
|
#define RP_SIO_USE_UART1 FALSE
|
2022-12-20 02:46:45 -08:00
|
|
|
|
2022-12-20 03:35:14 -08:00
|
|
|
// For RGB backlight
|
|
|
|
#undef RP_ADC_USE_ADC1
|
|
|
|
#define RP_ADC_USE_ADC1 TRUE
|
|
|
|
|
2022-12-20 02:46:45 -08:00
|
|
|
// For single-zone backlight
|
|
|
|
#undef RP_PWM_USE_PWM4
|
|
|
|
#define RP_PWM_USE_PWM4 TRUE
|
2023-01-03 23:40:57 -08:00
|
|
|
|
2023-01-05 23:41:11 -08:00
|
|
|
#undef RP_I2C_USE_I2C1
|
|
|
|
#define RP_I2C_USE_I2C1 TRUE
|
2023-01-03 23:40:57 -08:00
|
|
|
/*
|
|
|
|
* IRQ system settings.
|
|
|
|
|
2023-03-21 12:07:06 -07:00
|
|
|
* TODO: Default is 3, should it be 2?
|
2023-01-03 23:40:57 -08:00
|
|
|
*/
|
2023-03-21 12:07:06 -07:00
|
|
|
#undef RP_IRQ_ADC1_PRIORITY
|
2023-01-07 03:49:24 -08:00
|
|
|
#define RP_IRQ_ADC1_PRIORITY 2
|