1
0
Fork 0

feat/kernel: Added support for Kconfig and flanterm if needed

This commit is contained in:
Kevin Alavik 2025-05-15 20:47:52 +02:00
parent 65ba98a089
commit 89795c4ad8
Signed by: cmpsb
GPG key ID: 10D1CC0526FDC6D7
9 changed files with 179 additions and 16 deletions

33
kernel/Kconfig Normal file
View file

@ -0,0 +1,33 @@
mainmenu "EMK Build Configuration"
choice
prompt "Build Mode"
default BUILD_MODE_DEBUG
config BUILD_MODE_DEBUG
bool "Debug"
help
Build with debug symbols and no optimizations.
config BUILD_MODE_RELEASE
bool "Release"
help
Build with optimizations and no debug symbols.
endchoice
choice
prompt "Kernel Heap Algorithm"
default KERNEL_HEAP_FF
config KERNEL_HEAP_FF
bool "First-Fit"
help
Use the First-Fit memory allocation algorithm (ff.c).
endchoice
config ENABLE_FLANTERM
bool "Enable Flanterm Support"
help
Includes support for the Flanterm terminal emulator. Useful for debugging real hardware.