-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Quick Start
EN | 中文
This guide offers a glance at AliOS Things, by running directly on a linux machine.
If you are on Windows or Mac, maybe you'd like to turn directly to our IDE.
First of all, it is recommended to install aos-cube
globally, which helps developing with AliOS Things Studio in the future.
pip install aos-cube
Please make sure pip
environment is based on Python 2.7.
PS: Use sudo
if there's any permission issue.
You can either try Setup Script for Linux/Mac, or manually do steps below,
e.g. on a Ubuntu 16.04 LTS (Xenial Xerus) 64-bit PC
sudo apt-get install -y python
sudo apt-get install -y gcc-multilib
sudo apt-get install -y libssl-dev libssl-dev:i386
sudo apt-get install -y libncurses5-dev libncurses5-dev:i386
sudo apt-get install -y libreadline-dev libreadline-dev:i386
sudo apt-get install -y python-pip
sudo apt-get install -y minicom
git clone https://github.com/alibaba/AliOS-Things.git
cd AliOS-Things
aos make helloworld@linuxhost
./out/helloworld@linuxhost/binary/[email protected]
There you can see the delayed action starts in 1 sec and getting triggered every 5 secs.
$ ./out/helloworld@linuxhost/binary/[email protected]
[ 1.000]<V> AOS [app_delayed_action#9] : app_delayed_action:9 app
[ 6.000]<V> AOS [app_delayed_action#9] : app_delayed_action:9 app
[ 11.000]<V> AOS [app_delayed_action#9] : app_delayed_action:9 app
[ 16.000]<V> AOS [app_delayed_action#9] : app_delayed_action:9 app
| Home | Tutorial | Hardware | Porting Guide | Utilities | API Reference | Technical Docs | Certification |
Crafted with ❤️ by AliOS Things Team.
- Quick Start
- Hello World
- Starter Kit Tutorial
- Developer Kit Tutorial
- AliOS Studio Tutorial
- Add a New Board Example
- Add a New Component Example
- Environment Setup
- SIG BLE Mesh Setup Guide
- BLE Tutorial
- LoRaWAN Tutorial
- Linkkit Tutorial
- LinkVoice Tutorial
- Hardware Setup
- WiFi Provisioning and Alink Certification
- Step by Step: MQTT to Cloud with STM32
- Video Tutorial