#ifndef __GILBRALTAR_SYSCONFIG__ #define __GILBRALTAR_SYSCONFIG__ #define MEGABYTE 0x100000 /* KERNEL_MAX_SIZE is the maximum allowed size of a built kernel image. If your * kernel image contains big data areas it may be required to increase this * value. This value must be a multiple of 16 KByte. */ #ifndef KERNEL_MAX_SIZE #define KERNEL_MAX_SIZE (2 * MEGABYTE) #endif /* KERNEL_STACK_SIZE is the size of the stack set on startup for the main * thread. This must be a multiple of 16 KByte. */ #ifndef KERNEL_STACK_SIZE #define KERNEL_STACK_SIZE 0x20000 #endif #define USE_PHYSICAL_COUNTER #define SERIAL_GPIO_SELECT 14 // and 15 #if __GNUC__ >= 12 // GNU-C 12.x uses floating point registers for optimizations. This may occur // anywhere in the code, even in IRQ and FIQ handlers. #ifndef SAVE_VFP_REGS_ON_IRQ #define SAVE_VFP_REGS_ON_IRQ #endif #ifndef SAVE_VFP_REGS_ON_FIQ #define SAVE_VFP_REGS_ON_FIQ #endif #ifndef __FAST_MATH__ #define __FAST_MATH__ #endif #endif #include "memory_map.h" #endif