Re: Arduino IDF -> make/automake based environment

2021-12-28 Thread Daniel Braniss


> On 29 Dec 2021, at 01:25, FreeBSD User  wrote:
> 
> On Mon, 20 Dec 2021 14:35:10 +0100
> Marc Fonvieille mailto:black...@freebsd.org>> wrote:
> 
>> Le 19.12.2021 21:03, Andrew Stevenson a écrit :
>>> 
>>> 
 On 19. Dec 2021, at 12:18, FreeBSD User  wrote:
 
 environment. Since I'm interested in coding for some smaller AMTEL MCUs 
 and ESP32
 and like to digg a bit deeper than simply clicking a host base from a 
 menu, I'm not
 afraid of doing some larger basic setup if needed.  
>>> 
>>> If by small AMTEL MCUs you mean AVRs then avr-gcc and avrdude are in ports.
>>> 
>> 
>> For ESP32, you should look at:
>> https://wiki.freebsd.org/electronics/arduino/esp32
> 
> Following these instructions with the most recent required ports on the 
> latest 13-STABLE,
> results in an linker error:
> 
> /usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld:
> cannot find crt1-sim.o: No such file or directory
> /usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld:
> cannot find _vectors.o: No such file or directory
> collect2: error: ld returned 1 exit status
> 
> 
>> and
>> https://forums.freebsd.org/threads/a-guide-for-installing-esp32-board-for-arduino-on-freebsd12-update-2021-08-17.78408/
>>  
>> 
i gave up compiling the xtensa stuff, specially after espressif came out with a 
riscv version.
so I downloaded the oficial idf and under FreeBSD-13 it almost worked  out of 
the box,
if you want I can search my notes …

danny



Re: Arduino IDF -> make/automake based environment

2021-12-28 Thread FreeBSD User
On Mon, 20 Dec 2021 14:35:10 +0100
Marc Fonvieille  wrote:

> Le 19.12.2021 21:03, Andrew Stevenson a écrit :
> > 
> >   
> > > On 19. Dec 2021, at 12:18, FreeBSD User  wrote:
> > > 
> > > environment. Since I'm interested in coding for some smaller AMTEL MCUs 
> > > and ESP32
> > > and like to digg a bit deeper than simply clicking a host base from a 
> > > menu, I'm not
> > > afraid of doing some larger basic setup if needed.  
> > 
> > If by small AMTEL MCUs you mean AVRs then avr-gcc and avrdude are in ports.
> >  
> 
> For ESP32, you should look at:
> https://wiki.freebsd.org/electronics/arduino/esp32

Following these instructions with the most recent required ports on the latest 
13-STABLE,
results in an linker error:

/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld:
cannot find crt1-sim.o: No such file or directory
/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld:
cannot find _vectors.o: No such file or directory
collect2: error: ld returned 1 exit status


> and
> https://forums.freebsd.org/threads/a-guide-for-installing-esp32-board-for-arduino-on-freebsd12-update-2021-08-17.78408/
>