Ousia is a project mainly written in ..., based on the View license.
Real-Time Ousia
Real-Time Ousia COPYRIGHT (C) LEAFGRASS
"Ousia" is picked from Greek. Mainly intend to represent the essence of Real-Time Theory. Developed following K-I-S-S principle.
Parts of make system and libmaple stm32 low-level code are borrowed from libmaple. Thanks to their excellent works!
core: Ousia core routines. Ousia porting code are also placed here. docs: Complete documentation of Ousia. driver: Different kinds of device drivers based on Ousia. They are all configurable. framework: Framework based on Ousia. Such as shell, vfs, etc. They are scalable and configurable, either. include: Header files of main routines of Ousia. platform: Chip and board specific code. project: Project source code. Include several sample project instances. script: Useful scripts used while Ousia developing. support: Basic supporting stuffs for Ousia developing and building. Useful template files are placed here, such as porting code template.
Create a directory named PLATFORM_NAME in folder "platform", then enter it.
Create three files: rules.mk config.mk target.mk. @rules.mk: makefile source code related rules @config.mk: parameters or flags for toolchains and environment @target.mk: rules for building target
Create a directory named "port" there then create three files in it. @ousia_cfg.h: os scalability related configuration. @ousia_port.h: header of porting code. @ousia_port.c: implentation of porting.
Create other porting related stuffs, such as linker scripts, if necessary.
Update TARGET_PLATFORM and PROJECT_NAME in main Makefile, then make.
Ps: If modify porting related code, should not edit directly in "core/port", do that in specific platform directory instead, e.g. "platform/stm32/port". Because makefile will copy them into "core/port" automatically.
Only modify the header TODO in root Makefile