Skip to content

Commit

Permalink
kill asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Apr 26, 2024
1 parent 13f5afe commit 5443699
Show file tree
Hide file tree
Showing 32 changed files with 46,557 additions and 44,045 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## What version of Zig to use

Zig master/nightly
Zig 0.12.0

## Getting Started With MicroZig

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
= ESP MicroZig Package
# ESP MicroZig Package

[WIP]

SVD is copied from https://github.com/esp-rs/esp-pacs

== What version of Zig to use

0.11.0
6 changes: 0 additions & 6 deletions bsp/gigadevice/gd32/README.adoc

This file was deleted.

1 change: 1 addition & 0 deletions bsp/gigadevice/gd32/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# GigaDevice GD32 Hardware Support Package
18 changes: 6 additions & 12 deletions bsp/microchip/avr/README.adoc → bsp/microchip/avr/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
= Microchip ATmega Hardware Support Package
# 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
## 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
----
```
11 changes: 0 additions & 11 deletions bsp/nordic/nrf5x/README.adoc

This file was deleted.

7 changes: 7 additions & 0 deletions bsp/nordic/nrf5x/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Nordic nrf5x

HALs and register definitions for nrf5x devices

## Renode supports:

- nrf52840 development kit
7 changes: 0 additions & 7 deletions bsp/nxp/lpc/README.adoc

This file was deleted.

3 changes: 3 additions & 0 deletions bsp/nxp/lpc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# NXP LPC Hardware Support Package

Please see [lpcboot](https://github.com/ZigEmbeddedGroup/lpcboot) as well
2 changes: 1 addition & 1 deletion bsp/raspberrypi/rp2040/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const chip = .{
.url = "https://www.raspberrypi.com/products/rp2040/",
.cpu = MicroZig.cpus.cortex_m0plus,
.register_definition = .{
.json = .{ .cwd_relative = build_root ++ "/src/chips/RP2040.json" },
.svd = .{ .cwd_relative = build_root ++ "/src/chips/rp2040.svd" },
},
.memory_regions = &.{
.{ .kind = .flash, .offset = 0x10000100, .length = (2048 * 1024) - 256 },
Expand Down
Loading

0 comments on commit 5443699

Please sign in to comment.