bugfix in handling ParaMETEO power, missing io_12v_sw___cntrl_vbat_g_disable call

pull/7/head
Mateusz Lubecki 2022-01-03 19:45:21 +01:00
rodzic 67d9cb84aa
commit 48833c7760
4 zmienionych plików z 9 dodań i 5 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="ilg.gnumcueclipse.debug.gdbjtag.openocd.launchConfigurationType">
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.PERIPHERALS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;peripherals&gt;&#10; &lt;peripheral name=&quot;GPIOB&quot;/&gt;&#10; &lt;peripheral name=&quot;TIM4&quot;/&gt;&#10; &lt;peripheral name=&quot;DMA1&quot;/&gt;&#10; &lt;peripheral name=&quot;GPIOC&quot;/&gt;&#10; &lt;peripheral name=&quot;I2C1&quot;/&gt;&#10;&lt;/peripherals&gt;&#10;"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.PERIPHERALS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;peripherals&gt;&#10; &lt;peripheral name=&quot;GPIOC&quot;/&gt;&#10;&lt;/peripherals&gt;&#10;"/>
<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.doContinue" value="true"/>
<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.doDebugInRam" value="false"/>
<booleanAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.doFirstReset" value="true"/>

Wyświetl plik

@ -5,8 +5,8 @@
#include "drivers/serial.h"
#include "config_data.h"
#define SW_VER "EA02"
#define SW_DATE "29112021"
#define SW_VER "EA03"
#define SW_DATE "03012022"
#define SYSTICK_TICKS_PER_SECONDS 100
#define SYSTICK_TICKS_PERIOD 10

Wyświetl plik

@ -10,8 +10,8 @@
//#define PARATNC_HWREV_A
//#define PARATNC_HWREV_B
#define PARATNC_HWREV_C
//#define PARAMETEO
//#define PARATNC_HWREV_C
#define PARAMETEO
#ifdef PARAMETEO
// those defines and an undef are only required for shitty Eclipse indexer to see anything from STM32L471xx target

Wyświetl plik

@ -39,6 +39,10 @@ void wx_pwr_switch_case_under_reset_parameteo() {
io_5v_isol_sw___cntrl_vbat_s_enable();
#ifdef PWR_SWITCH_BOTH
io_12v_sw___cntrl_vbat_g_enable();
#endif
wx_force_i2c_sensor_reset = 1;
wx_pwr_state = WX_PWR_ON;