Midnight Sun Firmware
Loading...
Searching...
No Matches
fota_startup.h
1#pragma once
2
3/************************************************************************************************
4 * @file fota_startup.h
5 *
6 * @brief Header file for FOTA startup
7 *
8 * @date 2025-03-12
9 * @author Midnight Sun Team #24 - MSXVI
10 ************************************************************************************************/
11
12/* Standard library Headers */
13
14/* Inter-component Headers */
15
16/* Intra-component Headers */
17#include "fota_error.h"
18
25/* Timeout for HSE/LSE pins to stabilize. Should not take more than 5 seconds */
26#define HSE_LSE_TIMEOUT_MS 5000U
27
28#define USE_INTERNAL_OSCILLATOR 1U
29
35
FotaError fota_startup(void)
Initialize MCU system clock and HAL.
Definition: fota_startup.c:90
FotaError
FOTA Error code definitions.
Definition: fota_error.h:27