From c3a8c22c78c9464edf25631c019b98ec881fa9dd Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 25 Jun 2024 16:34:53 +0200 Subject: [PATCH 1/2] Add CI badge --- README.md | 2 ++ va416xx-hal/README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dab6726..8c45d57 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![build](https://github.com/us-irs/va416xx-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/us-irs/va416xx-rs/actions/workflows/ci.yml) + Vorago VA416xx Rust Support ========= diff --git a/va416xx-hal/README.md b/va416xx-hal/README.md index 2a6e4bc..ba6ab4e 100644 --- a/va416xx-hal/README.md +++ b/va416xx-hal/README.md @@ -44,4 +44,4 @@ to conveniently flash with `cargo run`. ## Setting up your own binary crate -TODO \ No newline at end of file +TODO From 49e3c95947e2a87da3736f17aea796d508be7b52 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 25 Jun 2024 17:53:53 +0200 Subject: [PATCH 2/2] add additional memory section --- memory.x | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/memory.x b/memory.x index b9011d5..811b87a 100644 --- a/memory.x +++ b/memory.x @@ -12,3 +12,12 @@ MEMORY /* SRAM_0 can be used for all busses: Instruction, Data and System */ /* SRAM_1 only supports the system bus */ _stack_start = ORIGIN(RAM) + LENGTH(RAM); + +/* Define sections for placing symbols into the extra memory regions above. */ +/* This makes them accessible from code. */ +SECTIONS { + .sram1 (NOLOAD) : ALIGN(8) { + *(.sram1 .sram1.*); + . = ALIGN(4); + } > SRAM_1 +};