C++ build fixed, C dropped
This commit is contained in:
parent
c439c48643
commit
f26710a667
23 changed files with 50 additions and 1062 deletions
19
components/f4ll/inc/fault.h
Normal file
19
components/f4ll/inc/fault.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef __FAULT_H
|
||||
#define __FAULT_H
|
||||
|
||||
#define FAULT_REASON_HARD_FAULT 1
|
||||
#define FAULT_REASON_MEMMANAGE_FAULT 2
|
||||
#define FAULT_REASON_BUS_FAULT 3
|
||||
#define FAULT_REASON_USAGE_FAULT 4
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void app_fault_callback(uint32_t reason);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __FAULT_H */
|
Loading…
Add table
Add a link
Reference in a new issue