Repository navigation
build a new project
liangyihong edited this page Feb 22, 2019
·
4 revisions
- Edit "gcc.mk" to define GCC path to your own path, eg.
CC_DIR = ~/tools/gcc-arm-none-eabi-4_9-2015q2/bin
Note: Execute the following commands in Cygwin or Ubuntu terminal.
- Change working directory to your project's path, all the following commands are executed in this path
$ cd ${prj_gcc_path} # eg. cd project/wlan_demo/gcc
- Build libraries and copy them to "lib"
$ make lib
- Remove files in "src" generated by
make lib
$ make lib_clean
- Remove libraries in "lib" generated by
make lib
$ make lib_install_clean
- Build the executable binary
$ make
- Remove files generated by
make
$ make clean
- Create the image file
$ make image
- Remove files generated by
make image
$ make image_clean
- Generate the disassembled file
$ make objdump
- Build all in one command, the same as
make lib && make && make image
$ make build
- Clean all in one command, the same as
make image_clean clean lib_clean lib_install_clean
$ make build_clean
- Building "wlan_demo" project
$ cd project/wlan_demo/gcc
$ make build_clean
$ make build
- Building bootloader
$ cd project/bootloader/gcc
$ make build_clean
$ make build
- Setup the Build Environment
- Create a New Project
- Build a New Project
-
Application Developer Guide
- Image Layout Guide
- WiFi Developer Guide
- Audio Developer Guide
- FOTA Developer Guide
- PM Developer Guide*
- XIP Developer Guide
- FLASH Developer Guide*
- AT-Command Developer Guide*
- Console Developer Guide*
- Console Command Set
- EFPG Developer Guide*
- FDCM Developer Guide*
- HTTP Developer Guide
- Websocket Develop Guide*
- Driver Developer Guide*
- Tools User Guide
- FAQ
- Ask a question
- Submit an issue
- Open a pull request
- Change Log