| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch: add noinstrument_function to up_irq_save/restore Add noinstrument_function attribute to up_irq_save and up_irq_restore functions across all architectures that were missing it. These functions are called in the instrument callback path and must not be instrumented to avoid infinite recursion when CONFIG_ARCH_INSTRUMENT_ALL is enabled. Note: armv7-a, armv7-r, armv8-r, risc-v, xtensa, and tricore already had noinstrument_function attribute. Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> | 2 个月前 | |
arm:modlib not support unwind table now modlib_read: Read 64 bytes from offset 192665 modlib_symvalue: ERROR: SHN_UNDEF: Exported symbol "__gnu_Unwind_Find_exidx" not found modlib_relocate: ERROR: Section 2 reloc 12: Failed to get value of symbol[246]: -2 elf_loadbinary: Failed to bind symbols program binary: -2 builtin_loadbinary: Loading file: /mnt/sotest Signed-off-by: anjiahao <anjiahao@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/arm_m: merge systick Move SYSTICK from v7/8m into arm_m For compatible, keep ARMV7M_SYSTICK and ARMV8M_SYSTICK, reduce the change of defconfig and Kconfig Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 |