dbuezas / lgt8fx

Board Package for Logic Green LGT8F328P LGT8F328D and LGT8F88D
362 stars 87 forks source link

use with Void Linux arduino package #177

Closed jg1uaa closed 1 year ago

jg1uaa commented 3 years ago

Void Linux's arduino package specifies compiler.path=/usr/bin/ in /usr/lib/arduino/hardware/arduino/avr/platform.txt and use /usr/bin/avr-g++ (in avr-gcc package).

We cannot simply install lgt8fx package into void's arduino. After installing, we have to fix platform.txt; replace compiler.path={runtime.avr-gcc.path}/bin/ to compiler.path=/usr/bin/ .

Maybe no need to care. Simply add notes to suitable document, I think.

dwillmore commented 1 year ago

You might be better off finding out hoe runtime.avr-gcc.path is set and altering that. There may be a better way for that code to detect your distirbution.