Repository navigation
Troubleshooting
When I run make in the RIOT repository, I get something like:
mkdir -p
mkdir: missing operand
Try 'mkdir --help' for more information.
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1
What am I missing?
You have to run `make` from within your application directory, not directly from the RIOT repository.
When I try to build my newly created project I get:
bin/msba2/swsoci/core.a(kernel_init.o): In function kernel_init':
kernel_init.c:(.text+0x9c): undefined reference to main' collect2: ld returned 1 exit status
Make sure that you have 1. correctly set the PROJECT environment variable and 2. appended UseModule to the project's Makefile
I run make from a project folder but get something like: "make: *** /home/oleg/git/SAFEST/demo_router/../../RIOT/boards/msba2: Is a directory. Stop. What goes wrong?
Make sure that there is no trailing white space after your BOARD define in the Makefile.
`
My MSB-A2 hangs in a reset loop and remains unflashable. How can I recover this node?
Please visit How to Recover a unflashable MSB-A2
The linker says something like RIOT/cpu/lpc2387/linkerscript.x:221 cannot move location counter backwards (from 4000fb4c to 4000ec98). What's wrong?
Your application is too big and won't fit into RAM or the ROM of the target platform.
The flashtool says something like You don't have permission to access /dev/ttyUSB0. What's wrong?
You need to edit your udev rules.
First create a group for your serial device (e.g. serial) and add the current user.:
addgroup serial
usermod -a -G serial ${USER}Then use lsusb to find out the Vendor and Product ID for your device.
Afterwards, add the following line to the file /etc/udev/44-serial.rules (replace <idVendor> and <idProduct> with the previously determined IDs, respectively).
ATTR{idVendor}=="<idVendor>", ATTR{idProduct}=="<idProduct>", GROUP="plugdev", MODE="0664"
Reload udev rules:
udevadm control --reload-rulesRIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: IoT LAB_M3
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: UDOO
- Board: Samr21 xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: yunjia-nrf51822
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo