[FL-1818] System setting and debug options. RTC HAL refactoring. (#902)
* FuriHal: RTC API refactoring. System Setting application. FuriCore: adjustable log levels. Minor code cleanup. * Storage: change logging levels for internal storage. * FuriCore: fix broken trace logging level
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include <furi-hal.h>
|
||||
|
||||
#include <comp.h>
|
||||
#include <rtc.h>
|
||||
#include <tim.h>
|
||||
#include <gpio.h>
|
||||
|
||||
@@ -13,18 +12,14 @@
|
||||
|
||||
void furi_hal_init() {
|
||||
furi_hal_clock_init();
|
||||
furi_hal_rtc_init();
|
||||
furi_hal_console_init();
|
||||
furi_hal_interrupt_init();
|
||||
furi_hal_delay_init();
|
||||
|
||||
// FreeRTOS glue
|
||||
furi_hal_os_init();
|
||||
|
||||
MX_GPIO_Init();
|
||||
FURI_LOG_I(TAG, "GPIO OK");
|
||||
|
||||
MX_RTC_Init();
|
||||
FURI_LOG_I(TAG, "RTC OK");
|
||||
furi_hal_bootloader_init();
|
||||
furi_hal_version_init();
|
||||
|
||||
@@ -59,6 +54,9 @@ void furi_hal_init() {
|
||||
furi_hal_bt_init();
|
||||
furi_hal_compress_icon_init();
|
||||
|
||||
// FreeRTOS glue
|
||||
furi_hal_os_init();
|
||||
|
||||
// FatFS driver initialization
|
||||
MX_FATFS_Init();
|
||||
FURI_LOG_I(TAG, "FATFS OK");
|
||||
|
Reference in New Issue
Block a user