User:Daniele.cattaneo
Hi :)
Github (work): [1]
Github (personal): Secret
MInimal Operating System with posIX
Adding support for a new STM32 board in Miosix
Template:Note Template:Warning Template:Tip
Chip-defined internal variables
Each directory specific to a chip includes a CMakeLists.txt that defines a set of variables that describes that chip. This is the list of variables that these scripts need to define.
| Variable | Explanation |
|---|---|
| MIOSIX_CPU_INC | Path of the directory with Miosix include files for the CPU in this chip. The source files associated with the correct CPU are included in the MIOSIX_CHIP_SRC variable. |
| MIOSIX_MULTILIB_PATH | Path of the GCC multilibs for this CPU. Use by clang/LLVM support, to be removed in the future. |
| MIOSIX_CPU_FLAGS | Compiler flags selecting the CPU. Passed to the C and C++ compilers, and to the assembler and the C++ compiler while linking too. |
| MIOSIX_CHIP_{C | CXX}_FLAGS | Additional flags for the chip. Usually includes a -D_CHIP_{CHIP_NAME} option to make Miosix aware of the chip choice.
|
| MIOSIX_CHIP_SRC | List of chip and CPU specific files to be compiled with the Miosix kernel. |