Thanks Greg and Abdelatif. I am going to use the Pinguino toolchain at first to let it work, and try the buildroot way later with free time.
Gregory Nutt <spudan...@gmail.com> 于2020年1月16日周四 下午10:26写道: > > > In addition, I notice http://www.nuttx.org/Documentation/NuttX.html say > gnu > > toolchains based on buildroot > > for many architectures. > > There are configurations at > https://bitbucket.org/nuttx/buildroot/src/master/configs/ for: > > avr-defconfig-4.3.3 > avr-defconfig-4.5.2 > > I am not sure of the state of those, however. > > > So for AVR gcc toolchains, I just found > > > https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers > > , > > but not right for nuttx. Do I need to build based on builtroot? > > I don't know about this, but the toolchain from AtmelStudio is quite nice. > > Notice that there is a build test for AVR (and MIPS) here: > https://bitbucket.org/nuttx/tools/src/master/buildtest/ . If you look in > doavr.sh, you an see that the test is configured to use the AtmelStudio > toolchain. > > I am not certain if AVR will build without AtmelStudio. I think it > expects some resource from AtmelStudio, but I might be wrong. > > Greg > > > > >