Skip to content

feat(build): add --cpu=pi5 flag for Raspberry Pi 5#81

Open
sbs44 wants to merge 1 commit intoardera:mainfrom
sbs44:feature/pi5-support
Open

feat(build): add --cpu=pi5 flag for Raspberry Pi 5#81
sbs44 wants to merge 1 commit intoardera:mainfrom
sbs44:feature/pi5-support

Conversation

@sbs44
Copy link

@sbs44 sbs44 commented Jan 12, 2026

Summary

Add support for Raspberry Pi 5 CPU-tuned engine builds.

  • Add pi5_64 target platform for Cortex-A76 optimization
  • Support arm64 architecture with -mcpu=cortex-a76+nocrypto -mtune=cortex-a76
  • Update device platform switch for exhaustiveness

Usage

flutterpi_tool build --release --arch=arm64 --cpu=pi5

Test plan

  • Built and deployed to Raspberry Pi 5 hardware
  • Verified app runs correctly with Pi5-optimized engine

Notes

  • Pi5 is 64-bit only (no 32-bit variant needed)
  • Uses +nocrypto for consistency with Pi3/Pi4 builds
  • Depends on ardera/flutter-ci for engine builds

@sbs44
Copy link
Author

sbs44 commented Jan 12, 2026

Dependency: This PR requires ardera/flutter-ci#30 to be merged first so that Pi5-optimized engine binaries are available in releases.

- Add pi5_64 target platform for Cortex-A76 optimization
- Support arm64 architecture with -mcpu=cortex-a76+nocrypto
- Update device platform switch for exhaustiveness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant