Felix Ruess
95ae1375fc
[tests] fix test_baro for lisa
2013-02-19 21:59:14 +01:00
Felix Ruess
073929c5b3
[electrical] fix missing defined
2013-02-19 21:59:14 +01:00
Felix Ruess
94eed97a91
[airframes] update imu/ahrs freq conf for aspirin in microjet lisa/m example
2013-02-19 19:31:18 +01:00
Felix Ruess
528b6f40ec
[gps] fix skytraq binary parser: correct scaling and signed values, thx for reporting Gerard
...
while here clean up a little
hopefully finally closes #167
2013-02-18 20:47:31 +01:00
Gautier Hattenberger
be67b4e7a7
[AOA] some cleaning of the angle of attack module
2013-02-18 18:54:54 +01:00
Felix Ruess
0da63010b1
[imu] enable sign/sens defaults for aspirin_v2.2 as well
2013-02-18 14:18:33 +01:00
Stephen Dwyer
1a15a4e34c
[spi] added comment about buffer length requirements for stm32
2013-02-15 00:00:48 +01:00
Stephen Dwyer
4f9ae2a74b
[spi][stm32] added better handling of different length cases between tx and rx buffers, use dummy buffer for tx 0 length transfer, now only need to make sure the tx buffer is at least as long as the rx buffer in the case that 0 < output_length < input_length, other cases should be handled fine regardless of buffer lengths
2013-02-15 00:00:47 +01:00
Felix Ruess
a2387a8826
[peripherals] adxl345_spi stuff
2013-02-15 00:00:47 +01:00
Felix Ruess
1aae965e34
[stm32][spi] some renaming/cleanup, hopefully fix 16bit transfer as well...
2013-02-15 00:00:47 +01:00
Felix Ruess
1625c69f6a
[stm32]fix ppm after using systick prescaler: run ppm timer at AHB_CLK / 8 instead of / 9
2013-02-14 23:57:04 +01:00
Felix Ruess
fb867d91bf
[conf] remove obsolete USE_NEW_I2C_DRIVER option
2013-02-14 18:04:30 +01:00
Felix Ruess
5764ff1675
[conf] enable gravity norm heuristic in quadrotor example
2013-02-14 18:03:46 +01:00
Felix Ruess
1b8735631c
[conf] set auto2 to nav in quadrotor example
2013-02-14 16:18:10 +01:00
Felix Ruess
abeadb175a
[electrical] only use adc for vsupply if ADC_CHANNEL_VSUPPLY is defined
2013-02-14 16:14:54 +01:00
Felix Ruess
382921b094
[sim] stripped down pc_sim.h board file (with BOARD_HAS_BARO)
2013-02-14 16:14:49 +01:00
Felix Ruess
2270cc3c47
[spi][stm32] get rid of stupid remapping, SPI3 is now really spi3 (spi0 doesn't exist on stm32)
2013-02-14 16:14:39 +01:00
Felix Ruess
4f0063e568
[boards] add forgotten lia baro_board.h
2013-02-14 16:06:21 +01:00
Felix Ruess
74e93c6b96
[boards] lia defaulting to BARO_MS5611_SPI
...
still using baro_board.h as a hack :-(
2013-02-14 02:03:03 +01:00
Piotr Esden-Tempski
417fd1b671
Updated quady_lm2a2pwm.xml to aspirin v2.2.
2013-02-13 16:25:18 -08:00
Felix Ruess
02163516f0
[lisa_m] baro: resurrect the bmp085 driver that Michal removed
...
This is again the default with Lisa/M, three baro drivers to choose:
- BARO_BOARD_BMP085 (default)
- BARO_MS5611_SPI
- BARO_MS5611_I2C
To use the MS5611 on the Aspirin IMU, configure it in your firmware section, e.g.:
<configure name="LISA_M_BARO" value="BARO_MS5611_SPI"/>
2013-02-14 01:01:32 +01:00
Felix Ruess
1207fc2560
[imu_aspirin2] read mag again.. got disabled with Michal's baro_board stuff
...
explicitly enable reading of baro ms5611 through mpu with USE_IMU_ASPIRIN2_BARO_SLAVE:
seems to be configured but not functional since the baro value is never read anywhere..
2013-02-14 00:10:44 +01:00
Felix Ruess
ed28e4d697
[sys_time] if PERIODIC_FREQUENCY is defined, set default SYS_TIME_RESOLUTION to twice that
2013-02-13 23:39:35 +01:00
Felix Ruess
9bbe2da34a
[fixedwing] use default SYS_TIME_RESOLUTION of 1/1024 unless changed in airframe file
2013-02-13 23:15:37 +01:00
Felix Ruess
13912e763a
[modules] removed obsolete GPS_TIMESTAMP define, is now always compiled/enabled
2013-02-13 20:15:50 +01:00
Felix Ruess
690af6a51f
[gps] resurrect the gps time sync using the sys_time ticks (works on lpc and stm32)
...
this is e.g. used for the external trigger sync
The resolution now depends on SYS_TIME_RESOLUTION
If real cpu ticks resolution is needed, a better arch independent solution is needed.
2013-02-13 20:05:50 +01:00
Felix Ruess
b690fda8e8
[luftboot] doh, update submodule with fixed typo
2013-02-13 19:56:31 +01:00
Felix Ruess
281cf58259
[sys_time] cleanup: use sys_time.nb_x instead of old cpu_time_x
2013-02-13 18:53:19 +01:00
Felix Ruess
53c09578a7
[sys_time] cleanup and get_sys_time_float() inline function
...
get_sys_time_usec for stm32, overflows after 70min (same as before)
currently only used in SysTimeTimer, which is only used at startup AND
the sys_mon module, so that module doesn't work anymore after 70min!
2013-02-13 18:53:18 +01:00
Felix Ruess
999eb51e23
[sys_time] some performance improvements
...
stm32 now uses AHB_CLK / 8 as clock input for systick
2013-02-13 18:52:26 +01:00
Felix Ruess
80b72f36a7
[firmwares] rotorcraft: separate modules "task", fw/rc: if PRINT_CONFIG, show some more configured frequencies
2013-02-13 14:51:35 +01:00
Felix Ruess
214f5e5e13
[imu_aspirin] should now work for lpc21 with SPI as well...
...
untested, please report, see the microjet_twog_aspirin.xml as possible example
2013-02-13 14:32:20 +01:00
Felix Ruess
e157a2e562
Merge pull request #367 from scdwyer/master-fix_stm32_spi
...
Fix for SPI driver to handle different lengths of tx and rx buffer.
2013-02-12 16:43:13 -08:00
Stephen Dwyer
cee5d60b03
[stm32][spi] Fix for SPI driver to handle different lengths of tx and rx buffer. Note that tx buffer length MUST be greater than or equal to the rx buffer length in each transaction. Attempt to solve Issue #348 . Also fixed DMA transfer length for using 16bit spi data lengths, untested. Some blocking WHILE loops that maybe need to be fixed.
2013-02-12 17:19:35 -07:00
Felix Ruess
8808b3d428
[rotorcraft] lisa/lia baro configuration: e.g. <configure name=LISA_M_BARO value=BARO_SPI/> in airframe file
2013-02-13 00:51:25 +01:00
Felix Ruess
6d9a41ba1b
[luftboot] readme update
2013-02-12 19:40:28 +01:00
Felix Ruess
e3297523bf
[luftboot] minor makefile cleanup
2013-02-12 19:20:39 +01:00
Felix Ruess
e3f518c128
[luftboot] update submodule to bump version to 1.1
2013-02-12 18:54:20 +01:00
Felix Ruess
b7a614c4f5
[dfu] match Lia as well as Lisa/M
2013-02-12 13:29:29 +01:00
Felix Ruess
214e09c735
[rotorcraft] make RC_UPDATE_FREQ configurable
2013-02-11 22:14:09 +01:00
Felix Ruess
cb630dd360
[airborne] only print config messages at compile time if PRINT_CONFIG is defined
2013-02-11 20:33:08 +01:00
Felix Ruess
174ace9933
[fixedwing] print used ahrs freqs, pass configure options on...
2013-02-11 19:32:01 +01:00
Felix Ruess
84e4b23a3d
[imu_umarim] set default AHRS_PROPAGATE_FREQUENCY to 50Hz in makefile
2013-02-10 02:29:17 +01:00
Felix Ruess
31e11d30a3
[fixedwing] define default AHRS_PROPAGATE_FREQUENCY and AHRS_CORRECT_FREQUENCY in code instead of makefiles
2013-02-10 02:29:17 +01:00
Felix Ruess
4dd3f122e8
[imu_umarim] configurable gyro lowpass and output rate
2013-02-10 02:28:52 +01:00
Felix Ruess
87bb104db5
[imu] aspirin: no default SMPLRT_DIV for non-default GYRO_LOWPASS"
2013-02-10 02:28:52 +01:00
Gautier Hattenberger
8cea7521d9
[doc] correct doc in board makefiles to change default actuators
2013-02-09 22:11:26 +01:00
Felix Ruess
d19179ea06
[paparazzi_center] print better messages if commands exited with error
...
also got rid of the HUP handling in run_and_log, now only done in run_and_montior
closes #286
2013-02-09 16:21:28 +01:00
Felix Ruess
cdf1ebfb36
[fixedwing] fix ap/fbw split: setting only for ap target
2013-02-09 01:11:54 +01:00
Felix Ruess
83d8e8596c
[ins_xsens] fix compilation of fbw for classix, ins neutrals were not found
2013-02-08 23:22:45 +01:00