And inside the application code, we define Hardware_Initialization(void) as SVC #1, and implement __SVC_1_HardwareInitialization which is referenced in the SVC table.
Implementation of extended SVC services
#include <MKL25Z4.H>d#include "cmsis_os.h" // Include header file for RTX CMSIS-RTOS#include "stdio.h"
// System runs at 48MHz/∗ Function declaration ∗/extern        void LED_Config(void);extern __INLINE void LED_On(uint32_t led);extern __INLINE void LED_Off(uint32_t led);extern        void UART_config(void);
/∗ Thread IDs ∗/osThreadId t_blinky_id; // Declare a thread ID for blinky/∗ Function declaration ∗/void blinky(void const ∗argument); // Thread
// define blinky as thread functionosThreadDef(blinky, osPriorityNormal, 1, 0);
// Define 

Get The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.