TencentOS-tiny/board/Linux_Posix/hello_world
Amazingkenneth 884dae49da Use prettier to format; restore previous comments 2023-08-11 14:38:08 +00:00
..
inc Fix docs and code. 2023-08-11 01:03:42 +00:00
src add linux board project 2022-06-21 16:42:04 +00:00
CMakeLists.txt add linux board project 2022-06-21 16:42:04 +00:00
Makefile add linux board project 2022-06-21 16:42:04 +00:00
readme.md Use prettier to format; restore previous comments 2023-08-11 14:38:08 +00: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
./hello_world

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)