Skip to content

Commit 5b1789a

Browse files
Merge tag 'v0.5.0' into develop
Release v0.5.0
2 parents 2751397 + 0bbcf4b commit 5b1789a

File tree

5 files changed

+60
-25
lines changed

5 files changed

+60
-25
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# Changelog
22

3-
## Unreleased Changes ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/develop) | [Changes](https://github.com/neotron-compute/neotron-pico-bios/compare/v0.3.0...develop))
3+
## Unreleased Changes ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/develop) | [Changes](https://github.com/neotron-compute/neotron-pico-bios/compare/v0.5.0...develop))
44

55
* None
66

7+
## v0.5.0 ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/v0.5.0) | [Release](https://github.com/neotron-compute/neotron-pico-bios/release/tag/v0.5.0))
8+
9+
* Full-colour 80 column text
10+
* Bump to 151.2 MHz clock speed (needed to get 80 column colour text working)
11+
* Reports video timing on Pi Pico LED
12+
* Shiny new colour start-up banner
13+
* Plays start-up tune
14+
* Updated keyboard driver
15+
* Added RTC support
16+
* Implement new kind of Mutex
17+
* Updated to OS 0.3.2
18+
* Supports initialising SD Cards and reporting card size
19+
720
## v0.4.1 ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/v0.4.1) | [Release](https://github.com/neotron-compute/neotron-pico-bios/release/tag/v0.4.1))
821

922
* Wait for interrupts from the BMC before reading PS/2 key codes

Cargo.lock

Lines changed: 26 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resolver = "2"
55
readme = "README.md"
66
license = "GPL-3.0-or-later"
77
name = "neotron-pico-bios"
8-
version = "0.4.1"
8+
version = "0.5.0"
99

1010
[dependencies]
1111
# Useful Cortex-M specific functions (e.g. SysTick)

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ The Neotron BIOS uses the [defmt](https://crates.io/crates/defmt) crate to provi
4949

5050
3. On your PC, install [*probe-run*](https://github.com/knurling-rs/probe-run), the programming tool from [Ferrous System's](https://www.ferrous-systems.com) [Knurling Project](https://github.com/knurling).
5151

52-
```console
53-
user@host ~ $ cargo install probe-run
52+
We are temporarily stuck at 0.3.6 as 0.3.7 is broken and 0.3.8 doesn't support the RP2040. A 0.3.9 should be along shortly, but the logging binary format has changed, and we currently pin ourselves to a 0.3.6 compatible version.
53+
54+
```sh
55+
cargo install probe-run --version=0.3.6
5456
```
5557

5658
4. Power on your Neotron Pico.

src/main.rs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,11 @@ fn main() -> ! {
332332
let mut watchdog = hal::watchdog::Watchdog::new(pp.WATCHDOG);
333333

334334
// VERSION has a trailing `\0` as that is what the BIOS/OS API requires.
335-
info!("Neotron BIOS {} starting...", VERSION.trim_matches('\0'));
335+
info!(
336+
"Neotron BIOS v{} (git:{}) starting...",
337+
env!("CARGO_PKG_VERSION"),
338+
VERSION.trim_matches('\0')
339+
);
336340

337341
// Run at 151.2 MHz SYS_PLL, 48 MHz, USB_PLL. This is important, we as clock
338342
// the PIO at ÷ 6, to give 25.2 MHz (which is close enough to the 25.175
@@ -1308,7 +1312,13 @@ fn sign_on() {
13081312
TextBackgroundColour::BLUE,
13091313
false,
13101314
));
1311-
writeln!(&tc, "BIOS Version: {}", VERSION.trim_matches('\0')).unwrap();
1315+
writeln!(
1316+
&tc,
1317+
"BIOS: v{} (git:{})",
1318+
env!("CARGO_PKG_VERSION"),
1319+
VERSION.trim_matches('\0')
1320+
)
1321+
.unwrap();
13121322

13131323
tc.change_attr(Attr::new(
13141324
TextForegroundColour::WHITE,
@@ -1328,14 +1338,14 @@ fn sign_on() {
13281338
match bmc_ver {
13291339
Ok(string_bytes) => match core::str::from_utf8(&string_bytes) {
13301340
Ok(s) => {
1331-
writeln!(&tc, "BMC Version: {}", s.trim_matches('\0')).unwrap();
1341+
writeln!(&tc, "BMC : {}", s.trim_matches('\0')).unwrap();
13321342
}
13331343
Err(_e) => {
1334-
writeln!(&tc, "BMC Version: Unknown").unwrap();
1344+
writeln!(&tc, "BMC : Version Unknown").unwrap();
13351345
}
13361346
},
13371347
Err(_e) => {
1338-
writeln!(&tc, "BMC Version: Error reading").unwrap();
1348+
writeln!(&tc, "BMC : Error reading version").unwrap();
13391349
}
13401350
}
13411351

0 commit comments

Comments
 (0)