Skip to content
Oleg Hahm edited this page Apr 26, 2014 · 6 revisions

Question:

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?

Answer:

You have to run `make` from within your application directory, not directly from the RIOT repository.

Question:

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

Answer:

Make sure that you have
1. correctly set the PROJECT environment variable and
2. appended UseModule  to the project's Makefile

Question:

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?

Answer:

Make sure that there is no trailing white space after your BOARD define in the Makefile.

`


Question:

My MSB-A2 hangs in a reset loop and remains unflashable. How can I recover this node?

Answer:

Please visit How to Recover a unflashable MSB-A2


Question:

The linker says something like RIOT/cpu/lpc2387/linkerscript.x:221 cannot move location counter backwards (from 4000fb4c to 4000ec98). What's wrong?

Answer:

Your application is too big and won't fit into RAM or the ROM of the target platform.
Clone this wiki locally