Initial support of MPPT 2420 HPX board

- Some flags changed to make the firmware compile for new STM32G431 MCU
- Zephyr board definition added
- Serial, OLED display and LED working
- ADC compiling, but not yet working
This commit is contained in:
Martin Jaeger
2020-01-23 14:41:44 +01:00
parent d5ce578aeb
commit 24f751b2e5
20 changed files with 600 additions and 27 deletions
+2
View File
@@ -208,7 +208,9 @@ void LoadOutput::stop(uint32_t error_flag)
// flicker the load LED if failure was most probably caused by the user
if (error_flag & (ERR_LOAD_OVERCURRENT | ERR_LOAD_VOLTAGE_DIP | ERR_LOAD_SHORT_CIRCUIT)) {
#ifdef LED_LOAD
leds_flicker(LED_LOAD);
#endif
oc_timestamp = uptime();
}
}