Hi Daniel,
> I try compile to Arduino plataform using Microscheme (installed with:
> guix package -i microscheme) on GuixSD, but there are errors.
>
> I did:
> sudo microscheme -m UNO -d /dev/ttyACM0 -au lightom.ms
This is unrelated but I recommend not using “sudo” here. You can add a
udev rule to your system configuration to change the ownership of
/dev/ttyACM0.
For my AVR programmers I have this in my system configuration:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(define avrispmkii-udev-rule
(udev-rule "90-avrispmkii.rules"
"\
SUBSYSTEM!=\"usb\", ACTION!=\"add\", GOTO=\"avrisp_end\"
# Atmel Corp. JTAG ICE mkII
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2103\", MODE=\"660\",
GROUP=\"dialout\"
# Atmel Corp. AVRISP mkII
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\",
GROUP=\"dialout\"
# Atmel Corp. Dragon
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2107\", MODE=\"660\",
GROUP=\"dialout\"
LABEL=\"avrisp_end\"\n"))
(operating-system
…
(services (cons* (modify-services %desktop-services
(udev-service-type config =>
(udev-configuration
(inherit config)
(rules (append
(udev-configuration-rules config)
(list
avrispmkii-udev-rule))))))))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Errors:
> ...
>>> 32 lines compiled OK
>>> Assembling...
> avr-ld: cannot find crtatmega328p.o: No such file or directory
This is a bug in our AVR toolchain. The internal search path for these
files appears to be wrong. What I did was copy the “crt*.o” file I
needed to my working directory. Maybe you can send an email to
[email protected] to report this as a bug?
> I have avr-gcc avr-libc avrdude avr-binutils avr-toolchain installed.
You only need “avr-toolchain” as it contains all the other packages.
~~ Ricardo