Mark Charlebois
520459062d
Initial Linux support including execution shell
...
Uncomment the following line in setup.mk and comment out the line above
to enable the Linux build.
export PX4_TARGET_OS = linux
The build uses the clang compiler by default. The final bundled executable
is mainapp located in:
Build/linux_default.build/mainapp
When you run mainapp it will provide a list of the built-in apps. You can
type in the commands to run such as:
hello_main start
Because the Linux build is threaded and does not support tasks or processes,
it cannot call errx, exit() _exit(), etc. It also requires unique scoped
variables to test if a thread is running or if an application should exit.
The px4::AppMgr class was added in px4_app.h for this purpose. The
hello sample app demonstrates how this is used.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
px4dev
56d355414c
Fix handling of board config files. Treat CONFIG_BOARD like CONFIG_ARCH in the toolchain configuration.
12 years ago
px4dev
2135628254
Hotfix: dependency scanning for modules was totally broken. Fix it so that changes to depended headers correctly cause modules to be rebuilt.
12 years ago
px4dev
3a1c9f14f6
Teach the PX4 build system how to handle pre-built libraries.
12 years ago
px4dev
196ee8b16f
Change the way modules are built so that object paths are relative and use vpath for locating sources (so source paths are also shorter).
...
Add some basic documentation for the build system files while we're at it.
12 years ago
Andrew Tridgell
6e8c1148d5
build: allow absolute paths for module sources
12 years ago
px4dev
03eb16f874
Remove some naked command invocations.
12 years ago
px4dev
edf96fc808
Remove some naked command invocations.
12 years ago
Lorenz Meier
13fc670386
Moved last libs, drivers and headers, cleaned up IO build
12 years ago
Lorenz Meier
f57439b90e
Moved all drivers to new world, PX4IO completely in new world
12 years ago
px4dev
01e427b17c
Merge working changes into export-build branch.
12 years ago
px4dev
68c8de4cf1
Document INCLUDE_DIRS
12 years ago
px4dev
a7cf9e2a36
Make 'make upload' work
12 years ago
px4dev
aa09ebd7d3
Share the ROMFS prototype betwen FMUv1 and v2
12 years ago
px4dev
8b9b41fd50
Populate INCLUDE_DIRS with some likely candidates.
...
Implement __EXPORT and such for modules, as well as symbol visibility.
Don't use UNZIP to point to unzip, as it looks there for arguments.
12 years ago
px4dev
a457a45239
Pass the module name in to the module makefile.
...
Refer to the module command name with MODULE_COMMAND to avoid confusion with the module's actual name.
12 years ago
px4dev
b6218794c6
Stick copyrights on the major moving parts of the build system
12 years ago
px4dev
ddc405935e
Cosmetic tweaks to variable output.
...
Comment on the need to retain the double-slash at the WORK_DIR boundary.
More toolchain documentation.
12 years ago
px4dev
6b215be739
Use indirect calls for all commands (echo, make, etc.)
...
Replace our dependency on xxd with a toolchain call, and implement the backend using objcopy evil for the default toolchain.
12 years ago
px4dev
d24599931a
APP -> MODULE
...
remove as many duplicate slashes, etc. as seems practical
12 years ago