pine64 / bl_iot_sdk

BL602 SDK (Pine64 fork)
https://pine64.github.io/bl602-docs/
Apache License 2.0
134 stars 58 forks source link

Fix make on darwin #62

Closed madushan1000 closed 3 years ago

madushan1000 commented 3 years ago

When I run make on Darwin(macos 10.15), make fails because the make script is trying to execute a linux elf binary.

/bin/sh: ./flash_build: cannot execute binary file
make: *** [all] Error 126

Since it looks like the flash_build.py doing the same thing, I switched that line to install the python script dependencies and execute it. I also fixed requirements.txt to include all the dependencies toml and configobj were missing.

gamelaster commented 3 years ago

Thank you very much for your pull request! For receiving the free PineCone, please sign up at this link. (If there will be any issues with signing up, please let me know here).

madushan1000 commented 3 years ago

Thank you :)