low power set, no debug message
This commit is contained in:
parent
1541514cf3
commit
0ceaae5baa
Core
|
@ -47,7 +47,7 @@ extern "C" {
|
||||||
/**
|
/**
|
||||||
* @brief Verbose level for all trace logs
|
* @brief Verbose level for all trace logs
|
||||||
*/
|
*/
|
||||||
#define VERBOSE_LEVEL VLEVEL_H
|
#define VERBOSE_LEVEL VLEVEL_OFF
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enable trace logs
|
* @brief Enable trace logs
|
||||||
|
@ -75,7 +75,7 @@ extern "C" {
|
||||||
* @brief Enable/Disable MCU Debugger pins (dbg serial wires)
|
* @brief Enable/Disable MCU Debugger pins (dbg serial wires)
|
||||||
* @note by HW serial wires are ON by default, need to put them OFF to save power
|
* @note by HW serial wires are ON by default, need to put them OFF to save power
|
||||||
*/
|
*/
|
||||||
#define DEBUGGER_ENABLED 1
|
#define DEBUGGER_ENABLED 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Disable Low Power mode
|
* @brief Disable Low Power mode
|
||||||
|
|
|
@ -121,8 +121,8 @@ void SystemApp_Init(void)
|
||||||
/*Init low power manager*/
|
/*Init low power manager*/
|
||||||
UTIL_LPM_Init();
|
UTIL_LPM_Init();
|
||||||
/* Disable Stand-by mode */
|
/* Disable Stand-by mode */
|
||||||
UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_DISABLE);
|
//UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_DISABLE);
|
||||||
//UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_ENABLE);
|
UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_ENABLE);
|
||||||
|
|
||||||
#if defined (LOW_POWER_DISABLE) && (LOW_POWER_DISABLE == 1)
|
#if defined (LOW_POWER_DISABLE) && (LOW_POWER_DISABLE == 1)
|
||||||
/* Disable Stop Mode */
|
/* Disable Stop Mode */
|
||||||
|
|
Loading…
Reference in New Issue