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 Queißner 597843c4c1
Microzig Generation 2 Build Interface (#26)
* Drops microzig dependency
* Starts to port to MicroZig Build Gen 2
* Drops CI

---------

Co-authored-by: Felix "xq" Queißner <git@random-projects.net>
1 year ago
src Microzig Generation 2 Build Interface (#26) 1 year ago
test/programs Initial commit 2 years ago
.gitignore Initial commit 2 years ago
.gitmodules Update to zig-0.11.0 (#24) 1 year ago
LICENSE add chips and boards (#1) 2 years ago
README.adoc Update microzig (#10) 2 years ago
build.zig Microzig Generation 2 Build Interface (#26) 1 year ago
build.zig.zon Microzig Generation 2 Build Interface (#26) 1 year 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
----