James Cotton
fef9570e4d
INS: Get bootloader working again
2011-09-27 01:17:14 -05:00
James Cotton
cf6a59468f
Merge branch 'next' into ins
...
Conflicts:
flight/INS/Makefile
flight/Project/OpenOCD/stm32f1x.cfg
flight/Project/OpenOCD/stm32f2x.cfg
make/firmware-defs.mk
2011-09-27 01:02:06 -05:00
James Cotton
acf2aa218b
Merge remote-tracking branch 'origin/stac/upgrade-to-openocd-0.5.0' into next
2011-09-14 11:49:01 -05:00
Oleg Semyonov
c92870d29e
Remove unused file (versionblob.py)
2011-09-13 16:10:10 +03:00
James Cotton
4847a04db8
Mainboard: Get PWM working again. Had to add extra timer IRQ handlers for
...
TIM5-8. Also TIM1 was not handled probably (for CC either) as the name of the
IRQ is TIM1_CC and TIM1_UP for the capture compare versus update. I haven't
checked the downstream code that the registers it uses to map from a context to
event is invariant under timer channel.
2011-09-10 14:20:40 -05:00
James Cotton
2871c75a79
Mainboard: Get PWM working again. Had to add extra timer IRQ handlers for
...
TIM5-8. Also TIM1 was not handled probably (for CC either) as the name of the
IRQ is TIM1_CC and TIM1_UP for the capture compare versus update. I haven't
checked the downstream code that the registers it uses to map from a context to
event is invariant under timer channel.
2011-09-10 13:53:38 -05:00
James Cotton
3239fdf21b
Merge branch 'next' into ins
...
Conflicts:
flight/CopterControl/Makefile
flight/OpenPilot/System/pios_board.c
flight/Project/OpenPilotOSX/OpenPilotOSX.xcodeproj/project.pbxproj
2011-09-09 08:33:34 -05:00
James Cotton
465527a980
INS: Enable GPS parsing. GPS data is processed on INS now. HomeLocation and
...
WMM are not currenly implemented.
2011-09-04 20:03:04 -05:00
James Cotton
89e640ae7f
Make sure all receiver drivers return correct constants for invalid channels.
2011-09-04 01:24:16 -05:00
James Cotton
20de046292
Force system to be disarmed when a bad configuration is present
2011-09-04 00:43:33 -05:00
James Cotton
697dbf4f5f
OP-568 PIOS_RCVR: Standardize the values that are returned from the PIOS_RCVR and make
...
them symbolic constants.
- A timeout is 0
- A missing driver is 65534
- An invalid channel is 65535
ManualControl: Make it deal with the values explicitly. A timed out value
should not be treated like a minimum duration signal. Instead it does not
updated the scaled value but marks the data window as invalid to trigger the
failsafe.
2011-09-03 23:50:56 -05:00
Stacey Sheldon
5a51077493
openocd: add support for RTOS autodetection
...
This allows things like 'info threads' to work in gdb when
combined with openocd 0.5.0+.
2011-08-27 10:38:50 -04:00
Stacey Sheldon
89d23df8cd
openocd: Add default config for stm32f2x
...
Pulled from origin/james/ins.
2011-08-27 10:37:20 -04:00
Stacey Sheldon
3d22258843
Merge remote branch 'origin/james/openocd' into upgrade-to-openocd-0.5.0
2011-08-27 09:19:46 -04:00
James Cotton
29026db5d5
Refactor the INS code out a bit but still a mess.
2011-08-17 06:15:14 -05:00
James Cotton
ca413415a0
Code to make openocd 0.5.0 work. I'll keep this branch rebased on next.
2011-08-13 18:03:49 -05:00
James Cotton
5619e33292
Bootloader now jumps to functioning code for INS. Consistent with AHRS code.
2011-08-12 22:52:47 -05:00
James Cotton
6529b8360f
Trying to get linker system working for INS
2011-08-12 21:28:02 -05:00
James Cotton
f247112090
PiOS F2: Move IMU3000 to device dependent :(. Now they all are. Need to
...
abstract as much as possible out since init is almost identicalc and protocol
COULD be device independent.
2011-08-12 03:38:45 -05:00
James Cotton
8c1dd7b929
Make BMP085 driver device dependent and update to new driver style.
2011-08-12 03:38:45 -05:00
James Cotton
9d76efa2aa
Move BMA180 driver to common architecture style.
2011-08-12 03:38:45 -05:00
James Cotton
6310f46705
HMC5883: Update driver for F2. Move to STM32F2xx directory since it is device
...
dependent. Abstract configuration out of board.h file into a standard board.c
structure.
2011-08-12 02:26:51 -05:00
James Cotton
9c7799dfe6
UAVObject Init: Get rid of deprecated linker init code
2011-08-10 22:48:42 -05:00
James Cotton
f11aa80444
CameraStabilization: Make the CameraStabilization module put the desired
...
position into another object (will help with configuration).
2011-08-09 20:45:38 -05:00
James Cotton
a097ff784b
F2 PiOS: Getting the I2C driver working again (copying changes from Zippe,
...
thanks again man!)
2011-08-09 12:58:46 -05:00
James Cotton
d78450eae8
Move some of the F2 defines into the makefile to make them global. Fixes some
...
issues with grabbing the wrong stm32 configuration file.
2011-08-09 01:19:05 -05:00
James Cotton
479ba7c21f
OP-378 INS: Continue getting F2 INS to compile
2011-08-08 08:36:40 -05:00
James Cotton
558bdddeaf
INS: Almost got Bootloader compiling *sigh*
2011-08-06 21:27:29 -05:00
James Cotton
d1c9ac0705
PiOS F2: Commit the F2 port of PiOS from Zippe. Thanks for doing all the hard
...
work man :-D
2011-08-06 19:36:56 -05:00
James Cotton
7720f9ff09
Add F2 support for the new OpenOCD for newer targets. Requires compiling
...
OpenOCD from repo.
2011-08-06 18:21:21 -05:00
James Cotton
0bba13a0e9
Merge branch 'next' into ins
...
Conflicts:
flight/INS/Makefile
flight/INS/pios_board.c
flight/Modules/Altitude/altitude.c
flight/PiOS/Boards/STM3210E_INS.h
flight/PiOS/STM32F10x/link_STM3210E_INS_BL_sections.ld
flight/PiOS/STM32F10x/link_STM3210E_INS_HD_BL.ld
flight/PiOS/STM32F10x/link_STM3210E_INS_HD_NB.ld
flight/PiOS/STM32F10x/link_STM3210E_INS_memory.ld
flight/PiOS/STM32F10x/link_STM3210E_INS_sections.ld
flight/Project/OpenPilotOSX/OpenPilotOSX.xcodeproj/project.pbxproj
2011-08-06 17:25:56 -05:00
James Cotton
387a22398e
Make it possible to optionally enable the CameraStab module
2011-07-30 12:08:47 +09:00
James Cotton
2e5a36a4db
Merge branch 'stac/refactor-usart-com' into camera_stabilization
2011-07-30 10:55:16 +09:00
James Cotton
96c2d24253
Merge branch 'next' into camera_stabilization
...
Conflicts:
flight/CopterControl/Makefile
flight/CopterControl/System/coptercontrol.c
flight/Modules/Actuator/actuator.c
flight/Modules/GPS/GPS.c
flight/Modules/ManualControl/manualcontrol.c
flight/Modules/Stabilization/stabilization.c
flight/Modules/System/systemmod.c
shared/uavobjectdefinition/manualcontrolsettings.xml
shared/uavobjectdefinition/stabilizationdesired.xml
2011-07-30 10:06:10 +09:00
Stacey Sheldon
5f8760a55c
com: Move buffering out of USART/HID layer and into COM layer
...
This allows the spektrum and sbus receiver drivers to bind
directly to the usart layer using a properly exported API
rather than overriding the interrupt handler.
Bytes are now pushed directly from the usart layer into the
com layer without any buffering. The com layer performs all
of the buffering.
A further benefit from this approach is that we can put all
blocking/non-blocking behaviour into the COM layer and not
in the underlying drivers.
Misc related changes:
- Remove obsolete .handler field from irq configs
- Adapt all users of PIOS_COM_* functions to new API
- Fixup callers of PIOS_USB_HID_Init()
2011-07-27 19:45:38 -04:00
James Cotton
b83f731c03
Remove all references to vTaskDelay in the flash code as it can run before the
...
FreeRTOS scheduler
Also increaes init stack size from 0x80 to 0x100
2011-07-15 18:16:16 -05:00
zedamota
b005346fab
Windows eclipse workspace. Sorry for the mess, all is good know...I think
2011-07-14 18:16:38 +01:00
zedamota
e559582bb8
Eclipse workspace update
2011-07-14 17:09:58 +01:00
zedamota
16e28900d0
Created new eclipse workspace for windows
2011-07-14 13:34:34 +01:00
James Cotton
557771d3ef
Change to OP MB code to make it work with input changes. Previously tried to
...
register every possible input channel. Slipped through review because
"obviously correct" change fixed previous bug masking this. Woohoo testing :)
2011-07-12 11:41:21 -05:00
James Cotton
493fcaef2a
OP-193 OP-511: Add settings to scale the camera input output range
2011-06-23 00:47:27 -05:00
James Cotton
5044ea36de
Start initializing objects in the modules that consume them. Shouldn't affect
...
OP yet but not tested.
2011-06-18 14:20:51 -05:00
James Cotton
7d7d03cfd0
OP-193 OP-511: Basic code for camera stabilization. Currently tune range with
...
the servo endpoints and neutral.
2011-06-15 11:18:29 -05:00
James Cotton
99b3a629a8
OP-493: Force three AccessoryDesired objects to always exist. Routing to
...
Mixing channel now works. However Accessory desired instances do not show up
in GCS.
2011-06-05 15:38:58 -05:00
James Cotton
1365542103
OP-493: Populate the Accessory Desired from TX
2011-06-05 15:38:57 -05:00
James Cotton
3e5d02cbaf
OP-152: Abstract the CRC code out of uavtalk to allow it to be reused (PT -
...
feel free to test moving this to the hardware CRC unit)
2011-06-04 18:36:26 -05:00
James Cotton
b6a8293f69
OP-378: Get BMA180 interrupt working. Data gets pushed onto a fifo that is
...
pulled from in the INS code.
2011-05-30 03:40:51 -05:00
James Cotton
eab8896f16
OP-378: INS code starts taking in sensors (timing not optimized at all yet)
2011-05-26 14:06:22 -05:00
James Cotton
750097ea73
OP-378: Small changes to get drivers working again. Fix I2C port for IMU3000
...
and change convention so that 0 is success, < 0 is error.
2011-05-18 23:35:45 -05:00
James Cotton
ab3127a0ea
OP-378 Update the INS Makefile for the new file formats
2011-05-18 14:39:38 -05:00