This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to compile pc_ble_driver_py against ARM target?

Hi there,

I'm working on an ARM based  system running buildroot 2019.02.4.

The mikrocontroller is connected to a nRF52840 via USB and I want to use nrfutil to update the nRF's firmware.

Now I've problems compiling and installing the package pc-ble-driver-py. The package seems to be usable only with X86-64 systems.

When compiling the package I get the following error message.

running install_scripts
ERROR: architecture for "/usr/lib/python2.7/site-packages/pc_ble_driver_py/lib/linux/x86_64/_pc_ble_driver_sd_api_v2.so" is "Advanced Micro Devices X86-64", should be "ARM"
ERROR: architecture for "/usr/lib/python2.7/site-packages/pc_ble_driver_py/lib/linux/x86_64/libpc_ble_driver_shared_sd_api_v3.so" is "Advanced Micro Devices X86-64", should be "ARM"
ERROR: architecture for "/usr/lib/python2.7/site-packages/pc_ble_driver_py/lib/linux/x86_64/libpc_ble_driver_shared_sd_api_v2.so" is "Advanced Micro Devices X86-64", should be "ARM"
ERROR: architecture for "/usr/lib/python2.7/site-packages/pc_ble_driver_py/lib/linux/x86_64/_pc_ble_driver_sd_api_v3.so" is "Advanced Micro Devices X86-64", should be "ARM"

It seems that the package has to be cross-compiled agains the ARM target.

But i don't now how to do this.

This topic has been discussed here before. But with no usable result.

Are there any findings regarding the topic?

Any idea how to cross-compile the package against ARM?

Thank you in advance,

Marco

Parents Reply Children
No Data
Related