蓝牙模块TB-03F开发环境搭建

TB-03F开发环境搭建

  • 下载工具链并解压到/opt目录
# cd /opt/
# wget https://shyboy.oss-cn-shenzhen.aliyuncs.com/readonly/tc32_gcc_v2.0.tar.bz2

# tar xvjf tc32_gcc_v2.0.tar.bz2
# ls

  • 设置环境变量
# vi ~/.bash_profile 
//添加: PATH=$PATH:/opt/tc32/bin

# source ~/.bash_profile 

//测试是否生效
# tc32-elf-gcc -v

  • 安装SDK并编译
# git clone https://github.com/Ai-Thinker-Open/Telink_SIG_Mesh.git
# cd Telink_SIG_Mesh/examples/8258_mesh
# make all

//输出如下信息表示成功
Invoking: Print Size
tc32-elf-size -t / ... /Telink_SIG_Mesh/examples/8258_mesh/out/8258_mesh.elf
text    data     bss     dec     hex filename
134720    2724   14160  151604   25034 / ... /Telink_SIG_Mesh/examples/8258_mesh/out/8258_mesh.elf
134720    2724   14160  151604   25034 (TOTALS)
Finished building: sizedummy

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值