[PATCH] D32991: [ELF] Initial migration of AVR target

Leslie Zhai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 23:55:25 PDT 2017


xiangzhai added a comment.

Dear Rui,

Thanks for your reply!

> I wrote a few programs for Arduino ... Is there any ABI documentation

I am also an Adruino fans since 2013, and I bought a UNO atmega328p Beginner Kit just for fun :) Dylan gathered some documents <https://github.com/avr-llvm/architecture> or just copy-and-paste from avr-gcc <https://gcc.gnu.org/wiki/avr-gcc>, I am a newbie in many fields, so I also have to learn a lot of manuals and source code directly.

> I guess it might be missing some features due to small address space ...

Yes, it is not only migration but also need to implement some features.

> Or is it usually used for baremetal programming?

UNO atmega328p is a single chip, very cheap! so I have not experienced running OS like Raspberry Pi, but just upload program by Arduino IDE <https://github.com/arduino/Arduino/> to the board.

Regards,
Leslie Zhai


Repository:
  rL LLVM

https://reviews.llvm.org/D32991





More information about the llvm-commits mailing list