David Sidrane
8d510471a1
Turn off paramter culling on eagle
2016-05-05 08:00:26 +02:00
David Sidrane
a08cce27d7
Allow paramter culling to be tunred off
2016-05-05 08:00:26 +02:00
David Sidrane
1c94e27463
Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy
...
Conflicts:
src/lib/ecl
2016-05-01 13:47:41 +02:00
David Sidrane
64d43ad381
Scope parameter included in build by cmake/configs
...
Conflicts:
Tools/px_generate_params.py
src/lib/ecl
2016-05-01 13:47:41 +02:00
David Sidrane
161f92250f
Update CMakeLists.txt ( #4377 )
...
Removes warning as Cmake now using STACK_MAIN
2016-04-27 08:29:06 +02:00
David Sidrane
f0b770a3ce
Use correct CS defines to disable chip selects
...
Repair one more cut and past mistake I made.
https://github.com/dipspb/PX4Firmware/blob/px4-master-sensor_reset_fix/src/drivers/px4fmu/fmu.cpp#L2167-L2170
Should not have OFF
2016-03-06 18:04:25 +01:00
David Sidrane
65696acf6a
Merge pull request #3920 from dipspb/px4-master-sensor_reset_fix
...
Fix sensor_reset method for PX4FMU_V4
2016-03-04 04:52:28 -10:00
David Sidrane
0bde2b6fa3
Fixed Channel mapping
2016-02-04 08:56:07 +01:00
David Sidrane
7541aecd18
Fixed Isr restore (moved out of loop)
2016-02-04 08:56:07 +01:00
David Sidrane
7edd07f8cb
Rebased on master, removing the default_rate field and using default to 0 for rates
2016-02-01 10:10:35 +01:00
David Sidrane
0d13c41108
Ran Astyle
2016-02-01 10:10:35 +01:00
David Sidrane
8268161b18
Fmu interface to Capture
2016-02-01 10:10:35 +01:00
David Sidrane
b3af469e80
IO Timer Changes for Capture
2016-02-01 10:10:35 +01:00
David Sidrane
0397537cf0
Adding input capture driver
2016-02-01 10:10:35 +01:00
David Sidrane
f3c22d3334
Refactored pwm servo to use drv_io_timer
2016-02-01 10:10:35 +01:00
David Sidrane
2949578832
Renamed pwm_timers to more appropriate io timers for use in pwm in/out and capture
2016-02-01 10:10:34 +01:00
David Sidrane
019e197714
Change pin init state to 1 to uses late pwm init with not pulses
2016-02-01 10:10:34 +01:00
David Sidrane
5e47ffdaf9
Moved Switching IO to the point of ARMing
2016-02-01 10:10:34 +01:00
David Sidrane
1843eea917
Reverting 2e8accc6ff infavor of IO init changes
2016-02-01 10:10:34 +01:00
David Sidrane
9c6f4de753
Fixes buffer overwrite on CONFIG_ARCH_BOARD_AEROCORE
2016-01-22 00:22:26 +01:00
David Sidrane
b8538c59ab
Merge pull request #3353 from PX4/master_fmuv4_fix_mavlink
...
Support Mavlink on USART2 (ESP8266)
2015-12-11 07:23:05 -10:00
David Sidrane
0e48b58d7d
Support Mavlink on USART2 (ESP8266)
...
Needed bigger buffers
2015-12-11 06:33:23 -10:00
David Sidrane
316063891d
Merge branch 'master' into master_silicon_rev
2015-12-05 04:09:54 -10:00
David Sidrane
90ba24b1c8
Merge branch 'master' into master_uavcan_travis
2015-12-05 04:09:44 -10:00
David Sidrane
9d4c7e9af6
Ran Astyle
2015-12-04 13:10:29 -10:00
David Sidrane
452d724cfe
Reved FMU Side px4pio uploader to accept Rev 5 and below bootloader
2015-12-04 13:10:29 -10:00
David Sidrane
923a43b67f
Support for Rev 5 of Bootloader
2015-12-04 13:10:29 -10:00
David Sidrane
5d422f5c30
Updated comments
2015-12-04 12:25:51 -10:00
David Sidrane
bc89f6faef
todo:Added todo for using strcat
2015-12-04 12:25:51 -10:00
David Sidrane
daccfc6c40
Fixed repeated output
2015-12-04 12:25:51 -10:00
David Sidrane
31241c9b49
Fixed off-by-one errors
2015-12-04 12:25:51 -10:00
David Sidrane
31a773e3ce
Use _ prefix o uavcan files in ROMFS , simplify upgrade
2015-12-04 12:25:51 -10:00
David Sidrane
c0ef1a9dcb
Move uavcan bin files to ROMFS based on naming convention
2015-12-04 12:25:51 -10:00
David Sidrane
cb5e384105
Ran Astyle
2015-12-04 22:34:47 +01:00
David Sidrane
3ce6ee57e4
Set nunmber of UAVCAN interfaces on HW from top level cmake file
2015-11-30 15:44:36 -10:00
David Sidrane
fa3cccc96a
Start mpu6000 driver before mpu9250 -> need to change cal code
2015-11-28 09:13:15 +01:00
David Sidrane
a631a595e5
Added lib/terrain_estimation and lib/runway_takeoff requierd from rebase on master
2015-11-28 09:13:15 +01:00
David Sidrane
775b64595c
Fixed hmc5983
2015-11-28 09:13:15 +01:00
David Sidrane
6585b629e1
Set Rotations for 6 and 9 axis
2015-11-28 09:13:15 +01:00
David Sidrane
731daec744
Added missing conditional compilation control for FMUV4
2015-11-28 09:13:15 +01:00
David Sidrane
6df5aab064
px4fmu-v4 uses MPU6000 driver for ICM-20609-G
2015-11-28 09:13:15 +01:00
David Sidrane
46c63da8be
Added support for ICM-20608-G to MPU6000 driver
2015-11-28 09:13:15 +01:00
David Sidrane
cb6327ebab
Force USE_IO to no on FMUV4
2015-11-28 09:13:15 +01:00
David Sidrane
75b96732b5
Extended to support PX4FMU_V4 hw
2015-11-28 09:13:15 +01:00
David Sidrane
a67097731a
Renamed pax4fmu-v3 to pax4fmu-v4
2015-11-28 09:13:15 +01:00
David Sidrane
7fb90d751f
Ran Astyle
2015-11-28 09:13:15 +01:00
David Sidrane
30bc968ed6
Ran Astyle
2015-11-28 09:13:15 +01:00
David Sidrane
f3b7585a89
Wip FMUV3
2015-11-28 09:13:15 +01:00
David Sidrane
1b5db91c35
Added Fix me re chan 1/2 interactions
2015-11-28 09:13:15 +01:00
David Sidrane
32ae638974
Support GPIO_CAN2_RX not defined
2015-11-28 09:13:15 +01:00
David Sidrane
09f83e78e5
Support PX4IO_DEVICE_PATH not defined
2015-11-28 09:13:15 +01:00
David Sidrane
d6c6cb72b2
Support PX4_I2C_BUS_ONBOARD not defined
2015-11-28 09:13:15 +01:00
David Sidrane
2641ebb99b
Build without pio
...
TEMP - uses nuttx_next_cmake version long term
2015-11-28 09:13:15 +01:00
David Sidrane
99921db5cf
Temporary (or not) fix calibration failure due
...
Due to the uOrb publishing rate difference beteen the mpu9250 driver and
the mpu6000 driver on the ICM-20608-G. The latter driver has an integrator output
the limit the publishing rate
2015-11-24 11:37:39 +01:00
David Sidrane
e41c3cf876
Missing Close es and poll rate reset
2015-11-21 01:09:58 -10:00
David Sidrane
6bab225fed
Added the integration like on mpu6000
2015-11-20 04:17:24 -10:00
David Sidrane
d5c89c5392
BUGFIX:Take 2! CLI "commander calibrate acel" resulted in hardfault
...
Processes: 20 total, 4 running, 16 sleeping
CPU usage: 65.19% tasks, 0.56% sched, 34.24% idle
Uptime: 387.573s total, 135.045s idle
PID COMMAND CPU(ms) CPU(%) USED/STACK PRIO(BASE) STATE
0 Idle Task 135045 34.242 0/ 0 0 ( 0) READY
1 hpwork 7495 1.693 956/ 1592 192 (192) w:sig
2 lpwork 1576 0.376 572/ 1592 50 ( 50) w:sig
3 init 1655 0.000 1404/ 2496 100 (100) w:sem
170 top 9 0.000 1204/ 1696 100 (100) RUN
87 dataman 1 0.000 652/ 1192 90 ( 90) w:sem
105 sensors 31810 8.090 1644/ 1992 250 (250) w:sem
107 gps 1217 0.000 708/ 1192 220 (220) w:sem
109 commander 49016 17.027 3412/ 3596 215 (215) w:sig +100 184 head room
114 mavlink_if0 2607 0.564 2092/ 2392 100 (100) READY
115 mavlink_rcv_if0 27 0.000 804/ 2096 175 (175) w:sem
122 sdlog2 849 0.188 2068/ 2992 70 ( 70) READY
125 commander_low_prio 4678 0.000 2740/ 2872 50 ( 50) w:sem +200 132 head room
142 attitude_estimator_q 65555 16.933 1956/ 2096 250 (250) w:sem
144 position_estimator_inav 23877 6.208 4588/ 4992 250 (250) w:sem
148 mc_att_control 31210 7.902 1132/ 1496 250 (250) w:sem
150 mc_pos_control 2901 0.658 1044/ 1496 250 (250) w:sem
155 navigator 2219 0.470 828/ 1496 105 (105) w:sem
165 mavlink_if1 21195 5.079 2156/ 2392 100 (100) w:sig
167 mavlink_rcv_if1 116 0.000 1236/ 2096 175 (175) w:sem
2015-11-19 11:44:09 -10:00
David Sidrane
2ffccc5c9f
BUGFIX:CLI "commander calibrate acel" resulted in hardfault
2015-11-19 07:50:45 -10:00
David Sidrane
e326e190cb
BUGFIX: Multiple PREFLIGHT FAIL: xxx messages - multiline macros not wrapped in do/while
2015-11-19 07:47:11 -10:00
David Sidrane
05a08252ff
Bugfix:pthread_create retuns 0 on success and positive error on error without errono set
2015-09-23 08:19:23 -10:00
David Sidrane
a5ad7641e3
Updated Submodule NuttX with group delete fix and cstdlib fixes ==master
2015-09-23 08:17:16 -10:00
David Sidrane
f5d399c9bd
Merge pull request #2897 from PX4/master_uavcan_time_base
...
Update uavcan_main.cpp
2015-09-23 05:58:35 -10:00
David Sidrane
8eaf213edd
Update uavcan_main.cpp
2015-09-23 05:32:14 -10:00
David Sidrane
2a36067cc7
Added reset to usage
2015-09-23 04:18:40 -10:00
David Sidrane
1996d2b55a
Uavcan parameter and reset command line operations
2015-09-23 04:07:42 -10:00
David Sidrane
05ec165ed5
Updated Submudule NuttX with cstdlib fixes ==master_cstdlib
2015-09-23 04:00:01 -10:00
David Sidrane
d69be4b554
Added UAVCAN Time Synchronization Master capabilities to FMU
2015-09-23 03:53:49 -10:00
David Sidrane
f424cc6b18
Using the uavcan stm32 clock driver to support UAVCAN time syncing
...
Conflicts:
src/lib/uavcan
src/modules/systemlib/print_load_posix.c
src/modules/uavcannode/module.mk
2015-09-23 03:53:09 -10:00
David Sidrane
999982a033
Merge pull request #2803 from ksschwabe/master
...
Tone_Alarm: Added ability to use timer 1 and timer 8 for the tone alarm driver.
2015-09-03 06:06:04 -10:00
David Sidrane
c5489b0598
Merge pull request #2759 from ksschwabe/master
...
Bug fix: Incorrect APBs used in HRT driver, tone alarm and, pwm_input driver.
2015-08-28 13:15:09 -10:00
David Sidrane
abc74323ac
Set margins
...
CONFIG_ARCH_INTERRUPTSTACK = 500 40 Bytes margin
CONFIG_IDLETHREAD_STACKSIZE= 290 - idel usage 0x20001F78 from 0x20002000 is 136 bytes Margin is 154
CONFIG_USERMAIN_STACKSIZE=800 268 bytes margin 0x200013c8
2015-08-19 11:42:56 +02:00
David Sidrane
aaafbad9e7
Updated Config - Using Irq stack and reduces idel stack and user sizes
2015-08-19 11:42:55 +02:00
David Sidrane
fc6144c46e
Updated Submodule src/lib/uavcan ==master
2015-07-22 09:17:32 -10:00
David Sidrane
67f1fbf844
Need recusive submodule checkout
2015-07-09 11:34:18 -10:00
David Sidrane
22d46fa733
Merged master_uavcan_modular src/modules/uavcan/
2015-07-09 11:22:35 -10:00
David Sidrane
3e64ad10e8
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 19:43:06 +02:00
David Sidrane
d6c2dd997b
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 06:21:28 -10:00
David Sidrane
e7a3674c1d
This is a temporary hot fix for lost data
2015-06-15 07:03:14 -10:00
David Sidrane
447b93c090
Add size Makefile target for elf
2015-06-13 06:07:57 -10:00
David Sidrane
9585bb4a3c
Missing slash
2015-06-12 07:54:51 -10:00
David Sidrane
428611119f
Merged GIT version changes
2015-06-12 19:32:55 +02:00
David Sidrane
5acc4ee43b
Back Port of Git Versioning - without side effects Part 2
2015-06-12 06:54:04 -10:00
David Sidrane
17fddb1556
Back Port of Git Versioning - without side effects Part 1
2015-06-12 06:49:15 -10:00
David Sidrane
28d3729acd
Backport of Fixes mavlink_if0: invalid data rate '(null)' bug
2015-06-11 15:43:28 -10:00
David Sidrane
68276ff345
Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID
2015-06-05 06:43:10 -10:00
David Sidrane
2d796f408d
Ran Astyle
2015-06-04 03:27:40 -10:00
David Sidrane
3f56892950
Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next
2015-06-04 03:25:43 -10:00
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-04 02:37:59 -10:00
David Sidrane
d720a42a35
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-03 13:47:36 -10:00
David Sidrane
03bdf1e5f2
Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0
2015-06-03 22:49:57 +02:00
David Sidrane
bcb3529490
Added confitional definition
2015-06-03 22:49:57 +02:00
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
2015-06-03 22:49:57 +02:00
David Sidrane
7950167bc5
Added assertion on allocation failure for parameter change storage, removed magic numbers
2015-06-03 22:49:57 +02:00
David Sidrane
c6bc3153ef
Reviewd - fixed indexing that was wrong, code clean up ran astyle
2015-05-15 03:58:04 -10:00
David Sidrane
a0af91d05c
Missing Brace
2015-05-14 18:15:10 -10:00
David Sidrane
6667e6e078
Update param.c
...
Not used px4_macros.h anyway
2015-05-14 18:03:23 -10:00
David Sidrane
8e9fdc6147
Use stdlib's calloc for compaiblity
2015-05-14 17:03:10 -10:00
David Sidrane
dc4d5619ea
Reduced the amount of memory used by params to only that that is needed
...
Conflicts:
src/modules/systemlib/param/param.c
2015-05-14 17:02:45 -10:00
David Sidrane
585c5334be
Update Nuttx submodule == master that has the Workaround for bad values read from the STM32_OTGFS_GRXSTSP
2015-04-25 06:51:55 -10:00
David Sidrane
be378f4395
Merge pull request #2087 from PX4/master_usb_fix
...
Update Nuttx submodule == master_usb_fix that adds Workaround for bad va...
2015-04-25 06:45:24 -10:00