User:Daniele.cattaneo: Difference between revisions
Jump to navigation
Jump to search
m Minor Edit |
No edit summary |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Github (personal): Secret | Github (personal): Secret | ||
MInimal Operating System with posIX | |||
[[Miosix in emulation]] | |||
[[arch directory restructuring]] | |||
[[Miosix 3]] | |||
[[Multicore]] | |||
[[mxgui qtsimulator on windows]] | |||
[[Adding support for a new STM32 board in Miosix]] | |||
[[CMake Build System]] | |||
[[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. | |||
{| class="wikitable" | |||
|- | |||
! 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 <code>-D_CHIP_{CHIP_NAME}</code> 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. | |||
|} | |||
Latest revision as of 20:20, 17 September 2026
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. |