├── .gitignore ├── CMakeLists.txt ├── Kconfig ├── README.md ├── README_zh.md ├── boards ├── CMakeLists.txt ├── board.c └── board.h ├── cmake ├── compiler_flags.cmake ├── extension.cmake ├── toolchain.cmake └── xxx_sdk-config.cmake ├── components ├── CMakeLists.txt ├── Kconfig ├── component1 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component1.c │ └── component1.h ├── component2 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component2.c │ └── component2.h └── component3 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── component3.c │ └── component3.h ├── drivers ├── CMakeLists.txt ├── include │ ├── spi.h │ └── uart.h └── src │ ├── spi.c │ └── uart.c ├── examples ├── CMakeLists.txt ├── Makefile ├── helloworld │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile │ ├── main.c │ ├── proj.conf │ └── template.ld └── helloworld2 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── Makefile │ ├── main.c │ └── proj.conf ├── misc └── empty_file.c ├── project.build └── tools └── kconfig ├── genconfig.py ├── kconfiglib.py ├── menuconfig.py └── runcmake.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Kconfig: -------------------------------------------------------------------------------- 1 | source "$SDK_BASE/components/Kconfig" -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/README.md -------------------------------------------------------------------------------- /README_zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/README_zh.md -------------------------------------------------------------------------------- /boards/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/boards/CMakeLists.txt -------------------------------------------------------------------------------- /boards/board.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/boards/board.c -------------------------------------------------------------------------------- /boards/board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/boards/board.h -------------------------------------------------------------------------------- /cmake/compiler_flags.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/cmake/compiler_flags.cmake -------------------------------------------------------------------------------- /cmake/extension.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/cmake/extension.cmake -------------------------------------------------------------------------------- /cmake/toolchain.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/cmake/toolchain.cmake -------------------------------------------------------------------------------- /cmake/xxx_sdk-config.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/cmake/xxx_sdk-config.cmake -------------------------------------------------------------------------------- /components/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/CMakeLists.txt -------------------------------------------------------------------------------- /components/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/Kconfig -------------------------------------------------------------------------------- /components/component1/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component1/CMakeLists.txt -------------------------------------------------------------------------------- /components/component1/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component1/Kconfig -------------------------------------------------------------------------------- /components/component1/component1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component1/component1.c -------------------------------------------------------------------------------- /components/component1/component1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component1/component1.h -------------------------------------------------------------------------------- /components/component2/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component2/CMakeLists.txt -------------------------------------------------------------------------------- /components/component2/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component2/Kconfig -------------------------------------------------------------------------------- /components/component2/component2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component2/component2.c -------------------------------------------------------------------------------- /components/component2/component2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component2/component2.h -------------------------------------------------------------------------------- /components/component3/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component3/CMakeLists.txt -------------------------------------------------------------------------------- /components/component3/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component3/Kconfig -------------------------------------------------------------------------------- /components/component3/component3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component3/component3.c -------------------------------------------------------------------------------- /components/component3/component3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/components/component3/component3.h -------------------------------------------------------------------------------- /drivers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/drivers/CMakeLists.txt -------------------------------------------------------------------------------- /drivers/include/spi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/drivers/include/spi.h -------------------------------------------------------------------------------- /drivers/include/uart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/drivers/include/uart.h -------------------------------------------------------------------------------- /drivers/src/spi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/drivers/src/spi.c -------------------------------------------------------------------------------- /drivers/src/uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/drivers/src/uart.c -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/Makefile -------------------------------------------------------------------------------- /examples/helloworld/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld/CMakeLists.txt -------------------------------------------------------------------------------- /examples/helloworld/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld/Kconfig -------------------------------------------------------------------------------- /examples/helloworld/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld/Makefile -------------------------------------------------------------------------------- /examples/helloworld/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld/main.c -------------------------------------------------------------------------------- /examples/helloworld/proj.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld/proj.conf -------------------------------------------------------------------------------- /examples/helloworld/template.ld: -------------------------------------------------------------------------------- 1 | ENTRY(_start) -------------------------------------------------------------------------------- /examples/helloworld2/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld2/CMakeLists.txt -------------------------------------------------------------------------------- /examples/helloworld2/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld2/Kconfig -------------------------------------------------------------------------------- /examples/helloworld2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld2/Makefile -------------------------------------------------------------------------------- /examples/helloworld2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld2/main.c -------------------------------------------------------------------------------- /examples/helloworld2/proj.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/examples/helloworld2/proj.conf -------------------------------------------------------------------------------- /misc/empty_file.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/project.build -------------------------------------------------------------------------------- /tools/kconfig/genconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/tools/kconfig/genconfig.py -------------------------------------------------------------------------------- /tools/kconfig/kconfiglib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/tools/kconfig/kconfiglib.py -------------------------------------------------------------------------------- /tools/kconfig/menuconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/tools/kconfig/menuconfig.py -------------------------------------------------------------------------------- /tools/kconfig/runcmake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sakumisu/cmake_framework/HEAD/tools/kconfig/runcmake.py --------------------------------------------------------------------------------