intelligent-agent / Refactor

Linux distro for 3D-printers
https://wiki.iagent.no/wiki/Refactor
GNU Affero General Public License v3.0
28 stars 19 forks source link

The PATH variable does not include the ar100 compiler #371

Closed goeland86 closed 1 year ago

goeland86 commented 1 year ago

Whenever a Klipper upgrade is installed, one needs to recompile the MCU firmware. For STM32 it's not a problem. However for the AR100, the or1k compiler is in /opt/output/bin, which is

  1. Not an appropriate path as it doesn't clearly state what it is, we need to rename /opt/output to reflect the or1k-cc toolchain inside it
  2. Not part of the standard path. It should be easy enough to modify /etc/profile or /etc/bashrc to include the new path in the default PATH so that one does not need to manually add it every time an update needs recompiling.
eliasbakken commented 1 year ago

OK in latest master.