Skip to content

Commit

Permalink
Version 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed Feb 22, 2024
1 parent bf2d444 commit d5429b7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to OpenEMC will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# 0.9.0 - 2024-02-22
### Added
- board IO support
- board ioctl support
- task spawning by board
### Changed
- refactored board init

## 0.8.1 - 2023-11-17
### Added
- allow querying whether power on was by charger attachment
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The following features are implemented:
- GPIO with interrupts
- pin control
- analog digital converter (ADC)
- fully customizable board communication (read, write, ioctl) with Linux userspace via device file
- battery charger (BQ25713)
- external power supply with USB PD (STUSB4500) and USB charger detector (MAX14636)
- charging mode with system power off
Expand Down Expand Up @@ -118,6 +119,16 @@ and executed directly by invoking

from the respective directory. Set the environment variable `DEFMT_LOG` your desired log level.

## Board IO and ioctl

OpenEMC allows direct communication between Linux userspace and board-specific code.
For this purpose the device `/dev/openemc` is provided, which supports reading, writing, polling
and ioctls.
Corresponding to these operations the board-specific functions `Board::io_read`, `Board::io_write` and
`Board::ioctl` are called.
An example is provided in the board file `stm_nucleo_f103rb.rs` together with the host-side code
in `board-io-test`.

## License

The OpenEMC firmware is released under the [GNU GPL version 3],
Expand Down
2 changes: 1 addition & 1 deletion openemc-firmware/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openemc-firmware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "openemc-firmware"
description = "OpenEMC Firmware"
authors = ["Sebastian Urban <surban@surban.net>"]
license = "GPL-3.0"
version = "0.8.1"
version = "0.9.0"
publish = false
edition = "2021"

Expand Down

0 comments on commit d5429b7

Please sign in to comment.