@@ -19,43 +19,34 @@ This OS is a work in progress. We intend to support:
1919
2020## Build instructions
2121
22- Your board will need an appropriate Neotron BIOS installed, and you need to
23- have OpenOCD (or other programming tool) running for your particular board.
24- You may also need to set the linker arguments so you link the binary to suit
25- the memory available on your system.
22+ Your board will need an appropriate Neotron BIOS installed, and you need to have
23+ OpenOCD or some other programming tool running for your particular board. See
24+ your BIOS instructions for more details.
2625
27- ### Build Instructions for the Neotron Pico (and other systems with Flash at ` 0x1000_0000 ` )
26+ We compile one version of Neotron OS, but we link it three times to produce
27+ three binaries:
2828
29- ```
30- $ git clone https://github.com/neotron-compute/Neotron-OS.git
31- $ cd Neotron-OS
32- $ git submodule update --init
33- $ RUSTFLAGS="-C link-arg=-Tneotron-flash-1000.ld" cargo build --release --target=thumbv6m-none-eabi
34- ```
35-
36- ### Build Instructions for the STM32 (and other systems with Flash at ` 0x0800_0000 ` )
29+ * ` flash0002 ` - is linked to run from address ` 0x0002_0000 `
30+ * ` flash1002 ` - is linked to run from address ` 0x1002_0000 `
31+ * ` flash0802 ` - is linked to run from address ` 0x0802_0000 `
3732
3833```
3934$ git clone https://github.com/neotron-compute/Neotron-OS.git
4035$ cd Neotron-OS
4136$ git submodule update --init
42- $ RUSTFLAGS="-C link-arg=-Tneotron-flash-0800.ld" cargo build --release --target=thumbv6m-none-eabi
37+ $ cargo build --release
38+ $ ls ./target/thumbv6m-none-eabi/release/flash{10,08,00}02
39+ ./target/thumbv6m-none-eabi/release/flash0002 ./target/thumbv6m-none-eabi/release/flash0802 ./target/thumbv6m-none-eabi/release/flash1002
4340```
4441
45- ### Build Instructions for other systems (with Flash at ` 0x0000_0000 ` )
46-
47- ```
48- $ git clone https://github.com/neotron-compute/Neotron-OS.git
49- $ cd Neotron-OS
50- $ git submodule update --init
51- $ RUSTFLAGS="-C link-arg=-Tneotron-flash-0000.ld" cargo run --release
52- ```
42+ Your BIOS should tell you which one you want and how to load it onto your system.
5343
5444## Changelog
5545
5646### Unreleased Changes ([ Source] ( https://github.com/neotron-compute/Neotron-OS/tree/master ) )
5747
5848* Basic ` println! ` to the text buffer.
49+ * Re-arranged linker script setup
5950
6051## Licence
6152
0 commit comments