Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2021 09:10:02 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        FreeBSD User <freebsd@walstatt-de.de>
Cc:        Marc Fonvieille <blackend@freebsd.org>, Andrew Stevenson <andrew@ugh.net.au>, freebsd-embedded@freebsd.org, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Arduino IDF -> make/automake based environment
Message-ID:  <D8C87F44-78B0-4655-9CFD-E38232EC2C17@cs.huji.ac.il>
In-Reply-To: <20211229002510.2e2c9cb0@hermann>
References:  <20211219120947.75530a82@hermann> <0024BDB4-ABFE-4DAE-BC99-0AF43F8B3180@ugh.net.au> <YcCGjt6toaENVLLl@emphyrio.blackend.org> <20211229002510.2e2c9cb0@hermann>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_6F9A623B-5E83-4BA7-AC47-9CFCD8BAF837
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 29 Dec 2021, at 01:25, FreeBSD User <freebsd@walstatt-de.de> wrote:
>=20
> On Mon, 20 Dec 2021 14:35:10 +0100
> Marc Fonvieille <blackend@freebsd.org <mailto:blackend@freebsd.org>> =
wrote:
>=20
>> Le 19.12.2021 21:03, Andrew Stevenson a =C3=A9crit :
>>>=20
>>>=20
>>>> On 19. Dec 2021, at 12:18, FreeBSD User <freebsd@walstatt-de.de> =
wrote:
>>>>=20
>>>> 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. =20
>>>=20
>>> If by small AMTEL MCUs you mean AVRs then avr-gcc and avrdude are in =
ports.
>>>=20
>>=20
>> For ESP32, you should look at:
>> https://wiki.freebsd.org/electronics/arduino/esp32
>=20
> Following these instructions with the most recent required ports on =
the latest 13-STABLE,
> results in an linker error:
>=20
> =
/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
>=20
>=20
>> and
>> =
https://forums.freebsd.org/threads/a-guide-for-installing-esp32-board-for-=
arduino-on-freebsd12-update-2021-08-17.78408/ =
<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 =E2=80=A6

danny


--Apple-Mail=_6F9A623B-5E83-4BA7-AC47-9CFCD8BAF837
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 29 Dec 2021, at 01:25, FreeBSD User &lt;<a =
href=3D"mailto:freebsd@walstatt-de.de" =
class=3D"">freebsd@walstatt-de.de</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
charset=3D"UTF-8" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">On Mon, 20 Dec 2021 14:35:10 +0100</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">Marc Fonvieille &lt;</span><a =
href=3D"mailto:blackend@freebsd.org" style=3D"font-family: Helvetica; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">blackend@freebsd.org</a><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">&gt; wrote:</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D"">Le =
19.12.2021 21:03, Andrew Stevenson a =C3=A9crit :<br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On 19. Dec 2021, at =
12:18, FreeBSD User &lt;<a href=3D"mailto:freebsd@walstatt-de.de" =
class=3D"">freebsd@walstatt-de.de</a>&gt; wrote:<br class=3D""><br =
class=3D"">environment. Since I'm interested in coding for some smaller =
AMTEL MCUs and ESP32<br class=3D"">and like to digg a bit deeper than =
simply clicking a host base from a menu, I'm not<br class=3D"">afraid of =
doing some larger basic setup if needed. &nbsp;<br =
class=3D""></blockquote><br class=3D"">If by small AMTEL MCUs you mean =
AVRs then avr-gcc and avrdude are in ports.<br class=3D""><br =
class=3D""></blockquote><br class=3D"">For ESP32, you should look at:<br =
class=3D""><a href=3D"https://wiki.freebsd.org/electronics/arduino/esp32" =
class=3D"">https://wiki.freebsd.org/electronics/arduino/esp32</a><br =
class=3D""></blockquote><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Following these instructions with the most recent required =
ports on the latest 13-STABLE,</span><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">results in an linker error:</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2=
.0/../../../../xtensa-esp32-elf/bin/ld:</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">cannot find crt1-sim.o: No such file or directory</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" =
class=3D"">/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2=
.0/../../../../xtensa-esp32-elf/bin/ld:</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">cannot find _vectors.o: No such file or directory</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
16px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">collect2: error: ld returned 1 =
exit status</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 16px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 16px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 16px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><blockquote type=3D"cite" style=3D"font-family: =
Helvetica; font-size: 16px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D"">and<br =
class=3D""><a =
href=3D"https://forums.freebsd.org/threads/a-guide-for-installing-esp32-bo=
ard-for-arduino-on-freebsd12-update-2021-08-17.78408/" =
class=3D"">https://forums.freebsd.org/threads/a-guide-for-installing-esp32=
-board-for-arduino-on-freebsd12-update-2021-08-17.78408/</a></blockquote><=
/div></blockquote></div><br class=3D""><div class=3D"">i gave up =
compiling the xtensa stuff, specially after espressif came out with a =
riscv version.</div><div class=3D"">so I downloaded the oficial idf and =
under FreeBSD-13 it almost worked &nbsp;out of the box,</div><div =
class=3D"">if you want I can search my notes =E2=80=A6</div><div =
class=3D""><br class=3D""></div><div class=3D"">danny</div><div =
class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_6F9A623B-5E83-4BA7-AC47-9CFCD8BAF837--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8C87F44-78B0-4655-9CFD-E38232EC2C17>