ODeV framework  v2
systp.h
Go to the documentation of this file.
1 
31 #ifndef SYSTARGETPLATFORM_H_
32 #define SYSTARGETPLATFORM_H_
33 
34 // MCU specific include
35 // ********************
36 
37 #ifdef SYS_TP_MCU_STM32L4
38 #include "stm32l4xx.h"
39 #elif defined (SYS_TP_MCU_STM32L0)
40 #include "stm32l0xx.h"
41 #endif
42 
43 // Compiler specific define
44 // ************************
45 
46 #if defined (__ICCARM__)
47 
48 #define SYS_DEFINE_INLINE #pragma inline
49 
50 #elif defined (__GNUC__)
51 
52 #define SYS_DEFINE_INLINE inline
53 
54 #endif
55 
56 // This section defines some symbol specific to the STM32L4 memory map.
57 // see bugtabs4 #5265
58 #ifdef SYS_TP_MCU_STM32L4
59 #ifdef STM32L431xx
60 
61 #define SKP_PRWR_SCR_CWUF_1_5 0x1FU
62 #define SKP_FLASH_SR_OPTVERR (0x1U << (15U))
63 
64 #endif
65 #endif
66 
67 #endif /* SYSTARGETPLATFORM_H_ */