CC2640R2F supports Alibaba Cloud Link IoT platform
[Copy link]
This post was last edited by Jacktang on 2020-2-2 18:01
CC2640R2F already supports Alibaba Cloud Link IoT platform, which can help customers quickly develop products. There are routines available for customers. Please refer to the following for details:
IntroductionThe
demo is based on SimpleLink CC2640R2 SDK 1.35.00.33, which integrates Alibaba IOT support. For the original CC2640R2 SDK, please refer to http://www.ti.com/tool/SIMPLELINK-CC2640R2-SDK. The ALI IOT library in the demo is compiled based on IAR 8.20.1.
Demo Projects
does not modify the original CC2640R2 SDK structure. It is developed based on the simple_peripheral_aliiot routine. The sample project directory is in examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_aliiot\tirtos\iar.
If OAD support is needed, a BIM project is required, the directory is examples\rtos\CC2640R2_LAUNCHXL\blestack\bim_oad_offchip_aliiot.
How to compile
BIM projects? Please refer to the original SDK for details.
After opening the simple_peripheral_aliiot IAR project, the Workspace will have the following options:
- FlashROM_OTA_SECURE: Both OAD and encryption functions are supported
- FlashROM_OTA: only supports OAD function, encryption function is not supported
- FlashROM_SECURE: supports encryption function, but not OAD function
- FlashROM_OPEN: does not support encryption or OAD
After compiling the stack and app in IAR, the corresponding hex file will be generated in the directory of examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral_aliiot/tirtos/iar/app, which is no different from the original CC2640R2 SDK.
If you need to generate the hex file of stack+app+BIM, please run examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_aliiot\tirtos\iar\app\merge.bat.
If you need to generate the OAD upgrade file, please refer to examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_aliiot\tirtos\iar\app\image_release.c. This file generates the OAD bin file, which can be modified and cropped according to the needs of the project and define your own image format.
|