Lorenz Meier
a10ff0fe1c
First round of testing successful - back to I2C code from Dec / Nov 2012
12 years ago
Lorenz Meier
c15093bb55
Bringing back old I2C code, just temporary workaround
12 years ago
px4dev
bc35bb23dd
HOTFIX: disable interrupt-driven I2C mode, configure pessimistic I2C timeout, correct handling of the NAK generation for I2C master reads.
...
This looks like it addresses the recent I2C lockup issue, unfortunately it also increases CPU consumption by ~5% for the I2C sensor bus.
12 years ago
px4dev
ab0459c1f4
Pass the absolute path to the compiler/assembler so that error messages include enough information for an IDE to find the file.
12 years ago
Lorenz Meier
07114f0a32
Windows build fix attempt
12 years ago
px4dev
5e91a36623
Drop the 'nonstop' flag since we can infer it when we need it. Submitted this version of the serial DMA changes for integration into mainline NuttX.
12 years ago
px4dev
5e35491a38
We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, and since USART2 is going back to being ignored once I2C works, let's make the call.
...
Turn off the debug output on I2C for now.
12 years ago
px4dev
469d13fdfe
Implement serial receive DMA for the F1xx. This is not quite working right yet. Some clients work, others not so much.
12 years ago
px4dev
e2f7a46812
Clear the interrupting condition when we take the DMA interrupt.
12 years ago
px4dev
770f2545fb
Implement non-stop DMA mode (circular) for the F1x DMA driver.
12 years ago
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…)
12 years ago
px4dev
dadd5d01f9
Now that sem_timedwait works, we can turn on interrupt-driven I2C.
12 years ago
px4dev
81115166a7
Fix clock_time2ticks to round up, not down. This makes sem_timedwait for at least the necessary period.
12 years ago
px4dev
7c7112a157
Implement stm32_dmaresidual for the F1 DMA driver.
12 years ago
px4dev
7c2445f74d
Don't waste time printing when we have errors - that causes the master to time out
12 years ago
px4dev
c51b130f17
Enable DMA
12 years ago
px4dev
3725292e62
Actually only one DMA on F100
12 years ago
px4dev
811790a14f
Checkpoint I2C slave work on IO
12 years ago
px4dev
41987c7848
Recover fix for and enabling of interrupt-driven I2C.
12 years ago
px4dev
fbf4c44230
Fix a compile error in the i2c reset code.
12 years ago
px4dev
f127495caa
Manually fixup merge botches via direct comparison with NuttX r5447.
12 years ago
px4dev
6de688676d
Suppress annoying C++ ABI portability warnings
...
This suppresses an otherwise not useful warning when mixing C++ and va_list
12 years ago
px4dev
c137ceba7d
Remove more redundant CMSIS pieces from here.
12 years ago
px4dev
91dba46524
Fix fallout from removing the spurious CMSIS
12 years ago
px4dev
faced6bfe3
Merge James's controllib bits into a separate library module.
...
Add a top-level mathlib header to avoid having to dig around for specific headers.
12 years ago
px4dev
43ccb257a8
Move the math library pieces out of systemlib into mathlib
12 years ago
jgoppert
23e8d0b467
Added kalman_demo. This is an attitude/position EKF example.
12 years ago
px4dev
4447282260
Integrate the interesting parts of the CMSIS 3.01 (r3p1) DSP library
12 years ago
jgoppert
84d7f19d7d
Added control library to build.
12 years ago
jgoppert
4f3b17f53b
Added math library to build.
12 years ago
Andrew Tridgell
375d3c14d7
increase the UART buffer sizes to 256
...
The most critical one is the GPS serial port receive buffer size,
which needs to be at least 128 to support the UBLOX protocol, but it
seems a good idea for people running a FMU without a IO board to
increase the UART buffer sizes generally
12 years ago
px4dev
91ca80e634
Fix the handling of FIONREAD/FIONWRITE; thanks Tridge.
12 years ago
Andrew Tridgell
920608bf36
added vdprintf() library function
12 years ago
Andrew Tridgell
73b787a8dd
serial: fixed up FIONREAD and FIONWRITE
...
the device ioctl returns -ENOTTY when it hasn't handled the command
12 years ago
px4dev
3916230d8f
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
12 years ago
px4dev
e787fa5bce
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
12 years ago
Andrew Tridgell
890b1ac068
build: cope better with absolute paths
12 years ago
px4dev
b3f037e876
Forgot to save this one; more build system tweaks.
12 years ago
px4dev
eaf1d8063c
Build system updates to match the NuttX merge.
12 years ago
px4dev
476db46869
kill off the NuttX ADC driver config; we're not going to use it
12 years ago
px4dev
d5da457e29
Fix PX4IO to run C++ static ctors
12 years ago
Lorenz Meier
9e2076b4e4
Cleared last differences, ready for testing
12 years ago
Lorenz Meier
8b8330a015
Reverted nuttx merge, back to master
12 years ago
px4dev
3c865c7261
Build the mixer library for PX4IO as well
12 years ago
patacongo
0f2decb70f
Prep for release 6.24
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5447 42af7a65-404d-4744-a932-0658087f49c3
12 years ago
patacongo
c2a284d25e
Fix make export target
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5446 42af7a65-404d-4744-a932-0658087f49c3
12 years ago
patacongo
db3e7613bc
Verify PATH variable in apps/examples/elf
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5445 42af7a65-404d-4744-a932-0658087f49c3
12 years ago
patacongo
272fc3b523
Some minor fixes for CONFIG_ADDRENV=y
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5444 42af7a65-404d-4744-a932-0658087f49c3
12 years ago
patacongo
56a6504618
Incorporate address environment interfaces in binfmt/ logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
12 years ago
patacongo
8ae8d43ae2
Restructre address environment interfaces in preparation for incorporation into binfmt/ logic
...
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5442 42af7a65-404d-4744-a932-0658087f49c3
12 years ago