feat/kernel: Added support for Kconfig and flanterm if needed
This commit is contained in:
parent
65ba98a089
commit
89795c4ad8
9 changed files with 179 additions and 16 deletions
33
kernel/Kconfig
Normal file
33
kernel/Kconfig
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue