From nobody Tue Dec 28 23:25:10 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 29EC01922340; Tue, 28 Dec 2021 23:25:24 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp5.goneo.de (smtp5.goneo.de [85.220.129.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNrHR1Ys1z4gkQ; Tue, 28 Dec 2021 23:25:23 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id A686710B4FA8; Wed, 29 Dec 2021 00:25:15 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 899A610A75DE; Wed, 29 Dec 2021 00:25:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1640733911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lVYG6NU3ub7nNvQrreDbgAyWiqDg6eVS0/K1cR9PwB0=; b=CqHkw8MXcCD15SivN++PPAJHxnoWmDLUAn1C+dBSv9rr3xSHo8xBjssoVWF44025qpzwuF B/mNzfKAUlJOwWmeIyRaTWQUjpmcyzqZw6h41rzR76Ms0SuWzA/lk6o7FoQm4ocVe53BBP 0m5eAL4H6W+kuDokle285Nrdmx+78BB9P9L4cxl+pCU+xyFC7uNxFql3CXMtGntPPln6BH /CjfOldl8gUvyb3AgVNbowkB9Nc1uY/MuvY1SZ0wYQAAcWnqL9rSsy47xyFUMKH+B80GBx Z8zF+cDlcf40c3zwcV9goSNshUfmelVgXUT0nRHoP8RtBPDsR8jwcROjkj+0vQ== Received: from hermann (dynamic-2a01-0c23-5c11-aa00-2ad2-44ff-fe79-8732.c23.pool.telefonica.de [IPv6:2a01:c23:5c11:aa00:2ad2:44ff:fe79:8732]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 208CA10A32F5; Wed, 29 Dec 2021 00:25:11 +0100 (CET) Date: Wed, 29 Dec 2021 00:25:10 +0100 From: FreeBSD User To: Marc Fonvieille Cc: Andrew Stevenson , freebsd-embedded@freebsd.org, FreeBSD CURRENT Subject: Re: Arduino IDF -> make/automake based environment Message-ID: <20211229002510.2e2c9cb0@hermann> In-Reply-To: References: <20211219120947.75530a82@hermann> <0024BDB4-ABFE-4DAE-BC99-0AF43F8B3180@ugh.net.au> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-UID: 54e575 X-Rspamd-UID: e08854 X-Rspamd-Queue-Id: 4JNrHR1Ys1z4gkQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=CqHkw8MX; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.30) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt-de.de]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[walstatt-de.de:+]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[85.220.129.30:from] X-ThisMailContainsUnwantedMimeParts: N On Mon, 20 Dec 2021 14:35:10 +0100 Marc Fonvieille wrote: > Le 19.12.2021 21:03, Andrew Stevenson a =E9crit : > >=20 > > =20 > > > On 19. Dec 2021, at 12:18, FreeBSD User wrot= e: > > >=20 > > > environment. Since I'm interested in coding for some smaller AMTEL MC= Us 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 po= rts. > > =20 >=20 > For ESP32, you should look at: > https://wiki.freebsd.org/electronics/arduino/esp32 Following these instructions with the most recent required ports on the lat= est 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/ >=20