Oopenvela-robotcmake/arm: remove duplicate LTO config block in elf.cmake
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arm_m: add directory and move arm_tcbinfo into arm_m Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
build: add initial cmake build system 1. Update all CMakeLists.txt to adapt to new layout 2. Fix cmake build break 3. Update all new file license 4. Fully compatible with current compilation environment(use configure.sh or cmake as you choose) ------------------ How to test From within nuttx/. Configure: cmake -B build -DBOARD_CONFIG=sim/nsh -GNinja cmake -B build -DBOARD_CONFIG=sim:nsh -GNinja cmake -B build -DBOARD_CONFIG=sabre-6quad/smp -GNinja cmake -B build -DBOARD_CONFIG=lm3s6965-ek/qemu-flat -GNinja (or full path in custom board) : cmake -B build -DBOARD_CONFIG=$PWD/boards/sim/sim/sim/configs/nsh -GNinja This uses ninja generator (install with sudo apt install ninja-build). To build: $ cmake --build build menuconfig: $ cmake --build build -t menuconfig -------------------------- 2. cmake/build: reformat the cmake style by cmake-format https://github.com/cheshirekow/cmake_format $ pip install cmakelang $ for i in find -name CMakeLists.txt;do cmake-format $i -o $i;done $ for i in find -name *\.cmake;do cmake-format $i -o $i;done Co-authored-by: Matias N <matias@protobits.dev> Signed-off-by: chao an <anchao@xiaomi.com> | 2 个月前 | |
arch: delete -fno-optimize-sibling-calls Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
arch/arm: Add LLVM configuration to CMake Added LLVM-specific configuration variables to ARM architecture CMake files: - LLVM_ARCHTYPE for architecture variant (thumbv6m, thumbv7a, etc) - LLVM_CPUTYPE for CPU target (cortex-m0, cortex-a5, etc) - LLVM_ABITYPE for ABI (eabi/eabihf) These changes enable LLVM/Clang toolchain support while maintaining compatibility with existing GCC configurations. The LLVM variables are set based on the same architecture/CPU/FPU configurations used for GCC flags. Signed-off-by: Huang Qi <huangqi3@xiaomi.com> | 2 个月前 | |
arch/arm: Add LLVM configuration to CMake Added LLVM-specific configuration variables to ARM architecture CMake files: - LLVM_ARCHTYPE for architecture variant (thumbv6m, thumbv7a, etc) - LLVM_CPUTYPE for CPU target (cortex-m0, cortex-a5, etc) - LLVM_ABITYPE for ABI (eabi/eabihf) These changes enable LLVM/Clang toolchain support while maintaining compatibility with existing GCC configurations. The LLVM variables are set based on the same architecture/CPU/FPU configurations used for GCC flags. Signed-off-by: Huang Qi <huangqi3@xiaomi.com> | 2 个月前 | |
Revert "toolchain/cmake: Unified setting of CMake environment variables" This reverts commit 031200b1aa44fb56743dd5f441c1e496665ca990. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
mm: Fix some typos Signed-off-by: xuxingliang <xuxingliang@xiaomi.com> | 2 个月前 | |
greenhills: add cmake support 1. refactor the ghs/gcc/clang/armclang toolchain management in CMake 2. unify the cmake toolchain naming style 3. support greenhills build procedure with CMake 4. add protect build for greenhills and gnu toolchain with CMake Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
greenhills: add cmake support 1. refactor the ghs/gcc/clang/armclang toolchain management in CMake 2. unify the cmake toolchain naming style 3. support greenhills build procedure with CMake 4. add protect build for greenhills and gnu toolchain with CMake Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
ghs: change the vfpv3 to vfpv5 referring to the documentation of Armv7-m, it is recommended to use teh vfpv5 compile option Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
build: add initial cmake build system 1. Update all CMakeLists.txt to adapt to new layout 2. Fix cmake build break 3. Update all new file license 4. Fully compatible with current compilation environment(use configure.sh or cmake as you choose) ------------------ How to test From within nuttx/. Configure: cmake -B build -DBOARD_CONFIG=sim/nsh -GNinja cmake -B build -DBOARD_CONFIG=sim:nsh -GNinja cmake -B build -DBOARD_CONFIG=sabre-6quad/smp -GNinja cmake -B build -DBOARD_CONFIG=lm3s6965-ek/qemu-flat -GNinja (or full path in custom board) : cmake -B build -DBOARD_CONFIG=$PWD/boards/sim/sim/sim/configs/nsh -GNinja This uses ninja generator (install with sudo apt install ninja-build). To build: $ cmake --build build menuconfig: $ cmake --build build -t menuconfig -------------------------- 2. cmake/build: reformat the cmake style by cmake-format https://github.com/cheshirekow/cmake_format $ pip install cmakelang $ for i in find -name CMakeLists.txt;do cmake-format $i -o $i;done $ for i in find -name *\.cmake;do cmake-format $i -o $i;done Co-authored-by: Matias N <matias@protobits.dev> Signed-off-by: chao an <anchao@xiaomi.com> | 2 个月前 | |
toolchain/arm/clang:Update clang compilation specifications Delete the specified --config, clang can automatically find the library file through the set -march, -mcpu, and -mfpu Otherwise, different versions of clang support different special cfg settings. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
armv8-r:cmake use -march inside of -mcpu Avoid specifying both the architecture ( -march) and the processor ( -mcpu) because specifying both has the potential to cause a conflict. The compiler infers the correct architecture from the processor. Documentation:https://developer.arm.com/documentation/101754/0624/armclang-Reference/armclang-Command-line-Options/-march?lang=en Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arm/clang: add option to use newlib cfg if select libm of toolchain Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
cmake/arm: remove duplicate LTO config block in elf.cmake The if(CONFIG_BINFMT_ELF_RELOCATABLE) block and nuttx_mod_compile_options_ifdef for CONFIG_LTO_FULL at lines 54-57 were exact duplicates of the block at lines 49-52. Remove the redundant copy. Signed-off-by: haopengxiang <haopengxiang@xiaomi.com> | 2 个月前 | |
arch: delete -fno-optimize-sibling-calls Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
arch: delete -fno-optimize-sibling-calls Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
arm/toolchain/cmake: support cortexm85 Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 |