14#pragma clang diagnostic ignored "-Wempty-translation-unit"
19#if defined(__ARM_EABI__)
23#if defined(OS_USE_OS_APP_CONFIG_H)
24#include <cmsis-plus/os-app-config.h>
28#include <cmsis_device.h>
32#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
33extern unsigned int __vectors_start;
54void __attribute__((weak))
60#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
64 SCB->VTOR = (uint32_t) (&__vectors_start);
75#if defined(OS_INCLUDE_STARTUP_INIT_FP) || defined (__ARM_FP)
85 SCB->CPACR |= (0xF << 20);
88 FPU->FPCCR |= FPU_FPCCR_ASPEN_Msk | FPU_FPCCR_LSPEN_Msk;
92#if defined(OS_DEBUG_SEMIHOSTING_FAULTS)
94 SCB->SHCSR |= SCB_SHCSR_USGFAULTENA_Msk;
100#if 0 || defined(__DOXYGEN__)
114void __attribute__((weak))
119 SystemCoreClockUpdate ();
void os_startup_initialize_hardware_early(void)
Initialise hardware early.
void os_startup_initialize_hardware(void)
Initialise hardware.