Skip to content

Commit 50df318

Browse files
committed
Merge branch 'release/v0.3.1'
2 parents 4b3f7d6 + 4134b22 commit 50df318

16 files changed

+156
-125
lines changed

.github/workflows/build_and_release.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,11 @@ jobs:
1919
- name: Install flip-link
2020
run: cd / && cargo install --debug flip-link
2121

22-
- name: Build neotron-bmc-pico for F030
23-
run: |
24-
cd neotron-bmc-pico
25-
cargo build --release --verbose --target=thumbv6m-none-eabi --features=stm32f030x6
26-
cd target/thumbv6m-none-eabi/release
27-
mv neotron-bmc-pico neotron-bmc-pico-f030
28-
29-
- name: Build neotron-bmc-pico for F031
30-
run: |
31-
cd neotron-bmc-pico
32-
cargo build --release --verbose --target=thumbv6m-none-eabi --features=stm32f031
33-
cd target/thumbv6m-none-eabi/release
34-
mv neotron-bmc-pico neotron-bmc-pico-f031
22+
- name: Build neotron-bmc-pico
23+
run: cd neotron-bmc-pico && DEFMT_LOG=info cargo build --release --verbose --target=thumbv6m-none-eabi
3524

3625
- name: Build neotron-bmc-nucleo
37-
run: |
38-
cd neotron-bmc-nucleo
39-
cargo build --release --verbose --target=thumbv7em-none-eabihf
26+
run: cd neotron-bmc-nucleo && DEFMT_LOG=info cargo build --release --verbose --target=thumbv7em-none-eabihf
4027

4128
- name: Get Branch Name
4229
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
* None
66

7+
## v0.3.1
8+
* Reset button triggers 250ms low pulse
9+
* Fix STM32F030 support and remove STM32F031 support for neotron-bmc-pico
10+
711
## v0.3.0
812
* Add STM32F030 support to neotron-bmc-pico
913

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The NBMC appears to the main Neotron system processor as an Expansion Device. As
2222

2323
### Neotron Pico
2424

25-
The NBMC firmware is designed to run on an ST Micro STM32F0 (STM32F031K6T6) microcontroller, as fitted to a [Neotron Pico](https://github.com/neotron-compute/neotron-pico).
25+
The NBMC firmware is designed to run on an ST Micro STM32F0 (STM32F030K6T6) microcontroller, as fitted to a [Neotron Pico](https://github.com/neotron-compute/neotron-pico).
2626

2727
See the [board-specific README](./neotron-bmc-pico/README.md)
2828

Binary file not shown.
-909 KB
Binary file not shown.

neotron-bmc-nucleo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Jonathan 'theJPster' Pallant <github@thejpster.org.uk>", "Aïssata 'Ai' Maiga <aimaiga2@gmail.com>"]
33
name = "neotron-bmc-nucleo"
44
edition = "2018"
5-
version = "0.3.0"
5+
version = "0.3.1"
66

77
[dependencies]
88
cortex-m = "0.7.1"

neotron-bmc-nucleo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This folder is for the Board Management Controller (BMC) when running on an STM3
66

77
## Hardware Interface
88

9-
The NBMC also supports running on an ST Nucleo-F401RE, for development and debugging purposes. The STM32F401RET6U MCU has:
9+
This firmware runs on an ST Nucleo-F401RE, for development and debugging purposes. The STM32F401RET6U MCU has:
1010

1111
* 32-bit Arm Cortex-M4 Core
1212
* 3.3V I/O (5V tolerant)

neotron-bmc-nucleo/src/main.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
//! Neotron BMC Firmware
2+
//!
3+
//! This is the firmware for the Neotron Board Management Controller (BMC). It
4+
//! controls the power, reset, UART and PS/2 ports, but running on an ST Nucleo
5+
//! instead of a real Neotron board. For more details, see the `README.md` file.
6+
//!
7+
//! # Licence
8+
//! This source code as a whole is licensed under the GPL v3. Third-party crates
9+
//! are covered by their respective licences.
10+
111
#![no_main]
212
#![no_std]
313

4-
///! Neotron BMC Firmware
5-
///!
6-
///! This is the firmware for the Neotron Board Management Controller (BMC). It controls the power, reset, UART and PS/2 ports on a Neotron mainboard.
7-
///! For more details, see the `README.md` file.
8-
///!
9-
///! # Licence
10-
///! This source code as a whole is licensed under the GPL v3. Third-party crates are covered by their respective licences.
1114
use cortex_m::interrupt::free as disable_interrupts;
1215
use heapless::spsc::{Consumer, Producer, Queue};
1316
use rtic::app;

0 commit comments

Comments
 (0)