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
+1 -1
View File
@@ -36,7 +36,7 @@ const uint16_t eeprom_data_objects[] = {
0xA6 // day count
};
#ifndef UNIT_TEST
#if !defined(UNIT_TEST) && (defined(STM32F0) || defined(STM32L0))
uint32_t _calc_crc(const uint8_t *buf, size_t len)
{