Commit Graph

2398 Commits

Author SHA1 Message Date
px4dev 4f285f7c80 Configure the DMA channels in circular mode so that we don't have to deal with the case where DMA stops but the master is still talking.
Use AF as well as STOPF to decide when transfer has ended. We don't seem to get STOPF when we are transmitting.
2013-01-13 19:05:00 -08:00
px4dev 770f2545fb Implement non-stop DMA mode (circular) for the F1x DMA driver. 2013-01-13 19:05:00 -08:00
px4dev bd543fd7fc A couple of minor tracing fixes; print the state names in the trace dump, and set the timestamp for each entry (not really a useful number yet…) 2013-01-13 19:05:00 -08:00
px4dev dadd5d01f9 Now that sem_timedwait works, we can turn on interrupt-driven I2C. 2013-01-13 19:05:00 -08:00
px4dev 81115166a7 Fix clock_time2ticks to round up, not down. This makes sem_timedwait for at least the necessary period. 2013-01-13 19:05:00 -08:00
px4dev 3cea0959b7 Implement a simple byte loopback server on I2C for more testing. 2013-01-13 19:05:00 -08:00
px4dev 2fb820fabd I2C slave RX DMA works. 2013-01-13 19:05:00 -08:00
px4dev 0dab53ae26 Implement I2C slave DMA. Not working yet. 2013-01-13 19:05:00 -08:00
px4dev f12fa7ee06 Don't do retries, since it just complicates things. 2013-01-13 19:04:59 -08:00
px4dev 7c7112a157 Implement stm32_dmaresidual for the F1 DMA driver. 2013-01-13 19:04:59 -08:00
px4dev 7c2445f74d Don't waste time printing when we have errors - that causes the master to time out 2013-01-13 19:04:59 -08:00
px4dev c51b130f17 Enable DMA 2013-01-13 19:04:59 -08:00
px4dev 3725292e62 Actually only one DMA on F100 2013-01-13 19:04:59 -08:00
px4dev 811790a14f Checkpoint I2C slave work on IO 2013-01-13 19:04:59 -08:00
px4dev 9faf348cf5 Merge pull request #156 from jgoppert/sensor_hil_rebase
Rebase of changes to sensor_hil_fixedwing branch.
2013-01-13 17:55:15 -08:00
James Goppert 63e6ea1b95 Changed fault tolerances. 2013-01-13 19:51:40 -05:00
James Goppert 0ccdbd78f6 More formatting. 2013-01-13 19:23:59 -05:00
James Goppert e02791ee8e Added assertion, fixed formatting. 2013-01-13 19:21:40 -05:00
James Goppert 69f6fe51bc More fixes. 2013-01-13 19:08:27 -05:00
James Goppert e3d0e0216b Fixed comment. 2013-01-13 19:05:58 -05:00
px4dev 532993c281 Merge pull request #158 from PX4/battery_status_cleanup
Removed last bogus references to battery voltage from sensor combined topic
2013-01-13 15:58:50 -08:00
Lorenz Meier 5ad8e645f4 Removed last bogus references to battery voltage from sensor combined topic 2013-01-14 00:42:20 +01:00
James Goppert f7c31e4d80 Reduced stack size for mavlink receiver. 2013-01-13 18:41:03 -05:00
James Goppert 56e15ab1f4 Working on comments. 2013-01-13 18:38:09 -05:00
James Goppert ea3ce8de85 Reboot fix. 2013-01-13 18:22:35 -05:00
James Goppert 6d8983e908 Fixed HIL state machine issue with reboot. 2013-01-13 17:43:30 -05:00
James Goppert a40f41d216 Change default vehicle type to fixedwing. 2013-01-13 17:35:56 -05:00
James Goppert 464c5245f2 Rebase of changes to sensor_hil_fixedwing branch. 2013-01-13 17:25:45 -05:00
Lorenz Meier 0fdf962356 Merge pull request #150 from PX4/app-auto-deps
Use the compiler to generate app dependencies
2013-01-13 13:54:47 -08:00
px4dev ff146cc5b1 Merge pull request #148 from PX4/adc_integration
Selected adjustments / fixes to make old apps compatible with new-style ADC
2013-01-13 13:43:45 -08:00
Lorenz Meier 9ac2684ca0 Printing error reason in warning 2013-01-13 22:42:12 +01:00
px4dev 58ea9fbf01 Merge pull request #154 from PX4/file_test_fix
Fixed #153 - when no microSD card is present, test used to hang, now abo...
2013-01-13 11:16:03 -08:00
Lorenz Meier ca690f6027 Fixed #153 - when no microSD card is present, test used to hang, now aborts with error. 2013-01-13 09:35:56 +01:00
Lorenz Meier a6a6d9c457 Merge branch 'master' of github.com:PX4/Firmware into adc_integration 2013-01-13 09:25:12 +01:00
Lorenz Meier 054bb69cc7 Showing correct test count also in success case 2013-01-13 09:24:51 +01:00
px4dev dcb0a32648 Merge pull request #152 from PX4/#149-mathlib-warnings
Suppress warnings from ARM's DSP_Lib code that are spamming developers t...
2013-01-12 23:01:24 -08:00
Lorenz Meier acbfd66e67 Cleaned up tests further, in anticipation of merges with other branches 2013-01-12 23:26:26 +01:00
Lorenz Meier 8d6e0bc968 Merged with upstream 2013-01-12 22:42:26 +01:00
Lorenz Meier 15b61d4c15 Improved battery voltage init, removed bogus printf() from debugging 2013-01-12 22:41:32 +01:00
px4dev dba244a8d4 Fix a build breaker, remove C*HDRS as they aren't used. 2013-01-12 12:46:46 -08:00
px4dev 1c63eda98b Objects depend on the makefile chain as well. 2013-01-12 12:39:29 -08:00
px4dev 5b07efdbeb Automatically generate depdencies for source files as they are compiled, rather than using the NuttX dependency generator tool. 2013-01-12 12:10:06 -08:00
px4dev 6d301710d9 Suppress warnings from ARM's DSP_Lib code that are spamming developers to no benefit.
Addresses #149
2013-01-12 12:08:03 -08:00
Julian Oes 9f1ab9348c One printf made the tests unreadable 2013-01-11 20:09:45 -08:00
Lorenz Meier 6c1b00e22f Counting the number of tests correctly 2013-01-12 00:53:45 +01:00
Lorenz Meier dad7f9f436 Selected adjustments / fixes to make old apps compatible with new-style ADC driver 2013-01-12 00:38:49 +01:00
Lorenz Meier 2f94a7a2b7 Merge pull request #146 from PX4/wpfix
WP fix contributed by James Goppert
2013-01-11 09:07:42 -08:00
Lorenz Meier 419896f983 WP fix contributed by James Goppert 2013-01-11 18:02:47 +01:00
px4dev 40dfbf0d97 Merge pull request #137 from PX4/fixedwing
Add latest fixed wing control bits, multi rotors supported.
2013-01-10 23:38:13 -08:00
Lorenz Meier 31ca806958 More print cleanups in commander app 2013-01-11 08:24:28 +01:00