This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS and Python on Mac M1 Monterey

Other Parts Discussed in Thread: CC2640R2F

Hello everyone.

I have issues related to run python scripts on Mac M1 Monterey. 

This workaround works to me https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1088842/launchxl-cc2640r2-imported-the-project-zero-from-the-resources-pane-in-ccs-but-it-won-t-compile/4047291#4047291 .

The workaround is about the lib_search file and I also need the same workaround for the FRONTIER file.

Can you help me??

Thank you in advanced.

  • Hey Mariano,

    I know there is some context in our previous threads. But for ease of readability for our forum readers, can you summarize a few points?

    • Which SDK version are you using?
    • What device are you using to test with? Is it also a CC2640R2 launchpad?
    • What project are you using to test with? Is it also project_zero?

    I will take a look at your request. Although it's worth noting, I didn't require a rebuild for the frontier file when trying this out on the out of box Project Zero. Are there some changes you made on your end? Or are you perhaps using a different project?

  • Hello Ammar.

    • Which SDK version are you using?
      5_30_00_03

    • What device are you using to test with? Is it also a CC2640R2 launchpad?
      Custom board or CC2640R2F launchpad, whatever.

    • What project are you using to test with? Is it also project_zero?
      I have a custom application based on simple_peripheral_oad_offichip project. The frontier file is executed on post step build. I really need of it.
  • Hey Mariano,

    I've rebuilt the frontier tool and built and tested it on my end. Unfortunately, I was not able to functionally test the example, I will leave the rest to you.

    I rebuilt the frontier executable by running PyInstaller using the provided frontier.py file (after resolving syntax errors due to the new Python 3 dependency). I navigated to the tools directory and ran the below line to generate the file. 

    python3 -m PyInstaller --onefile frontier.py

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/frontier

    Please remember to back up the original tool provided by the SDK so you don't lose it.

    I will close the loop internally so these tools are updated in the next release.