# Add Linux ARM64 (aarch64) Support #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for Linux ARM64 (aarch64) platforms, specifically tested on Raspberry Pi 4/5.
Changes
Pre-built Libraries
Added pre-built static libraries for aarch64:
coines-api/pc/coines_pc/platform/Linux/ble/simpleble-0.6.0/libs/aarch64/libsimpleble.acoines-api/pc/coines_pc/platform/Linux/ble/simpleble-0.6.0/libs/aarch64/libsimpleble-c.acoines-api/pc/coines_pc/platform/Linux/serial/libusbp-1.0/libs/aarch64/libusbp-1.aAdded pre-built shared library:
coines-api/pc/python/coinespy/libcoines_arm_64.soMakefile Updates
Updated
coines-api/pc/python/Makefile:aarch64architecture detection (alongside existingarm64for macOS)-m64flag for aarch64 (not supported on ARM)libcoines_arm_64.sofor Linux ARM64Python Library Loading
Updated
coines-api/pc/python/coinespy/coines.py:aarch64andarm64machine types on Linuxlibcoines_arm_64.sofor ARM64 Linux platformsDocumentation
Updated
README.md:libbluetooth-devdependency for BLE support on ARM64Testing
Tested on:
Dependencies
On ARM64 Linux, the following packages are required:
Build Instructions
On an ARM64 Linux system:
cd coines-api/pc/python makeThis produces
coinespy/libcoines_arm_64.so.