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
@@ -155,7 +155,9 @@ extern "C" void ADC1_COMP_IRQHandler(void)
void LoadOutput::switch_set(bool status)
{
pgood = status;
#ifdef LED_LOAD
leds_set(LED_LOAD, status);
#endif
#if defined(__MBED__) && defined(PIN_LOAD_EN)
DigitalOut load_enable(PIN_LOAD_EN);