Date: Sun, 6 Mar 2016 08:29:05 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: Tom Sparks <tom@ycombinator.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Pic32 toolchain support Message-ID: <alpine.BSF.2.20.1603060824120.4709@laptop.wojtek.intra> In-Reply-To: <CABLy0qQDwN_S5HM0-VYha-f_Fp=wbVQdns8zpd4B-%2BnpjBaZ-w@mail.gmail.com> References: <CABLy0qQDwN_S5HM0-VYha-f_Fp=wbVQdns8zpd4B-%2BnpjBaZ-w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Has anyone looked at using FreeBSD for working with PIC32 based devices? I don't program pic32 (but STM32) but for toolchain just download gcc and build mips-none-eabi target. building is quite messy but after this it works. Personally i DO NOT use any libraries and other manufacturer supplied shit, instruction consist of all addresses so it's better to just write and read data from peripherals directly. For STM32 i have my own "crt0" (actually 192 bytes of interrupt tables and 20 bytes of startup assembly). For PIC32 make your own. As for programming - there are free software but for linux. you may have to modify sources a bit but it should not be a problem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1603060824120.4709>