Date: Wed, 29 Dec 2021 15:16:38 +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: <23D75BE9-B42C-4403-9569-728E3E94B169@cs.huji.ac.il> In-Reply-To: <20211229130641.26a93b2f@hermann> References: <20211219120947.75530a82@hermann> <0024BDB4-ABFE-4DAE-BC99-0AF43F8B3180@ugh.net.au> <YcCGjt6toaENVLLl@emphyrio.blackend.org> <20211229002510.2e2c9cb0@hermann> <D8C87F44-78B0-4655-9CFD-E38232EC2C17@cs.huji.ac.il> <20211229130641.26a93b2f@hermann>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_B2BB71DB-FA9E-47A5-BC13-B80005EBFC15 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 29 Dec 2021, at 14:06, FreeBSD User <freebsd@walstatt-de.de> wrote: >=20 > On Wed, 29 Dec 2021 09:10:02 +0200 > Daniel Braniss <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> = wrote: >=20 >>> On 29 Dec 2021, at 01:25, FreeBSD User <freebsd@walstatt-de.de = <mailto:freebsd@walstatt-de.de>> wrote: >>>=20 >>> On Mon, 20 Dec 2021 14:35:10 +0100 >>> Marc Fonvieille <blackend@freebsd.org <mailto:blackend@freebsd.org> = <mailto:blackend@freebsd.org <mailto:blackend@freebsd.org>>> wrote: >>>=20 >>>> Le 19.12.2021 21:03, Andrew Stevenson a =C3=A9crit : =20 >>>>>=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 >>>=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/> >>>> = <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/>> >>>>=20 >> 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 >>=20 >> danny >>=20 >=20 > Hello. >=20 > I think, that will be the first step in the right direction (using the = official eps-idf). > Since I didn't come along with the salvation of the linker error = reported earlier, I > switched back to an older project from January this year. It is also = based on the > official FreeBSD Arduino 1.8.5 port and the xtensa compiler 5.2.0 from = ports, but I used > within sketchbook/hardware/esp32 the esp32 git branch release/v1.0 = instead of master on > which I faced the crt1-sim.o error. The goal is to compile HyperionLED = (as a side > product) with the recommended libraries for this project. > It doesn't compile with ESP32 branch release/v1.0, the error is now >=20 > [...] > libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:149:33: = error: > 'cpu_hal_get_cycle_count' was not declared ... > [...] >=20 > which lead me to the conclusion that a more recent version is = required. With the recent > version of ESP32 stuff in place, I face the mentioned crt1-sim.o = error. same here, apart from the need for a different compiler for the riskv = chips. >=20 > Searching the web for that error leads to a discrepancy of ESP-IDF and = the compiler stuff. >=20 > I'll try the original esp-idf as you suggested (it is a pity it is = backed by cmake, I'm > not quite familiar with cmake yet). >=20 > Any advice is highly appreciated. espidf version i=E2=80=99m using is 5 (master) and it needs linux = emulation and yes, cmake, but it=E2=80=99s not that difficult to master, just check the examples CMakefile=E2=80=99s. if you need more specific help just yell :-) danny >=20 > Kind regards, > oh --Apple-Mail=_B2BB71DB-FA9E-47A5-BC13-B80005EBFC15 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 14:06, FreeBSD User <<a = href=3D"mailto:freebsd@walstatt-de.de" = class=3D"">freebsd@walstatt-de.de</a>> 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: Menlo-Regular; font-size: 12px; 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 Wed, 29 Dec 2021 09:10:02 +0200</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">Daniel = Braniss <</span><a href=3D"mailto:danny@cs.huji.ac.il" = style=3D"font-family: Menlo-Regular; font-size: 12px; 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"">danny@cs.huji.ac.il</a><span style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 12px; 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"">> wrote:</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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""><blockquote type=3D"cite" class=3D"">On= 29 Dec 2021, at 01:25, FreeBSD User <<a = href=3D"mailto:freebsd@walstatt-de.de" = class=3D"">freebsd@walstatt-de.de</a>> wrote:<br class=3D""><br = class=3D"">On Mon, 20 Dec 2021 14:35:10 +0100<br class=3D"">Marc = Fonvieille <<a href=3D"mailto:blackend@freebsd.org" = class=3D"">blackend@freebsd.org</a><span = class=3D"Apple-converted-space"> </span><<a = href=3D"mailto:blackend@freebsd.org" = class=3D"">mailto:blackend@freebsd.org</a>>> wrote:<br = class=3D""><br class=3D""><blockquote type=3D"cite" 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 <<a href=3D"mailto:freebsd@walstatt-de.de" = class=3D"">freebsd@walstatt-de.de</a>> 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. <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 class=3D"">Following these = instructions with the most recent required ports on the latest<br = class=3D"">13-STABLE, results in an linker error:<br class=3D""><br = class=3D"">/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2= .0/../../../../xtensa-esp32-elf/bin/ld:<br class=3D"">cannot find = crt1-sim.o: No such file or directory<br = class=3D"">/usr/local/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2= .0/../../../../xtensa-esp32-elf/bin/ld:<br class=3D"">cannot find = _vectors.o: No such file or directory<br class=3D"">collect2: error: ld = returned 1 exit status<br class=3D""><br class=3D""><br = class=3D""><blockquote type=3D"cite" 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><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>><br = class=3D""><br class=3D""></blockquote></blockquote>i gave up compiling = the xtensa stuff, specially after espressif came out with a riscv<br = class=3D"">version. so I downloaded the oficial idf and under FreeBSD-13 = it almost worked out of<br class=3D"">the box, if you want I can = search my notes =E2=80=A6<br class=3D""><br class=3D"">danny<br = class=3D""><br class=3D""></blockquote><br style=3D"caret-color: rgb(0, = 0, 0); font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">Hello.</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">I think, that will be the first step in the right direction = (using the official eps-idf).</span><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">Since I didn't come along with the salvation of the linker = error reported earlier, I</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">switched back to an older project from January this year. It = is also based on the</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">official FreeBSD Arduino 1.8.5 port and the xtensa compiler = 5.2.0 from ports, but I used</span><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">within sketchbook/hardware/esp32 the esp32 git branch = release/v1.0 instead of master on</span><br style=3D"caret-color: rgb(0, = 0, 0); font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">which I faced the crt1-sim.o error. The goal is to compile = HyperionLED (as a side</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">product) with the recommended libraries for this = project.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">It doesn't = compile with ESP32 branch release/v1.0, the error is now</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">[...]</span><br= style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">libraries/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:14= 9:33: error:</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">'cpu_hal_get_cycle_count' was not declared ...</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">[...]</span><br= style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">which lead me = to the conclusion that a more recent version is required. With the = recent</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">version of = ESP32 stuff in place, I face the mentioned crt1-sim.o error.</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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""></div></blockquote><br class=3D"">same here, apart = from the need for a different compiler for the riskv = chips.</div><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">Searching the = web for that error leads to a discrepancy of ESP-IDF and the compiler = stuff.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">I'll try the = original esp-idf as you suggested (it is a pity it is backed by cmake, = I'm</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 12px; 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: = Menlo-Regular; font-size: 12px; 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"">not quite = familiar with cmake yet).</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">Any advice is highly appreciated.</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; 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""></div></blockquote><div><br class=3D""></div>espidf = version i=E2=80=99m using is 5 (master) and it needs linux emulation and = yes, cmake, but it=E2=80=99s not that difficult to = master,</div><div>just check the examples CMakefile=E2=80=99s.</div><div><= br class=3D""></div><div>if you need more specific help just yell = :-)</div><div><br class=3D""></div><div>danny</div><div><br = class=3D""></div><div><br class=3D""></div><div><br class=3D""><blockquote= type=3D"cite" class=3D""><div class=3D""><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">Kind regards,</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 12px; 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: Menlo-Regular; font-size: 12px; 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"">oh</span></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_B2BB71DB-FA9E-47A5-BC13-B80005EBFC15--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23D75BE9-B42C-4403-9569-728E3E94B169>