Compile Esp8266/Esp32 Arduino Code with gmake on FreeBSD

This is inspired by Raffeale from FreeBSD forum. The original link is here.

Yet when following the step of Raffeale’s post, I bumped into some trouble. So, with a little trial and error myself. I’v figured out a way to compile code for Esp8266 with gmake.

System and Board

This is tested on FreeBSD 12.2 release amd64. No problem at all.

The board I’m using is NodeMcuv2.

Other system or board is not tested.

Steps

I’m dealing with Uno boards and Esp at the same time, so I installed the following packages.

# gives u both ability to compile code for arduino uno series and esp series
sudo pkg install arduino-mk arduino-core uarduno arduino-builder

Next step is to clone the Esp8266 official repo. Y

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值