* bug#23984: Bug avr-toolchain
@ 2016-07-14 14:18 Daniel Pimentel
2016-07-14 19:36 ` Ricardo Wurmus
2020-04-19 9:32 ` bug#23984: Closing “Bug avr-toolchain”? Brice Waegeneire
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Pimentel @ 2016-07-14 14:18 UTC (permalink / raw)
To: 23984
Guix,
I'd like report a bug in our avr-toolchain. 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
Output:
...
32 lines compiled OK
Assembling...
...
avr-ld: cannot find crtatmega328p.o: No such file or directory
...
avrdude: Device signature = 0x1e950f
avrdude: reading input file "lightom.hex"
avrdude: can't open input file lightom.hex: No such file or directory
avrdude: read from file 'lightom.hex' failed
I have avr-gcc avr-libc avrdude avr-binutils avr-toolchain installed
(only avr-toolchain is needed).
I'll try debug and fix it.
--
Daniel Pimentel (aka d4n1)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#23984: Bug avr-toolchain
2016-07-14 14:18 bug#23984: Bug avr-toolchain Daniel Pimentel
@ 2016-07-14 19:36 ` Ricardo Wurmus
2020-04-19 9:32 ` bug#23984: Closing “Bug avr-toolchain”? Brice Waegeneire
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-07-14 19:36 UTC (permalink / raw)
To: Daniel Pimentel; +Cc: 23984
Daniel Pimentel <d4n1@d4n1.org> writes:
> I'd like report a bug in our avr-toolchain. 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
>
> Output:
> ...
> 32 lines compiled OK
> Assembling...
> ...
> avr-ld: cannot find crtatmega328p.o: No such file or directory
This looks like a search path issue. If you copy this file from the
depths of the output directory to the current directory it should work
fine (works for me).
> ...
> avrdude: Device signature = 0x1e950f
> avrdude: reading input file "lightom.hex"
> avrdude: can't open input file lightom.hex: No such file or directory
> avrdude: read from file 'lightom.hex' failed
These errors will disappear once the above error is fixed.
Thanks for taking care of this!
~~ Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#23984: Closing “Bug avr-toolchain”?
2016-07-14 14:18 bug#23984: Bug avr-toolchain Daniel Pimentel
2016-07-14 19:36 ` Ricardo Wurmus
@ 2020-04-19 9:32 ` Brice Waegeneire
1 sibling, 0 replies; 3+ messages in thread
From: Brice Waegeneire @ 2020-04-19 9:32 UTC (permalink / raw)
To: 23984
Hello Guix,
Like Ricardo I can't reproduce this 4 years old bug:
--8<---------------cut here---------------start------------->8---
$ guix environment --pure --ad-hoc microscheme avr-toolchain -- \
microscheme -m UNO -a examples/blink-led-morse.ms
Microscheme 0.9.3, (C) Ryan Suchocki
>> Treeshaker: After 4 rounds: 88 globals purged! 32 bytes will be
>> reserved.
>> 114 lines compiled OK
>> Assembling...
>> Finished.
--8<---------------cut here---------------end--------------->8---
We should close it.
- Brice
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-19 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 14:18 bug#23984: Bug avr-toolchain Daniel Pimentel
2016-07-14 19:36 ` Ricardo Wurmus
2020-04-19 9:32 ` bug#23984: Closing “Bug avr-toolchain”? Brice Waegeneire
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).