cpu/stm32l4: add support for stm32l433rc
This commit is contained in:
parent
0f07bccfc9
commit
2c4b94b236
@ -31,6 +31,8 @@
|
||||
#include "vendor/stm32l475xx.h"
|
||||
#elif defined(CPU_MODEL_STM32L432KC)
|
||||
#include "vendor/stm32l432xx.h"
|
||||
#elif defined(CPU_MODEL_STM32L433RC)
|
||||
#include "vendor/stm32l433xx.h"
|
||||
#elif defined(CPU_MODEL_STM32L452RE)
|
||||
#include "vendor/stm32l452xx.h"
|
||||
#endif
|
||||
@ -44,7 +46,7 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
||||
#if defined(CPU_MODEL_STM32L432KC)
|
||||
#if defined(CPU_MODEL_STM32L432KC) || defined(CPU_MODEL_STM32L433RC)
|
||||
#define CPU_IRQ_NUMOF (83U)
|
||||
#else
|
||||
#define CPU_IRQ_NUMOF (82U)
|
||||
|
||||
15967
cpu/stm32l4/include/vendor/stm32l433xx.h
vendored
Normal file
15967
cpu/stm32l4/include/vendor/stm32l433xx.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -165,7 +165,7 @@ ISR_VECTOR(1) const isr_t vector_cpu[CPU_IRQ_NUMOF] = {
|
||||
[RNG_IRQn ] = isr_rng, /* [80] RNG global interrupt */
|
||||
[FPU_IRQn ] = isr_fpu, /* [81] FPU global interrupt */
|
||||
|
||||
#if defined(CPU_MODEL_STM32L432KC)
|
||||
#if defined(CPU_MODEL_STM32L432KC) || defined(CPU_MODEL_STM32L433RC)
|
||||
[ADC1_IRQn ] = isr_adc1, /* [18] ADC1 global Interrupt */
|
||||
[TIM1_TRG_COM_IRQn ] = isr_tim1_trg_com, /* [26] TIM1 Trigger and Commutation Interrupt */
|
||||
[USB_IRQn ] = isr_usb, /* [67] USB event Interrupt */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user