From nobody Sun Dec 19 11:09:47 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 2BE9E18E74FD; Sun, 19 Dec 2021 11:09:59 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (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 4JH0P16kZwz4RnN; Sun, 19 Dec 2021 11:09:57 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (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 smtp6.goneo.de (Postfix) with ESMTPS id D098C10A32F1; Sun, 19 Dec 2021 12:09:49 +0100 (CET) Received: from hub2.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 hub2.goneo.de (Postfix) with ESMTPS id 435C510A330B; Sun, 19 Dec 2021 12:09:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1639912188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GXae5hsDCllqX2N/6gHfir7GbmPQndlyaUcaao73qEA=; b=m9MKeICoxNcC161S56T8ieiJsAruAsHphFUHPqPnizjY5pJBUHhVJ08NLoTf1yF8hilo// oKJwPPqCT7b9BpJMg5vUcd++uru4z2yIi7tyZk9AoSD6/PLTqbZfgaMyg9Sw1X8I8S2Vrr FZ4COoLKIwENo55tWtN8hw3SGU7mcrBJOzmE4TlJ91nI4RRwPQBfRU0x2VZHpZF5ikgnNE PkdFN5XtdN7txoCaORBqgXVbiRYNE+4X1OJGRcnc6slGjd4l0Cnf468z2JBf3FIF/uRbqD /EHivLEshck/ZrVsOvU6gw2UCTvl4E1geceBf01k0age0D7dXCb75Qeukd2eNw== Received: from hermann (dynamic-2a01-0c22-3575-7c00-4417-7d39-cf16-de23.c22.pool.telefonica.de [IPv6:2a01:c22:3575:7c00:4417:7d39:cf16:de23]) (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 hub2.goneo.de (Postfix) with ESMTPSA id 1272F10A3309; Sun, 19 Dec 2021 12:09:48 +0100 (CET) Date: Sun, 19 Dec 2021 12:09:47 +0100 From: FreeBSD User To: freebsd-embedded@freebsd.org, FreeBSD CURRENT Subject: Arduino IDF -> make/automake based environment Message-ID: <20211219120947.75530a82@hermann> 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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: 1cf155 X-Rspamd-UID: ce1eae X-Rspamd-Queue-Id: 4JH0P16kZwz4RnN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=m9MKeICo; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.31) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.90 / 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)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(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]; DKIM_TRACE(0.00)[walstatt-de.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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.31:from] X-ThisMailContainsUnwantedMimeParts: N Hello out there, I'm using the port devel/arduino18 as the basis for some small projects. I'd like to get rid of that clumsy JAVA based IDF and move towards a more make/automake based 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. But I have so far almost no experience in cross compiling on FreeBSD and I'd like to ask whether someone out here has already done setting up an environment based on the basic tools FreeBSD provides to develop in an crosscompiling sense. My IDE of choice would be Anjuta, but this is only a notice besides. As fas as I know, the base OS for most MCUs, including my choices ESP32, ESP8266, is a derivative of Amazone's FreeRTOS. Can the OS being compiled (cross compiled) on FreeBSD assuming the correct compiler is at hand (which is the case, I presume since the Arduino IDF is already working on FreeBSD)? Thanks in advance, Oliver