From nobody Sun Dec 19 15:07:39 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 DAA9318FBE58; Sun, 19 Dec 2021 15:07:49 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from mcusim.org (mcusim.org [176.58.93.53]) (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 4JH5gT5LQ6z3Dw9; Sun, 19 Dec 2021 15:07:49 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from peasant.tower.home (unknown [83.28.233.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mcusim.org (Postfix) with ESMTPSA id D612A8F913; Sun, 19 Dec 2021 16:07:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mcusim.org; s=default; t=1639926462; bh=uZG1cFEUloVcj8MJA3iTkdowyzpsb5QQM0qoGsAwTdc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=iRs1URXS367Ws5pt22Fgh1fpX2C8MrEfIjCB6m9HNeatBPoiNdgwJLnLzQ9T9iMEK LB9pVL+qJHFVZb87H4rkJsXGNlhcVJTmP7HQtXM393WWm1OnS5GxTdQcIYIVfvrJXz 6LqjEJ3LXVYkrOLPa6BhsK2kJQpEcN/q62HZTEdY= Date: Sun, 19 Dec 2021 16:07:39 +0100 To: FreeBSD User Cc: freebsd-embedded@freebsd.org, FreeBSD CURRENT Subject: Re: Arduino IDF -> make/automake based environment Message-ID: References: <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-Disposition: inline In-Reply-To: <20211219120947.75530a82@hermann> X-Rspamd-Queue-Id: 4JH5gT5LQ6z3Dw9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: dsl@mcusim.org From: Dmitry Salychev via freebsd-embedded X-Original-From: Dmitry Salychev X-ThisMailContainsUnwantedMimeParts: N Hi Oliver, I'm working on this small [1] project using FreeBSD only. Software part is based on FreeRTOS v10.2.1. You can also find some pieces of the development history on hackaday [2]. Regards, Dmitry [1] https://github.com/mcusim/Xling [2] https://hackaday.io/project/165726-xling > 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 >