Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RPi 5 2GB RAM #155

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/) and follow principles of [keep a changelog](https://keepachangelog.com).

## Version 2.19.0, unreleased

__This version is not compatible with versions of Moodle prior to Moodle 4.4!__

### Added
- Add detection of Raspberry Pi 5 16GB model (issue #152).
- Add detection of Raspberry Pi 5 2GB model (issue #154).

## Version 2.18.2, 2024-10-31

__This version is not compatible with versions of Moodle prior to Moodle 4.4!__
Expand Down Expand Up @@ -47,7 +55,7 @@ __This version is not compatible with versions of Moodle prior to Moodle 4.4!__

## Version 2.17.2, 2023-11-28

### Add
### Added
- New code added to workaround a bug with wifi protocol on RPi3B (issue #145).

### Fixed
Expand All @@ -60,7 +68,7 @@ __This version is not compatible with versions of Moodle prior to Moodle 4.4!__

## Version 2.17.0, 2023-10-01

### Add
### Added
- Add support of NetworkManager for upcoming Bookworm-based RPi OS version (PR #123).
- Add detection of just announced new Raspberry Pi 5 (issue #122).

Expand Down Expand Up @@ -97,7 +105,7 @@ __This version is not compatible with versions of Moodle prior to Moodle 4.4!__

## Version 2.16.0, 2023-07-30

### Add
### Added
- Enable displaying date and time buttons in the footer of any page for users with adequate role (issue #94).

### Changed
Expand All @@ -111,7 +119,7 @@ __This version is not compatible with versions of Moodle prior to Moodle 4.4!__

## Version 2.15.0, 2023-05-04

### Add
### Added
- Detect CM4S model (issue #112).

### Changed
Expand All @@ -127,7 +135,7 @@ __This version is not compatible with versions of Moodle prior to Moodle 4.4!__

## Version 2.14.1, 2022-11-19

### Add
### Added
- Add better graphical separation of footer buttons (no issue number, commit 21da4fadf108b76e467690ac06d5c2db6c8c01a1).

### Changed
Expand Down
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
break;
case '5':
switch ($hardwaredata['memory']) {
case '2GB':
$platform = 'rpi5twogb';
break;
case '4GB':
$platform = 'rpi5fourgb';
break;
Expand Down
1 change: 1 addition & 0 deletions lang/en/tool_moodlebox.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
$string['rpi5eightgb'] = 'Raspberry Pi 5 (8GB RAM)';
$string['rpi5fourgb'] = 'Raspberry Pi 5 (4GB RAM)';
$string['rpi5sixteengb'] = 'Raspberry Pi 5 (16GB RAM)';
$string['rpi5twogb'] = 'Raspberry Pi 5 (2GB RAM)';
$string['rpiosversion'] = 'Raspberry Pi OS version';
$string['rpizero2w'] = 'Raspberry Pi Zero 2 W';
$string['rpizerow'] = 'Raspberry Pi Zero W';
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

$plugin = new stdClass();

$plugin->version = 2024103100;
$plugin->release = '2.18.2';
$plugin->version = 2025011300;
$plugin->release = '2.19.0dev';
$plugin->requires = 2024042200;
$plugin->supported = [404, 405];
$plugin->maturity = MATURITY_STABLE;
$plugin->maturity = MATURITY_BETA;
$plugin->component = 'tool_moodlebox';
Loading