mirror of https://github.com/rusefi/rusefi.git
reset cause stub for other archs
This commit is contained in:
parent
60a2aae2e1
commit
65b9ee94aa
|
@ -183,4 +183,12 @@ EXTERNC int getRemainingStack(thread_t *otp) {
|
|||
__attribute__((weak)) void boardPrepareForStandby() {
|
||||
}
|
||||
|
||||
Reset_Cause_t getMCUResetCause() {
|
||||
return Reset_Cause_Unknown;
|
||||
}
|
||||
|
||||
const char *getMCUResetCause(Reset_Cause_t) {
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
|
|
@ -309,4 +309,12 @@ adcsample_t getFastAdc(FastAdcToken token) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
Reset_Cause_t getMCUResetCause() {
|
||||
return Reset_Cause_Unknown;
|
||||
}
|
||||
|
||||
const char *getMCUResetCause(Reset_Cause_t) {
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
|
|
@ -315,4 +315,12 @@ adcsample_t getFastAdc(FastAdcToken token) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
Reset_Cause_t getMCUResetCause() {
|
||||
return Reset_Cause_Unknown;
|
||||
}
|
||||
|
||||
const char *getMCUResetCause(Reset_Cause_t) {
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
|
|
@ -10,4 +10,12 @@ static void canHwInfo(CANDriver*) { return; }
|
|||
static bool allowFlashWhileRunning() { return true; }
|
||||
static void causeHardFault() { }
|
||||
|
||||
static Reset_Cause_t getMCUResetCause() {
|
||||
return Reset_Cause_Unknown;
|
||||
}
|
||||
|
||||
static const char *getMCUResetCause(Reset_Cause_t) {
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
#include "sim_watchdog.h"
|
||||
|
|
Loading…
Reference in New Issue