Renesas
Renesas Electronics Corporation (TSE: 6723), the world's number one supplier of microcontrollers, is a premier supplier of advanced semiconductor solutions including microcontrollers, SoC solutions and a broad range of analog and power devices.
You are viewing an older revision! See the latest version
How to checkout older mbed OS 5 branch
This page shows the way to checkout the mbed OS 5.4 release branch using mbed Online Compiler and mbed CLI, respectively.
- In case of using mbed Online Compiler
- Choose mbed-os library to checkout the mbed OS 5.4.7 release branch
- Click Revision button
- Choose the revision fc18365 corresponding to the mbed OS 5.4.7 release branch and then, click Switch button
- In case of using mbed CLI
- Enter mbed-os directory incorporated in your application
- Invoke $ git pull in order to fetch the changes from remote repository and reflect those to the local repository
- Invoke $ git checkout refs/tags/mbed-os-5.4.7 in order to switch the revision of mbed OS 5 to mbed OS 5.4.7
Note that you should invoke $ git checkout -b <new-branch-name> refs/tags/mbed-os-5.4.7 instead if you want to create a new branch for retaining the original source tree, the commits you create, etc.
Now that mbed-os 5.4.7 is available on your local repository, you can build mbed related programs for GR-PEACH and VK-RZ/A1H!¶
ここではmbed Online Compiler、およびmbed CLIを用いてmbed OS 5.4リリースブランチをチェックアウトする方法を説明します。
- mbed Online Compiler使用時
- mbed OS 5.4リリースブランチをチェックアウトするプログラム上でmbed-osライブラリを選択します
- リビジョンボタンをクリックします
- リビジョン fc18365 のリリースブランチを選択後、切り換えボタンをクリックしてください
- mbed CLI使用時
- mbed-osディレクトリに移動
- $ git pullコマンドを実行し、gitHubのmbed-osリポジトリと同期
- $ git checkout refs/tags/mbed-os-5.4.7コマンドを実行し、mbed OS 5.4.7リリースブランチをチェックアウト
それまでのローカルソースツリーやコミット等を保持したい場合は、上記コマンドの代わりに $ git checkout -b <new-branch-name> refs/tags/mbed-os-5.4.7 を実行してください