很久之前就支持国货了,但是买了就放一边了 最近又想拿出来玩玩 也顺便记录下安装过程 省得又忘了
一 官网下需要的包 那东西需要arduino 1.8以上版本
http://www.lgtic.com/downloads/
http://www.lgtic.com/upload/tools/arduino/Larduino_HSP_latest.rar
或者上github 建议上git 这个更新
https://github.com/LGTMCU/Larduino_HSP.git
二 解压 保存到 -- 项目文件夹位置 这个位置里 全复制进行就行了
或者直接扔到arduino的hardware/目录下
我的在这里。。。/home/zc/arduino-1.8.9/hardware/
三 修改下 bootloader.file 文件的位置 我的在
/home/zc/Arduino/hardware/LGT/avr/boards.txt --修改这个.txt ---git上的文件没这问题。。。。
原来的类似这样的:
lardu_328p48.bootloader.file=lgt8fx8p\optiboot_lgt8f328p.hex
在ubuntu下斜杠反的,估计MAC下也不行
改成
lardu_328p48.bootloader.file=lgt8fx8p/optiboot_lgt8f328p.hex
就改个斜杠!!!
查找下都改了就好