sdk-hwV1.3/lichee/xr806/appos/README.md

1.4 KiB
Executable File

XR806 SDK

XR806 SDK supports XR806 series wireless MCUs.

Configuration

  • Edit "gcc.mk" to define GCC path to your own path, eg.
  CC_DIR = ~/tools/gcc-arm-none-eabi-8-2019-q3-update/bin

Building

  • Building commands
  $                        # make sure in SDK top dir
  $ make PRJ=${prj} defconfig or  cp ${prj_defconfig} .config
                           # eg. make PRJ=demo/wlan_demo defconfig or copy project/demo/wlan_demo/gcc/defconfig .config
  $ make menuconfig        # check configuration, like board/XTAL/XIP/CacheSize/...
  $ make lib               # build libraries and copy them to "lib"
  $ make lib_clean         # remove files in "src" generated by `make lib`
  $ make lib_install_clean # Remove libraries in "lib" generated by `make lib`
  $ make                   # build the executable binary
  $ make clean             # remove files generated by `make`
  $ make image             # create the image file
  $ make image_clean       # remove files generated by `make image`
  $ make objdump           # generate the disassembled file
  $ make build             # same as `make lib && make && make image`
  $ make build_clean       # same as `make image_clean clean lib_clean lib_install_clean`