[FL-3226] Deep Sleep Idle (#2569)
* Improve RNG error handling * Sync RTC shadow registers on Stop mode exit * Implement working STOP2 mode * Fix formatting * FuriHal: disable SWD pins if debug is disabled * Power: cleanup battery info view, handle zero current report from gauge * Fbt: add command line argument for extra global defines * FuriHal: cleanup debug defines in power and os, drop deep_insomnia counter. * Add a setting to disable deep sleep * Clean up furi_hal_power * FuriHal,FapLoader,Debug: implement debug in stop mode, workaround resume in stop * FuriHal: document OS and power subsystems debugging * Furi: enable debug interface on crash --------- Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
		@@ -6,6 +6,9 @@
 | 
			
		||||
 | 
			
		||||
#define TAG "FuriHalResources"
 | 
			
		||||
 | 
			
		||||
const GpioPin gpio_swdio = {.port = GPIOA, .pin = LL_GPIO_PIN_13};
 | 
			
		||||
const GpioPin gpio_swclk = {.port = GPIOA, .pin = LL_GPIO_PIN_14};
 | 
			
		||||
 | 
			
		||||
const GpioPin gpio_vibro = {.port = GPIOA, .pin = LL_GPIO_PIN_8};
 | 
			
		||||
const GpioPin gpio_ibutton = {.port = GPIOB, .pin = LL_GPIO_PIN_14};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -50,6 +50,9 @@ extern const size_t input_pins_count;
 | 
			
		||||
extern const GpioPinRecord gpio_pins[];
 | 
			
		||||
extern const size_t gpio_pins_count;
 | 
			
		||||
 | 
			
		||||
extern const GpioPin gpio_swdio;
 | 
			
		||||
extern const GpioPin gpio_swclk;
 | 
			
		||||
 | 
			
		||||
extern const GpioPin gpio_vibro;
 | 
			
		||||
extern const GpioPin gpio_ibutton;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user