-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsarmfsw.h
48 lines (38 loc) · 1.62 KB
/
sarmfsw.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*!\file sarmfsw.h
** \author SMFSW
** \copyright MIT (c) 2017-2024, SMFSW
** \brief sarmfsw (ARM) common headers
*/
/****************************************************************/
#ifndef SARMFSW_H_
#define SARMFSW_H_
#ifdef __cplusplus
extern "C" {
#endif
/****************************************************************/
#include "arm_errors.h" // Common errors
#include "arm_typedefs.h" // Common typedefs
#include "arm_macros.h" // Common macros
#include "arm_stdclib.h" // Common standard c library wrapper macros
#include "arm_cmsis.h" // HAL & Drivers (following defined platform)
#include "arm_hal_peripheral.h" // HAL peripherals includes (following defined platform)
// Keep arm_attributes included after arm_cmsis, otherwise can cause warnings with older cmsis versions
#include "arm_attributes.h" // Common attributes (following compiler)
#include "arm_inlines.h" // Common inlines (after all includes, some inlines needs to access HAL code)
/*!\enum FW_target_i
** \brief Firmware target types
** \note A variable has to be defined in project using FW_target enum to be meaningful
**/
typedef enum PACK__ FW_target_i {
target_Special = 0, //!< Special FW target
target_Debug, //!< Debug FW target
target_Release, //!< Release FW target (No debug information)
target_FUBAR, //!< FUBAR FW target (shall be used only for stress test / optimization testing purposes)
target_Unknown = 0xFF //!< Unknown FW target
} FW_target;
/****************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* SARMFSW_H_ */
/****************************************************************/