#ifndef __R_CONFIGURATION_H__ #define __R_CONFIGURATION_H__ #warning Be Sure to configure this file, when you start your project. /* Here Define your MCU REGISTER MAP FILE */ #include "fsl_device_registers.h" #define CPU_ARM_VERSION 33 /* SysTick Configuration for TimeBase */ extern uint32_t SystemCoreClock; #define CPU_CLOCK_HZ SystemCoreClock // Use Default System Clock in Hz #define MAX_DELAY 0xFFFFFFFFU // Max Wayt Delay #define TICK_RATE_HZ 1000U // Getting SystemCoreClock divide by 1000 to get interrupt every 1ms #define MAX_DELAY 0xFFFFFFFFU // MAX DELAY #define ROUND_ROBIN_QUANTA 10U // QUANTA in MS For round robin schedular change tasks. /* Thread Configuration Size and Number Max for TCB */ #define USE_STATIC_THREAD 1 #define USE_DYNAMIC_THREAD 0 #define NUM_OF_THREADS 3 #define STACKSIZE 700 // As memory addressing orgonize by 4 so you need to mulitple by 4 #endif /* __R_CONFIGURATION_H__ */