Gautier Hattenberger
737d7d3c8b
[makefile] silence clean target and add missing Makefile
2013-02-23 12:31:59 +01:00
Gautier Hattenberger
446231949b
[makefile] more makefile cleaning and dynamic loading
2013-02-23 12:31:59 +01:00
Gautier Hattenberger
b81ae24917
[makefile] most of the ocaml tools are compiling with shared lib
...
some issues with mixed static/shared lib
2013-02-23 12:31:59 +01:00
Gautier Hattenberger
69ddd2cabd
[makefile] cleaning makefiles from -custom param for ocaml
2013-02-23 12:31:59 +01:00
Felix Ruess
cf7121934f
verbose option for building ocaml lib
2013-02-23 12:31:59 +01:00
Felix Ruess
f662d2e818
[ocaml][tools] don't use custom runtime for ocaml, instead load shared libraries in ocamlrun
...
since the ivy-ocaml lib currently can't be found with ocamlfind and libpprz is not installed system-wide,
specify the paths directly with -dllpath
2013-02-23 12:31:58 +01:00
Felix Ruess
97389f00a3
[stm32][spi] select slave after configuring clock/phase, etc of peripheral
...
Also:
- replace tx_length_case by simpler use_dummy_tx_buf
- minor comment cleanup while here...
2013-02-22 00:52:31 +01:00
Felix Ruess
eb6bce26b5
[peripherals] hmc58xx: fix typo in comment and make explict separate defines for Y,Z data regs for HMC5843/HMC5883
2013-02-21 13:46:52 +01:00
Felix Ruess
a69420d469
[rotorcraft] print info if using FAILSAFE_GROUND_DETECT
2013-02-21 11:00:20 +01:00
Felix Ruess
52ad2ff99c
[peripherals] adxl345_spi: set in/out length to fixed 7 again, mixed lenght not working reliably
2013-02-21 01:40:23 +01:00
Felix Ruess
dcdff17aab
[gps] update doxygen comment
2013-02-20 22:16:40 +01:00
Felix Ruess
c3f095f7e7
[modules] minor cleanup of ezcurrent sensor
2013-02-20 20:18:24 +01:00
Gerard Toonstra
1d22dcee5a
adjusted scaling of ezcurrent sensor
2013-02-20 19:39:51 +01:00
Gautier Hattenberger
9528a702ee
[log/replay] this should allow to replay logs including procedures
...
fix #227
2013-02-20 18:26:12 +01:00
Gautier Hattenberger
8b9266fb46
[sim] fix symbolic link
2013-02-20 18:25:37 +01:00
Felix Ruess
32ec2b1b2a
[conf] pass configured AHRS_x_FREQUENCY on for rotorcrafts as well
2013-02-20 15:22:09 +01:00
Felix Ruess
92e234d8d6
[stm32] update can for latest libopencm3
2013-02-19 21:59:15 +01:00
Felix Ruess
43ca4a4ab9
[sw/ext] only build stm32 targets of libopencm3
2013-02-19 21:59:15 +01:00
Felix Ruess
436ab37122
[sw/ext] update libopencm3 to latest master
2013-02-19 21:59:14 +01:00
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