Skip to content
Snippets Groups Projects
Commit 838e9fc7 authored by Mark Charlebois's avatar Mark Charlebois
Browse files

Refactoring for multiplatform support


Moved the NuttX specific board files to makefiles/nuttx and added
a makfiles/linux directory with sample config and board files.

Created a makefiles/toolchain_native.mk file for building for Linux
with the native system compiler. GCC or clang can be used by setting
a flag in the file.

The Linux build creates an archive file and will build the tasks as
threads. Other code changes are required to support both task based
and thread based builds.

The NuttX source should not be required for the Linux build. The
target OS (NuttX or Linux) is selected by commenting out the desired
line in setup.mk

Signed-off-by: default avatarMark Charlebois <charlebm@gmail.com>
parent 2f5239c1
No related branches found
No related tags found
Loading
Showing
with 450 additions and 318 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment