Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar
687a3a15c5
top: decrease priority below IMU sensor WQ threads
...
- otherwise top can potentially disrupt with sensor sampling
2019-10-19 13:44:24 -04:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Daniel Agar
991669073e
Jenkins HIL run sd_bench and configure as multicopter
2019-08-03 11:22:31 -04:00
Daniel Agar
7f9415ba46
systemcmds/top: increase stack 200 bytes
...
- this is necessary after most boards increased CONFIG_MAX_TASKS 32 -> 64
2019-06-30 18:37:41 -04:00
Julian Oes
d70b0f1c8c
Replace sleep with px4_sleep
...
This is another step to isolate time from the system.
2018-12-22 10:32:18 +01:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Beat Küng
1514ec3a5a
top: use SCHED_PRIORITY_MAX instead of 255 to specify the priority
2018-07-30 23:06:32 +02:00
Beat Küng
f2703abce0
top: increase process priority to 255
...
Helps debugging busy-looping tasks.
2018-05-18 22:23:32 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng
a43f135ad4
minor documentation updates to some commands
2017-07-14 11:57:11 +02:00
Beat Küng
c1788c4e43
top: add module description & usage
2017-07-14 11:57:11 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng
8a12dee125
cmake: remove all module.mk files & cmake conversion script ( #4918 )
...
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
Lorenz Meier
04b491c365
Exit top on read failure
2016-05-28 14:51:12 +02:00
Lorenz Meier
b412980f90
Enable top in SITL
2016-05-28 12:10:19 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Lorenz Meier
c41f32c17c
Merge beta
2015-08-22 20:49:54 +02:00
Lorenz Meier
b70c9a84c6
systemlib: Add ability to dump memory usage
2015-08-22 15:26:28 +02:00
Lorenz Meier
7cb97f1d39
top: Fix code style
2015-08-22 14:25:39 +02:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
9f097c1858
top: Reduce stack size, but leave some room if it has to print a few more apps
2014-05-15 09:11:32 +02:00
Lorenz Meier
a1aa8e84ff
Reduce top stack usage
2014-05-14 14:03:47 +02:00
Anton Babushkin
f818765008
top: CPU % indication bug fixed
2014-02-27 18:32:55 +04:00
Lorenz Meier
1ae5a6ac1d
Minimized nshterm flags, fixed some pretty stupid non-standard coding in top, now behaving with two shell instances as expected
2013-08-19 15:02:15 +02:00
Lorenz Meier
9910a5ef5f
Merge branch 'top' of https://github.com/a-ha/Firmware into top
2013-07-09 13:36:38 +02:00
Lorenz Meier
63d460160c
Adjusted to renaming of TCB in NuttX
2013-06-01 12:00:33 +02:00
Lorenz Meier
574e765321
Moved all system commands to the new world
2013-04-27 11:50:10 +02:00