Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

RIOT-OS/Tutorials

Repository files navigation

Preparations

For links go tohttps://github.com/RIOT-OS/Tutorials

Quick Setup using a Virtual Machine (recommended for this Tutorial)

  • Install and set upgit
  • Install latestVirtualBox &VirtualBox Extension Pack foryour system
  • InstallVagrant
  • Linux, OSX:
    git clone --recursive https://github.com/RIOT-OS/Tutorialscd Tutorials
  • Windows:
    • set
      git config --global core.autocrlf input
      before cloning
    • clone theTutorials and theRIOT submodule as follows:
    git clone https://github.com/RIOT-OS/Tutorialscd Tutorialsgit submodule update --init --recursive
  • In case a virtual machine is disseminated locally, adapt the path for the vagrant boxvagrant box add RIOT/ubuntu1804 <path to box>
  • Runvagrant up andvagrant ssh afterwards. See theVagrant RIOT Setup for a more general explanation.

Regular Setup without using a VM (recommended for RIOT developement)

  • Install and set upgit

  • Install the build-essential packet (make, gcc etc.). This varies based on the operating system in use.

  • InstallNative dependencies

  • InstallOpenOCD

  • InstallGCC Arm Embedded Toolchain

  • On OS X: installTuntap for OS X

  • additional tweaks necessary to work with the targeted hardware (ATSAMR21)

  • Installnetcat with IPv6 support (if necessary)

    sudo apt-get install netcat-openbsd
  • git clone --recursive https://github.com/RIOT-OS/Tutorials

  • Go to the Tutorials directory:cd Tutorials

Tasks

Troubleshooting

If you get the following error after runningvagrant up

The guest machine entered an invalid state while waiting for it to boot. Valid states are 'starting, running'. The machine is in the 'poweroff' state.

Make sure you have theExtension Pack installed.

If you cannot flash a connected board (/dev/ttyXXXX does not exist)

Make sure your user is a member of the usergroupvboxusers. On Linux you can add the current user with

usermod -a -G vboxusers $USER.

You can check the groups of your user with

groups.

Note that you need to log out once to reload a Linux user's group assignments

License

This work and all its related code and documents are licensed under aCreative Commons Attribution-ShareAlike 4.0 International License


[8]ページ先頭

©2009-2025 Movatter.jp