kopia lustrzana https://github.com/SP8EBC/ParaTNC
bugfix in handling ParaMETEO power, missing io_12v_sw___cntrl_vbat_g_disable call
rodzic
67d9cb84aa
commit
48833c7760
|
@ -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="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <peripherals> <peripheral name="GPIOB"/> <peripheral name="TIM4"/> <peripheral name="DMA1"/> <peripheral name="GPIOC"/> <peripheral name="I2C1"/> </peripherals> "/>
|
||||
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.PERIPHERALS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <peripherals> <peripheral name="GPIOC"/> </peripherals> "/>
|
||||
<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"/>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue