AliOS-Things https://github.com/alibaba/AliOS-Things

In WiKi, only windows and linux is describe, but I think it should be fine on mac os x. Below is the step by step to make you build your first App

  1. Clone AliOS (ha) – Here
  2. Use brew to install below functionality
    1. python27
    2. aos-cube: brew install aos-cube
    3. gcc-arm-none-eabi (After test, AliOS works on ver5.4 but not 4.9)
      1. brew tap PX4/homebrew-px4
      2. brew search gnu-arm-none-eabi it will show below info
        1. px4/px4/gcc-arm-none-eabi-54 ✔ px4/px4/gcc-arm-none-eabi-47 px4/px4/gcc-arm-none-eabi-49 px4/px4/gcc-arm-none-eabi-63
          px4/px4/gcc-arm-none-eabi px4/px4/gcc-arm-none-eabi-48 px4/px4/gcc-arm-none-eabi-62
        2. brew install px4/px4/gcc-arm-none-eabi-54
  3. go into AliOS-Things folder
    1. IMPORT: REMEMBER TO SET TOOLCHAIN_PATH –> export TOOLCHAIN_PATH=/usr/local/bin/
    2. aos make helloworld@mk3060 then you will get the result
      Screen Shot 2017-11-06 at 7.05.11 PM

 

Leave a Reply