tobudos-kernel/board/Linux_Posix/ini_demo
supowang aa5832f56f first init 2024-01-03 11:25:00 +08:00
..
inc first init 2024-01-03 11:25:00 +08:00
src first init 2024-01-03 11:25:00 +08:00
CMakeLists.txt first init 2024-01-03 11:25:00 +08:00
Makefile first init 2024-01-03 11:25:00 +08:00
readme.md first init 2024-01-03 11:25:00 +08:00

readme.md

How to run the demo in linux

step1

make sure your develop environment.

  • cmake and version greater than 3.8.2
  • gcc gdb make is installed

step2

make build directory and compile in build

mkdir build && cd build
cmake ..
make

step3

run program !!

# in build directory
./inidemo

other

you can copy this demo to other path, but if you want do it, you need modify CMakeLists.txt. find line

set(TINY_ROOT ../../../)

and modify path-to-tinyos

set(TINY_ROOT path-to-tinyos)