You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix "xq" Queißner 31f26f57d9 Refactors packaging process from bash to python 9 months ago
..
src Moves AVR to board-support/microchip-avr 9 months ago
test/programs Moves AVR to board-support/microchip-avr 9 months ago
LICENSE Moves AVR to board-support/microchip-avr 9 months ago
README.adoc Moves AVR to board-support/microchip-avr 9 months ago
build.zig Moves AVR to board-support/microchip-avr 9 months ago
microzig-package.json Adds some basic package metadata. 9 months ago

README.adoc

= Microchip ATmega Hardware Support Package

Note: for testing, renode supports arduino nano 33 BLE

== What version of Zig to use

Right now we are following https://ziglang.org/download/[master], but once 0.11.0 is released, we will be switching to the latest stable version of Zig.

== FYI: LLVM issues

Currently LLVM is having trouble lowering AVR when this is built in debug mode:

[source]
----
LLVM Emit Object... Don't know how to custom lower this!
UNREACHABLE executed at /Users/mattnite/code/llvm-project-15/llvm/lib/Target/AVR/AVRISelLowering.cpp:842!
----

for now always build in release small:

[source]
----
zig build -Doptimize=ReleaseSmall
----