
6
CHAPTER
THREE
BUILD THE AWS FREEERTOS SDK
The below steps were
verified
on Ubuntu x86_64 GNU/Linux OS.
3.1 Set up development environment
1.
Install the required packages
2.
Install the
gcc-arm-none-eabi
toolchain.
3.
make sure that the
cmake
version is after
3.15
and python version is
2.7
Note:
You can download the latest version of CMake from
. Both source and binary distributions are
available.
You can download the
specific
.
3.2 Get the AWS FreeeRTOS SDK
Clone the
amazon-freertos
from gitub
git clone [email protected]:aws/amazon-freertos.git
cd
amazon-freertos
git checkout origin/202002.00 -b
202002
.00
git submodule update --init --recursive
cd
..
python --version
Python
2
.7.17
cmake --version
cmake version
3
.15.3
wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-download/gcc-
C
→
arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
tar -vxf gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
# Add gcc-arm-none-eabi-gcc toolchain to System PATH
PATH
=
"
$PATH
:~/gcc-arm-none-eabit-4_9_2015_q3/bin"
sudo apt-get install lib32ncursesw5 lib32z1 lib32ncurses5 libbz2-1.0:i386
C
→
libncurses5-dev lib32ncurses5-dev libncursesw5-dev