cpu/stm32l4: add support for stm32l433rc

This commit is contained in:
Alexandre Abadie 2017-08-18 00:32:16 +02:00
parent 0f07bccfc9
commit 2c4b94b236
3 changed files with 15971 additions and 2 deletions

View File

@ -31,6 +31,8 @@
#include "vendor/stm32l475xx.h" #include "vendor/stm32l475xx.h"
#elif defined(CPU_MODEL_STM32L432KC) #elif defined(CPU_MODEL_STM32L432KC)
#include "vendor/stm32l432xx.h" #include "vendor/stm32l432xx.h"
#elif defined(CPU_MODEL_STM32L433RC)
#include "vendor/stm32l433xx.h"
#elif defined(CPU_MODEL_STM32L452RE) #elif defined(CPU_MODEL_STM32L452RE)
#include "vendor/stm32l452xx.h" #include "vendor/stm32l452xx.h"
#endif #endif
@ -44,7 +46,7 @@ extern "C" {
* @{ * @{
*/ */
#define CPU_DEFAULT_IRQ_PRIO (1U) #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) #define CPU_IRQ_NUMOF (83U)
#else #else
#define CPU_IRQ_NUMOF (82U) #define CPU_IRQ_NUMOF (82U)

15967
cpu/stm32l4/include/vendor/stm32l433xx.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -165,7 +165,7 @@ ISR_VECTOR(1) const isr_t vector_cpu[CPU_IRQ_NUMOF] = {
[RNG_IRQn ] = isr_rng, /* [80] RNG global interrupt */ [RNG_IRQn ] = isr_rng, /* [80] RNG global interrupt */
[FPU_IRQn ] = isr_fpu, /* [81] FPU 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 */ [ADC1_IRQn ] = isr_adc1, /* [18] ADC1 global Interrupt */
[TIM1_TRG_COM_IRQn ] = isr_tim1_trg_com, /* [26] TIM1 Trigger and Commutation Interrupt */ [TIM1_TRG_COM_IRQn ] = isr_tim1_trg_com, /* [26] TIM1 Trigger and Commutation Interrupt */
[USB_IRQn ] = isr_usb, /* [67] USB event Interrupt */ [USB_IRQn ] = isr_usb, /* [67] USB event Interrupt */