摘要:
特别注意:debug时候,CFLAGS AFLAGS 一定要加入 -g 参数。 CFLAGS += -O0 -gdwarf-2 AFLAGS += -gdwarf-2 VS Code中加入汇编断点: 在右侧 Run and Debug窗口的BREAKPOINTS,加入汇编的lable,如_boot、 阅读全文
摘要:
ARRAY_SIZE() #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) Macro to compute the size of the static array arr . Parameters arr static array ALIG 阅读全文
摘要:
QEMU使用Meson构建系统 Meson+Ninja https://github.com/tiernemi/meson-sample-project Zephyr Kconfig+Cmake 实现 Menuconfig https://github.com/jameswalmsley/cmake 阅读全文
摘要:
LIBRARY_PATH和LD_LIBRARY_PATH是Linux下的两个环境变量,二者的含义和作用分别如下: LIBRARY_PATH环境变量用于在程序编译期间查找动态链接库时指定查找共享库的路径,例如,指定gcc编译需要用到的动态链接库的目录。设置方法如下(其中,LIBDIR1和LIBDIR2 阅读全文
摘要:
https://en.cppreference.com/w/c/language/struct_initialization Struct and union initialization C C language Initialization When initializing an object 阅读全文
摘要:
ar -t libxxx.a nm -e libxxx.a nm -g libxxx.a .a静态库文件实际上就是.o目标文件的集合 x[o] - extract file(s) from the archivear -x libxxx.a 提取目标文件 file add.o nm add.o nm 阅读全文
摘要:
ONNX https://github.com/onnx/models Yolo v3、VGG16、VGG19、CenterNet、OpenPose、ResNet-50/ResNet-101 https://github.com/daquexian/onnx-simplifier PyTorch N 阅读全文
摘要:
[diff] tool = bcompare [difftool "bcompare"] cmd = \"/home/user/.beyondcompare/bcompare\" \"$LOCAL\" \"$REMOTE\" [difftool] prompt = false [merge] too 阅读全文
摘要:
https://github.com/victronenergy/QsLog https://github.com/mkroening/qslog QsLog - the simple Qt logger QsLog is an easy to use logger that is based on 阅读全文
摘要:
http://elm-chan.org/fsw/strf/xprintf.html xprintf is a compact string I/O library. It is ideal for tiny microcontrollers that has insufficient program 阅读全文