C++ build fixed, C dropped

This commit is contained in:
Attila Body 2020-11-28 12:18:35 +01:00
parent c439c48643
commit f26710a667
23 changed files with 50 additions and 1062 deletions

View 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 */