sambas
195b63b6bb
OP-22 PIOS/Spektrum: Made spektrum input driver, NOT YET TESTED!!!, also preliminary support for CC, sync/supv timer not yet fixed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 09:25:30 +00:00
edouard
df0b5f9b6c
CC-13 CopterControl bootloader first pass. Does not talk on USB for some reason, but starts.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2601 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 22:33:13 +00:00
peabody124
99eb1a89f9
CC-5 PIOS/Servo: CC default servo position was 2000 from testing. HUGE SAFETY
...
ERROR
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 01:25:29 +00:00
peabody124
c759253b77
CC-6 Flash chip working to read ID. Also tweaked how the semaphore for the SPI
...
bus is used to be a bit safer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-25 17:46:27 +00:00
peabody124
00a3e82c70
CC-6 PIOS/SPI: Add semaphore to SPI device structure that can be used to ensure
...
only one CS line is asserted. No checks are enforced on this by the SPI code
as I cant see a clean way of it being aware of the CS lines. We could add
another CS mode those which is driver managed per transfer and has a GPIO i
line for each device.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:17 +00:00
peabody124
d2f3e0d379
CC-6 Initial code for the flash chip on CC
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:14 +00:00
peabody124
d4b4a6ca37
CC-3 Modules/CCAttitude: Add oversamplign to the accel data
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:08 +00:00
peabody124
21e3441f00
CC-3 Set gyro to downsample 10x to 250 Hz
...
Conflicts:
flight/CopterControl/System/inc/FreeRTOSConfig.h
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:05 +00:00
peabody124
23599ee59f
CC: Set the buffer size of USART smaller and register teh AHRSSettings
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:59 +00:00
peabody124
2881370eab
OP-291 PIOS/Servo: Refer to channels by TIM_Channel_x to be consistent with PWM
...
system
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:54 +00:00
peabody124
99fcd089d4
OP-291 PIOS/Servo: Make the remapping of timers a part of the driver structure
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:48 +00:00
peabody124
da96ce15b9
OP-256 PIOS/PWM: Converting PWM input to use standard driver structure.
...
Beginning of unifying the input types into PIOS_RECEIVER.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2568 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:45 +00:00
peabody124
01b09668aa
OP-291 PIOS/Servo: Dont need to power up GPIOA/GPIOB in servo since done in sys
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2567 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:41 +00:00
peabody124
99f2f3c68b
OP-291 CC Servo configuration: Gets S5 and S6 working
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:38 +00:00
peabody124
108ea8c959
OP-295 Get CC pin mappings consistent for using the temperature sensor
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2565 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:34 +00:00
peabody124
607cdcac21
Upgrade FreeRTOS to the latest version (6.1.1) which allows compiling with -Os
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2562 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:26 +00:00
FredericG
70f11543e0
Fixed debugging via Servo PWM pins
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2544 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:11:47 +00:00
peabody124
65e02eeb25
OP-293 PIOS/ADC: Fixed issue with DMA engine and odd numbers of channels not
...
accounting for the fact they are transferred in pairs when using ADC2
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2510 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:18:20 +00:00
peabody124
2d9f7f32d1
OP-291 PiOS/Servo: Converting output to use driver system
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2499 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 03:40:21 +00:00
peabody124
cf17569de7
CC-1 Modules/CCAtttitude: Calling the ADXL345 library and getting the accel and
...
gyro data into attitude raw. Hardcoded calibration for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2474 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 08:45:40 +00:00
peabody124
18deba48c1
CC-6 PIOS/ADXL345: Helper functions for the ADXL345 chip. Need to add
...
semaphores for sharing the bus between the flash chip and this though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2473 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 08:45:37 +00:00
peabody124
21b4e55029
OP-14 OP-16: I2C Improvements
...
1) Added nack counter monitoring
2) Made timeout for getting semaphore in I2C user space code use the one from
driver and record timeouts. This does not influence timeouts in the non
FreeRTOS case
3) Remove case block from the error handler so that all bus errors reset the
i2c interface
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:12 +00:00
peabody124
0e441a20f3
OP-14 OP-16 I2C: When sending STOP signal after NAK, mask interrupts first
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2468 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:08 +00:00
peabody124
0d567f4e4b
OP-14 I2C: Don't log a NAK as an error and also after NAKs seem to get an event
...
from the stop bit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2466 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:02 +00:00
peabody124
31919241b8
OP-14 I2C: Adding new event to the ignore list
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2465 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:10:59 +00:00
peabody124
68536d2fd1
OP-14 I2C: Throw away 0 event in error handler
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2464 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:10:56 +00:00
peabody124
c2bdf624e8
OP-269 PIOS/ADC: Previous ADC driver update changed the PCLK2 divider for all
...
projects which messed up a timer on OP and serial on PipX. Now this is only
changed for AHRS. Ideally wouldn't even change for that but then ADC runs too
fast and we get a lot more CRC errors for dealing with all that data.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2459 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:00:48 +00:00
edouard
b3ca037308
OP-277 Update all files to use a BOARD_TYPE and BOARD_REVISION scheme through the whole codebase.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2458 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 20:41:55 +00:00
peabody124
04a00c7327
OP-269 PIOS/ADC: Change the initialization code to work well when changing
...
oversampling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2452 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 16:02:53 +00:00
peabody124
ad7a6e6071
OP-269 PIOS/ADC: Only enable the half and full conversion flag for the double
...
buffering
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 16:02:50 +00:00
peabody124
0259b6d1f1
OP-269 PIOS/ADC: First part of conversion to driver structures
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2444 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:39 +00:00
peabody124
ab75e8117f
OP-265 CC: Getting GPIO lines working
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2443 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:34 +00:00
peabody124
81b0c3fdb6
OP-269 PiOS/ADC: Moved AHRS ADC code to PiOS and made all the projects use it
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2440 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:22 +00:00
zedamota
ad0b3e911d
OP-268/PipX Bootloader - Changed Timers for MD device, auto memory space fetching (as per people request ;)). Stripped unused functions to reduce size.
...
TESTED WORKS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2431 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 15:33:24 +00:00
peabody124
ad7a4cded0
OP-265 PIOS/USB: Put USB buffer size in the board file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2428 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 02:15:19 +00:00
peabody124
94ff276522
OP-265 CC: Tweaking objects included and the memory requirements
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2426 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:49 +00:00
peabody124
8a32d88b10
OP-265 CC: More work to get it running
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:47 +00:00
peabody124
c59a1ff018
OP-265 OP-266: FreeRTOS configuration per project because of available heap
...
size (may eventually need to be per revision if we get bigger ram). Typo in a
the ifdefs to get allow disabling SDCARD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2423 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:42 +00:00
peabody124
ea851803af
OP-266 CopterControl: Continue trying to strip out as much as possible to get
...
it to fit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2422 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:39 +00:00
peabody124
f0c36b13a4
PiOS/USART: Use the buffer size defined in the board file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2421 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:37 +00:00
peabody124
7c9b3b3d69
OP-265 AHRS: New file locations
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2420 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:34 +00:00
peabody124
79caad654b
CopterControl: Don't need altitude sensor support
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2418 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:30 +00:00
peabody124
940792db5c
OP-265 CopterControl: Fork main OpenPilot directory
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2416 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:24 +00:00
peabody124
fc54159369
OP-265 Flight reorganization of UAVObjects and Modules up a directory
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2415 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:19 +00:00
pip
c7ecfd2f60
Fixed pios_board.h to include the pipx .h file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2407 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 19:37:01 +00:00
pip
b647d93add
Added pipx board file.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2406 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 19:34:59 +00:00
peabody124
07798bb2db
PIOS/WDG: Add back the returned delay for code that wants to clear WDG more
...
rarely
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2403 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 19:01:33 +00:00
zedamota
691c58a583
OP-268/PipX Bootloader - Changed the size of BL def.
...
New naming convention for the linker files:
link_(board_name)_(density)_(bl usage).ld
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2401 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 17:34:22 +00:00
zedamota
1f89ee1865
OP-21/Bootloader - Change HW ID to 16bits. Should still be compatible with the old version.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2398 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 14:36:32 +00:00
peabody124
d846288cec
OP-14 I2C: Remove delay in I2C IRQ handlers
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2378 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 03:50:23 +00:00