Home - renesas/amazon-freertos GitHub Wiki
Introduction
Welcome to the amazon-freertos wiki!
- This wiki describes our FreeRTOS products, how to use, use cases, technical information, and more.
- We support some devices of RX, RE, and RL78 family.
- If you have Renesas Starter Kit+ for RX65N-2MB, you can find quick start guide into Amazon Web Services FreeRTOS certified hardware platform.
- In the future, there may be more families to be supported.
- Now we are trying translating this wiki to English.
Important Notice!
- This repository is now deprecated.
- Now Renesas is developing new iot-reference repository on:
- https://github.com/renesas/iot-reference-rx
- Maybe after consolidating this repo for whole of Renesas devices, we would use...
- https://github.com/renesas/iot-reference-renesas (now considering)
- Maybe after consolidating this repo for whole of Renesas devices, we would use...
- https://github.com/renesas/iot-reference-rx
- Please visit the URL above if you would like to use FreeRTOS 202210.01-LTS or later.
Tutorial Videos
YouTube
- https://www.youtube.com/watch?v=L6KjIfdMbAc (EN)
- https://www.youtube.com/watch?v=c2QE48GsvEY (JP)
- https://www.bilibili.com/video/BV1Wt4y1A7vi/ (CN)
Renesas (same as YouTube contents)
- https://www.renesas.com/us/en/video/getting-started-freertos-iot-using-smart-configurator-e2-studio (EN)
- https://www.renesas.com/us/ja/video/getting-started-freertos-iot-using-smart-configurator-e2-studio (JP)
- https://www.renesas.com/us/zh/video/getting-started-freertos-iot-using-smart-configurator-e2-studio (CN)
Products
Product List
- Sorry, it's old information. We will update it.
Release tags
https://github.com/renesas/amazon-freertos/releases
How to clone
- clone the master branch
git clone https://github.com/renesas/amazon-freertos.git
- change directory to the master branch
cd amazon-freertos
- check out the release tag like
git checkout v202002.00-rx-1.0.0
- update the submodules like
git submodule update --init --recursive
- Please rename from amazon-freertos to afr if you would use RTOS configuration features on SmartConfigrator.
- (this issue will be fixed at next e2 studio version from 2020-07)
How to import demo or create new project
- Sorry, under construction. Please refer to application notes in our device's web page in Renesas Web.
About FreeRTOS
- FreeRTOS has traditionally only had real-time OS processing.
- However, since it has been managed by Amazon Web Services since 2018, the distribution now includes code for AWS connectivity called IoT Libraries.
- For the sake of convenience, we call them as follows:
- "FreeRTOS(with IoT Libraries)": FreeRTOS with IoT Libraries
- "FreeRTOS(Kernel Only)": Real-time OS part only, it's as before 2018.
- Initially, "Amazon FreeRTOS", which is was officially called by Amazon, means "FreeRTOS(with IoT Libraries)", but this has been consolidated into the "FreeRTOS" brand name.
- When "Amazon FreeRTOS" is mentioned in this wiki, it can be read as "FreeRTOS(with IoT Libraries)".
Distribution scheme
AWS Led qualification version
- AWS is always maintaining whole of master source code at:
- You can download separated/configured for each MCU vendors specific IDE projects from FreeRTOS console:
- This is latest version of Amazon FreeRTOS implementation.
- RX65N RSK is champion case for AWS Led qualification for Renesas.
Partner Led qualification version
- Partner (MCU vendor) is always maintaining for specific MCU boards (optional against AWS Led qualification boards) related code.
- The URL below includes renesas qualified boards:
- https://devices.amazonaws.com/search?kw=renesas&page=1
- You can access source code download link ">>source code access" on each pages.
- ">>source code access" link exists if board link would have "Qualified for FreeRTOS" mark.
- ">>source code access" link exists if board link would have "Qualified for FreeRTOS" mark.
- You can access source code download link ">>source code access" on each pages.
- https://devices.amazonaws.com/search?kw=renesas&page=1
- The URL below includes renesas qualified boards:
- This may not be latest version of Amazon FreeRTOS implementation.
- This version exists in specific branch like:
- https://github.com/renesas/amazon-freertos/releases/tag/v202002.00-rl78-1.0.3
- click: 287ad67 link
- jump to specific commit onto the branch named "rl78_pkcs_test".
- click: 287ad67 link
- https://github.com/renesas/amazon-freertos/releases/tag/v202002.00-rl78-1.0.3
RX Cloud Connectivity Solutions
Amazon FreeRTOS for Renesas MCUs versioning / tags, branches naming / asset naming
https://github.com/renesas/amazon-freertos/issues/8
Technical Support
- Please contact Customer Support Center on Renesas website
- Please add an issue ticket on GitHub if you would find the clear way to re-produce the issue
- Please add an pull requests ticket on GitHub if you would have actual code can solve the issue (improving idea is also OK)
Currently, following contents are for Japanese only.
はじめに
RX65Nを用いたAmazon FreeRTOSの使用方法を解説します。 Amazon FreeRTOSを用いてRX65NをAWS(Amazon Web Services)に接続することが可能です。 RX65Nに接続されたセンサ情報をAWSにアップロードし、AWSの各種サービスと連携させることができます。
開発環境
動作確認状況
ダウンロード
チュートリアル
- デバイスをAWS IoTに登録する
- Amazon FreeRTOSをダウンロードする
- Amazon FreeRTOSを設定する
- Amazon FreeRTOSを実行し、RX65NをAWS IoTに接続する
トラブルシューティング
AWSの各種サービスを使用する
Tracealyzerの活用
OTAの活用
Amazon FreeRTOSのシステムに関する考察
- ソフトウェアアーキテクチャ
- 機能ブロックとAPIプロトタイプ
- RXマイコンにおける実装(システムタイマとソフトウェア割り込み)
- スリープ機能
- タスク切り替えと割り込み発生時のレイテンシ
- ネットワークインタフェースとデバイスドライバの結合
- Amazon FreeRTOS Qualification Program
- Amazon FreeRTOS ROM/RAM容量考察
- Amazon FreeRTOS でFreeRTOS+TCPのみ使う方法
- シミュレータで動作させる
- 乱数生成
Amazon FreeRTOSの通信性能に関する考察
セキュリティに関する考察
- RX65N内蔵セキュリティIP Trusted Secure IP
- モノの証明書に紐づく秘密鍵等の重要データをTrusted Secure IPで秘匿する方法
- SSL/TLS通信のマスターシークレットをTrusted Secure IPで秘匿する方法
- セキュアブート/セキュアアップデートの実現方法
- NIST FIPS140-2 CMVPとTrusted Secure IP
- Trusted Secure IP と Arm TrustZone
- EEMBC SecureMark
- Trusted Secure IPの暗号処理性能評価
無線モジュールに関する考察
Amazon FreeRTOS 関連外部リンク集
リアルタイムOS解説動画
- RTOSチュートリアル(1/7):なぜRTOSは必要なのか
- RTOSチュートリアル(2/7):タスク
- RTOSチュートリアル(3/7):ハンドラ
- RTOSチュートリアル(4/7):システムコール その1
- RTOSチュートリアル(5/7):システムコール その2
- RTOSチュートリアル(6/7):構造と性能
- RTOSチュートリアル(7/7):マルチコアとRTOS