1. 放置代码
在./source/driver/char下放置模块文件夹
2. Makefile和Kconfig
makefile文件参考
obj-$(AAA_LED) AAA-led.oKconfig文件参考
config AAA_LEDtristate "Phytium macb led control module"depends on XXXdefault mhelpIf you have a n…
1 文本格式 #include<iostream> using namespace std;
// A BTree node class BTreeNode { int* keys; // An array of keys int t; // Minimum degree (defines the range for number of keys) BTreeNode** C; // An array of child pointers int …