stac
d678720855
i2c: i2c errors no longer mapped to event channel
...
Both EVents and ERrors were mistakenly being mapped to the
EVent IRQ channel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:49 +00:00
stac
874239154a
Turn on -Werror on openpilot firmware build
...
This commit fixes all existing warnings.
All basic compiler warnings will now be treated as errors.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:46 +00:00
stac
6b2760da1a
USB HID: basic COM functionality over USB HID
...
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.
Tested only on Linux. The USB HID interface is still disabled for now
until it is tested successfully by a wider group.
Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
stac
69de42db49
Add AHRS attitude module and driver skeletons
...
- New Attitude module for AHRS (skeleton)
- New AttitudeSettings UAVobject
- New AttitudeActual UAVobject
- Regenerated UAVobjects
- Added new UAVobjects to OpenPilot and GCS builds
- New PiOS driver for OpenPilot AHRS (stubs only)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:36 +00:00
stac
e892dcb033
bmp085: create semaphore prior to configuring irq
...
Since the EXTI and NVIC init routines automatically enable the IRQ when it
is configured, it is possible for the EOC interrupt to fire immediately
upon configuring the IRQ.
Since the handler for the EOC interrupt (EXTI15_10_IRQHandler) does a
xSemaphoreGiveFromISR, it is important to have the semaphore initialized
prior to enabling the interrupt.
Also, added missing include for altitude module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@654 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:30 +00:00
stac
cc6348934f
bmp085: Add missing include for altitude module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@653 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:29 +00:00
stac
41da33c920
irq_stack: provide a proper IRQ stack for FreeRTOS
...
The MSP (IRQ stack) was trampling across the data segment. This was
especially disastrous in the USB interrupts since they allocate and
fill buffers on the stack.
The root of this trampling was that no RAM was being reserved for the
MSP and a hard-coded value of (0x20000400) was used as the initial MSP
base address. This resulted in the first 1K bytes of the .data segment
overlapping with the IRQ stack. As can be expected, all sorts of badness
resulted when interrupts were firing and trampling over variables.
This change reserves the first _isr_stack_size bytes at the beginning of
RAM for the MSP. If an ISR call chain runs off of the end of the MSP,
a Hard Fault will be generated as the (now invalid) sp is accessed.
There are two stack pointers in the Cortex-M3 CPU. These are MSP (Main
Stack Pointer) and PSP (Process Stack Pointer).
Which stack is in use at any given time is determined by the following table:
Mode CONTROL[ASPSEL] Stack
---- --------------- -----
Thread 0 MSP
Thread 1 PSP
Handler x MSP
Out of reset, the CPU is in Thread mode using the MSP. The initial value
of the MSP is automatically loaded from address 0 (lowest word in boot
region -- typically FLASH) immediately prior to jumping to the reset vector.
When running at interrupt level, the Cortex-M3 always uses the MSP and the
ASPSEL bit is forced to zero.
FreeRTOS allocates a separate stack for each task upon task creation. These
task stacks are allocated from the heap. FreeRTOS sets the active stack to
the PSP whenever running in a task context (both in privileged mode and user
mode).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@652 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:26 +00:00
FredericG
0723ff8b75
Started new module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@650 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-23 19:01:07 +00:00
sambas
d7b3a158d6
OP-22 Flight/PiOS: Spektrum bind function tested and working.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@649 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-23 11:19:28 +00:00
FredericG
6f0401b0d9
insignificant changes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@648 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-22 06:38:05 +00:00
FredericG
09981b39c2
A few small fixes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@647 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-22 06:30:42 +00:00
vassilis
f143628e80
Flight/Altitude Update altitude object with new metafields, modified update rates in XML and flight s/w
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@645 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 01:21:44 +00:00
vassilis
e3556a3f31
OP-48 Flight/UAVObjects Add access mode field in the metadata. This field can be used to disable local UAVObject updates in the flight or GCS software. It is transparent to any modules and plug-ins, the access control is done by the UAVObjectManager. This functionality is needed for the HITL simulation since certain objects that are normally updated by the flight software (e.g. AttitudeActual, Airspeed etc) will now need to be updated by the GCS. The modules reading those objects do not need to know if the object is updated by the GCS or by the flight software, when HITL is enabled it is transparent to the modules.
...
NOTE: Delete any metaobjects that you may have saved in the SD card (delete all .obj files).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@643 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 00:58:40 +00:00
stac
d02a3325d9
altitude: Add altitude module which reads BMP085
...
This module reads from the BMP085 pressure sensor. It periodically
updates the pressure (kPa) and temperature (C) as well as the
calculated altitude (m).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@640 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-19 04:55:56 +00:00
sambas
b7601c9765
OP-25 Flight/GPS: changes for OPGPS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@639 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-18 12:49:47 +00:00
sambas
0e81831399
OP-25 Flight/GPS: port speed corrected for OPGPS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@638 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-18 11:42:57 +00:00
stac
514d46f5b6
freertos: fix RTOS API calls from interrupt level
...
FreeRTOS has a strict requirement that even interrupt-safe API calls (ie.
those ending in "FromISR") can only be called from ISRs that are at lesser
or equal priorities to configMAX_SYSCALL_INTERRUPT_PRIORITY. See the
"configKERNEL_INTERRUPT_PRIORITY and configMAX_SYSCALL_INTERRUPT_PRIORITY"
section at:
http://www.freertos.org/a00110.html
The interrupt numbers used on the Cortex-M3 CPU has a somewhat backward
representation of the interrupt numbers so 255 = lowest priority and
0 = highest priority.
The calculation is further complicated by the STM32 implementation only using
the upper 4 bits of the priority value. Only 0x00, 0x10, 0x20, ..., 0xE0, 0xF0
represent useful interrupt priorities.
FreeRTOS requires that MAX_SYSCALL and KERNEL interrupt priorities are expressed
as raw unshifted 8-bit values to be programmed directly into the BASEPRI register.
The priority values passed to the NVIC initialization, however, are expected
to be 4-bit values and are shifted up by 4 within NVIC_Init() for you.
The end result is that we need this arrangement:
[highest priority]
NVIC_0 (Non-maskable-interrupt)
NVIC_1
NVIC_2
[Must NOT call FreeRTOS APIs above here]
configMAX_SYSCALL_INTERRUPT_PRIORITY (now at 48 = 0x30 = NVIC_3)
PIOS_IRQ_PRIO_HIGHEST (cur. NVIC_4)
PIOS_IRQ_PRIO_HIGH (cur. NVIC_5)
PIOS_IRQ_PRIO_MID (cur. NVIC_8)
PIOS_IRQ_PRIO_LOW (cur. NVIC_12)
configKERNEL_INTERRUPT_PRIORITY (240 = 0xF0 = NVIC_15)
[lowest priority]
The previous config had configMAX_SYSCALL_INTERRUPT_PRIORITY set at
191 (0xBF) which is effectively NVIC_11. This was allowing all of
the MID, HIGH and HIGHEST interrupt handlers to preempt the OS in
its critical sections. Since some of these ISRs were calling
FreeRTOS APIs, this would result in corrupting internal data structures
within the OS.
It should be ok to move the configKERNEL_INTERRUPT_PRIORITY to a higher
priority as long as it is less than configMAX_SYSCALL_INTERRUPT_PRIORITY.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@637 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-18 04:50:38 +00:00
stac
f6de7ff54f
gdb: Add pre/post hooks to fix stepi
...
This fixes the gdb stepi command to allow the M3 core to make
forward progress even when interrupts are pending. M3 Core interrupts
are masked/unmasked in pre and post command hooks.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@636 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-18 04:50:36 +00:00
vassilis
6b6740109e
OP-32 Flight Initial release of Actuator (ServoOut) and ManualControl (ServoIn) modules, still work in progress (not fully tested).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@632 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-17 01:58:38 +00:00
FredericG
3f79770f7f
More debug state info
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@631 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-16 18:07:41 +00:00
sambas
66fa56a1da
OP-22 Flight/PiOS: Spektrum simple decoder works, getting seven working channels with my DX7 tx
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@630 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-16 10:04:07 +00:00
sambas
76cd72915d
OP-22 Flight/PiOS: first tests done with spektrum satellite, I can read binded receiver serial stream
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@629 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-16 08:35:38 +00:00
stac
56f1e8b547
uavobjects: Move generated python classes
...
Moved the generated python classes from the flight directory to the
ground directory since they are only used on the host, not the
embedded targets.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@628 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-16 03:05:10 +00:00
sambas
26aecf720d
OP-22 Flight/PiOS: Spektrum satellite protocol started
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@626 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-15 18:22:03 +00:00
gussy
5991a93739
Added GPIO functions for accelerometer full-scale selection.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@625 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-15 15:27:52 +00:00
gussy
73b5e29e02
Finalised and verified PIOS_HMC5843 library.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@624 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-15 12:50:05 +00:00
stac
e05f4cf068
uavobjects: Added support for generating python classes
...
The uavobjectgenerator can now generate python classes for each
UAVObject definition. This is useful for writing simple test
applications in python that can exercise the UAVObject handling
code on the embedded boards.
This is a work in progress so the structure of the generated
classes is likely to change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@623 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-14 04:32:30 +00:00
stac
0e3a5550ba
gdb: Add pre/post hooks to fix step, next, finish
...
The gdb commands step, next and finish on the M3 core would
never make forward progress since there is almost always an
interrupt pending. This is a known problem on the M3, and is
fixed by adding pre and post command hooks which mask and unmask
all ISRs on the M3 core.
Step, next and finish now work as expected, but care should be
taken when using these commands across any part of the code that
actually _needs_ the interrupts in order to make forward progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@622 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-14 04:32:17 +00:00
gussy
f9256b22d0
AHRS basic sensor test code revision.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-13 09:40:00 +00:00
gussy
22fbd8e4bd
ADC Updates.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-12 12:09:35 +00:00
gussy
ff73ab5a80
More updates to cross-target compatibility.
...
Added PIOS_I2C into AHRS code.
Added PIOS_HMC5843 Module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@617 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-12 08:18:49 +00:00
gussy
fe9aa9e38f
Small USART scalability fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@616 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-12 01:56:00 +00:00
gussy
8f3c2dbafb
Changes to PiOS to be compatible with the AHRS.
...
Updates to AHRS code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@615 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-11 13:36:13 +00:00
sambas
1bb32e78f1
Flight/telemetry: Missed one 38400 relates stuff
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@614 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 16:47:12 +00:00
sambas
9922df3524
Added 38400 for my XBEE
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 16:22:41 +00:00
vassilis
6dfd8caffb
OP-4 Flight/Telemetry Add connection timeout detection
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 04:11:03 +00:00
vassilis
a31215293d
Flight\Telemetry Implement telemetry settings object, added functions for changing the baud rate in PiOS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@607 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 02:44:26 +00:00
vassilis
a337de22c7
OP-4 Flight/Telemetry Flush telemetry queues while connection is not yet established (to remove stale data)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 00:22:07 +00:00
stac
0826af11e5
Add startup script for gdb for openpilot board
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@597 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:44:57 +00:00
gussy
7544aab7fe
Comment out testing task.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@595 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 17:24:39 +00:00
stac
42c4c9b343
Lower priority of HIDTest task
...
Commit @583 uncomments the HIDTest task creation. HIDTest task is configured to run at
priority 4 (== tskIDLE_PRIORITY + 4) which is higher priority than the "System" task at
priority 3 (== tskIDLE_PRIORITY + 3).
The HIDTest task never blocks so it prevents the system task (and any other task of priority
less than 4) from ever running.
This commit does not fix the root problem of HIDTest never blocking, but rather lowers
its priority to be equal to the system task so that they share the CPU. This is a
temporary workaround.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@586 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 03:19:47 +00:00
gussy
a574f56961
HID Loopback test now working. GCS code now needs to be brought up to speed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@583 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 19:56:06 +00:00
gussy
0aba12fe1f
Loopback test of HID working. Still a WIP but committing what I have to show progress.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@582 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 18:54:43 +00:00
vassilis
7ca10bf5d7
OP-4 Flight/ObjectPersistance Implemented saving/loading of individual objects from the SD card
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@580 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 02:11:16 +00:00
vassilis
e10a16f1c3
OP-4 Flight/Telemetry Implemented telemetry connection manager
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 01:29:04 +00:00
FredericG
0c65a90a9d
Write counter-value to memory in Task2
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@577 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 18:31:34 +00:00
FredericG
58514baa49
Fixed test
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 18:18:43 +00:00
fredericg
8cdd056d84
Start using 2 I2C devices from 2 different threads - Untested
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:57:26 +00:00
FredericG
192134967d
Lock I2C before usage as it should
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@565 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:54:35 +00:00
fredericg
3281b1a128
OP-27 Use RTOS in LockDevice() and UnlockDevice()
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@564 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:49:51 +00:00
FredericG
724e82712b
Added vApplicationStackOverflowHook()
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@563 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:45:10 +00:00
FredericG
916f6163fd
Configurable address
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@562 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 06:40:13 +00:00
vassilis
0999c1ce58
Flight/Objects Metaobjects are now also stored in CF and retrieved on power-up. At this time settings and meta objects are automatically loaded on startup if they have been saved in the CF card (to test use Save button in the object browser), if a file is not found in the CF card then the defaults specified in the XML file will be used.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@561 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 02:28:16 +00:00
vassilis
99b67388bf
Flight/UAVObjects Added support for default field values (used to initialize settings with defaults)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-28 01:54:24 +00:00
vassilis
8c11a03129
Flight/Alarms Implemented Alarms library, now checking for stack overflow, out of memory, event and other errors (see the SystemAlarms object). All modules will be reporting their alarms using this library.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:55:28 +00:00
vassilis
613b17f970
OP-4 Flight/Telemetry Implement CRC in telemetry protocol
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 21:20:13 +00:00
vassilis
aaef72955e
OP-4 Flight/Telemetry Make objectTransaction() fully reentrant
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:34:03 +00:00
vassilis
7b99c3d7f0
Flight/System Restructure start-up code, now all initialization in done after the RTOS is started
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@541 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:21:03 +00:00
vassilis
4f0377194d
Flight/PiOS Remove use of semaphores in COM/USB ISR (not used and not working also causing random crashes)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:17:25 +00:00
vassilis
ecb83a52d3
OP-4 Flight/Telemetry Bug fixes and improved response when telemetry is fully loaded
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-24 04:05:39 +00:00
sambas
b8b5bffe4d
OP-25 Flight/GPS: using strsep instead of strtok_r (thanks for the hint PeterG). Prepared for GPGSA.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 09:56:23 +00:00
vassilis
f999028753
Flight/UAVObjects Added support for named arrays (i.e. each array element can have a name - needed for alarms)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 02:49:11 +00:00
sambas
923ee3ccaf
OP-25: gpsinfo removed, cleaned things up.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 07:37:55 +00:00
sambas
0ec2156f4a
OP-25: More fields for GPS Objects, preparing gpsinfo remove
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 07:14:00 +00:00
vassilis
40beb15129
OP-4 Flight/System Created CPU utilization measurement and created object to report system information (load, heap and time)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 02:13:59 +00:00
vassilis
ef36a79e12
Flight Updated gpsobject XML file (made it a single instance - less protocol overhead)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@517 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:28:19 +00:00
vassilis
89a6dd30d1
OP-4 Flight/Telemetry Create new objects to report statistics of the telemetry link (plus a few bug fixes, heap size was also increased)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@515 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:16:20 +00:00
sambas
6c4cd936e5
OP-25: GPS Objects working. You need to raise configTOTAL_HEAP_SIZE in FreeRTOSConfig.h if all tasks enabled.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 08:49:19 +00:00
sambas
670ac85e79
OP-25: GPS object update
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@513 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 08:12:05 +00:00
sambas
03a012c347
OP-25: Initial GPS Object
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 07:38:28 +00:00
vassilis
bc472102b4
OP-4 Flight/Telemetry More bug fixes after testing telemetry
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@506 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-16 01:56:08 +00:00
vassilis
5889849060
OP-4 Flight/Telemetry Various bug fixes while testing telemetry (working but not fully tested)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@500 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-15 02:15:46 +00:00
sambas
402b4e8e24
Telemetry and HID work, ugly hacks atm. Endianess needs checking. HID transmit doesn't work at all. Serialport works both ways
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@472 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 16:22:08 +00:00
vassilis
bf792a8058
Flight/SystemMod: Creation of the system module, for now it only responds to a request to load/save the settings objects
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@468 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 05:06:19 +00:00
vassilis
cb0d447043
Flight/UAVObject: Update metadata types
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@466 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 01:35:51 +00:00
vassilis
f4c4b1371a
Flight/Settings: Remove old settings implementation (replaced with binary settings as UAVObjects)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@465 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 01:35:13 +00:00
sambas
23aa2ea1cd
OP-25: lat, lon and alt to float, lat and lon to desimal degrees format
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@435 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-07 08:02:44 +00:00
vassilis
b00ab0e2ee
Flight/UAVObject: Added support for periodic queue events (in addition to callbacks), removed unused functions in GPS module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-05 00:59:51 +00:00
vassilis
e2871a24e7
Flight/UAVObjects: Test harness and bug fixes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@423 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-04 02:11:51 +00:00
vassilis
8ca3279aa6
OP-33 Flight/ExampleModule: Created three example modules that can be used as templates for actual modules
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@420 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-02 03:26:02 +00:00
vassilis
b51c29c2f9
OP-54: Flight/UAVObjects updated templates for enum field types
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@418 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-01 02:03:40 +00:00
pete
f1694527cc
Working on the PPM functionality. Getting there but it is still not 100% correct.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@411 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-30 04:48:15 +00:00
vassilis
2c9ffd0195
Flight/UAVObjects: Added an example settings object and included example objects in the makefie
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@408 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-28 22:23:57 +00:00
vassilis
9d7d297446
Flight/UAVObjects: Implemented loading and saving of objects from the file system and added support for settings objects
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@405 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-28 20:39:47 +00:00
sambas
066f42a2c5
OP-25: simplified gps structure
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@404 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-28 14:36:18 +00:00
sambas
3656caccbb
Checksum check for nmea sentences
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@399 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 13:13:39 +00:00
vassilis
a64cdc64ea
Updates on UAVObjects required by the object generator
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@396 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 03:19:56 +00:00
sambas
9490bcdb93
OP-25: GPS tested and working, using TrimbleGPS 5Hz, 5 lat/lon desimals
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-25 19:36:52 +00:00
sambas
37a0ce845c
Solved bad USART port init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@383 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-25 10:52:38 +00:00
gussy
41fd921b14
Updated BMP085 test code.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@375 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-23 04:01:11 +00:00
gussy
bad62d3af3
Moved things around.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@372 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-22 02:51:52 +00:00
gussy
362163d48b
Added dependency checking, just in case.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@371 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-22 02:09:56 +00:00
gussy
6826706cb7
Moved external interrupts into it's own API.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@370 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-22 02:07:06 +00:00
gussy
62f4e2c636
Add PIOS_EXTI.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@367 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 20:23:20 +00:00
vassilis
20f29b40e4
Replace malloc with FreeRTOS built-in functions
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@358 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 14:19:38 +00:00
sambas
dad62c3316
Reworked the nmea sentence parser, most values still in string form
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@356 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 11:32:53 +00:00
gussy
a03952fb5d
Small updates and clean up.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@355 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 00:49:48 +00:00
dankers
58e4dd4757
Use usb-layout in floss-jtag - use OpenOCD 4
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@354 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-20 22:02:35 +00:00
dankers
9b90cafb52
JTAG config files, also new floss-jtag for testing using the usb-layout
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@353 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-20 21:55:29 +00:00
dankers
ce99cc9ae9
Olimex config for Vassilis
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@352 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-20 20:12:36 +00:00
sambas
22698313fc
OP-25: preliminary GPS module, needs some cleaning. I'll start testing when I get HW ready.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@351 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-20 15:45:15 +00:00
pete
a3486477eb
Added PPM defines and created pios_ppm.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@325 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-17 04:00:13 +00:00
fredericg
2dbbe2ffc5
Added line to compile BMP085 testcode
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@321 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 12:04:41 +00:00
fredericg
ccc071a3c7
Extracted BMP085 tets-code from openpilot.c. Untested
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@320 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 12:04:03 +00:00
fredericg
e57ec315e1
fixed warning
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@319 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 12:00:47 +00:00
vassilis
34811cc16d
Minor updates in object manager and UAVTalk
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@318 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 01:54:25 +00:00
FredericG
8e873ec0e8
Use the new PIOS assert
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@315 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 17:13:27 +00:00
gussy
057def91e2
Small updates, removed some unused code.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@314 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 12:02:36 +00:00
gussy
a8d4297abe
Small optimisations in bootloader code.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@313 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 12:01:13 +00:00
gussy
f75fa5e567
Updated ADC to use the 3 auxillary inputs on the OpenPilot board.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@312 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 12:00:43 +00:00
gussy
e1504dafc6
Add PIOS_GPIO for controlling the auxiliary connections on the OpenPilot board.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@311 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 11:59:11 +00:00
FredericG
7bd573f043
OP-36 PIOS_DEBUG_Assert() function
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@307 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 10:20:27 +00:00
FredericG
a30f682a1e
Define DEBUG in debug-builds
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@306 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 10:14:45 +00:00
FredericG
c932e131f0
OP-11 Moved PIOS_BMP085_Init() since the OS must be running before the first I2C transfer can be issued
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@305 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 09:42:38 +00:00
julien
a2ea8b0e53
Some update for multi-platform.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@304 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 08:37:19 +00:00
gussy
7b5d85cb3e
PIOS_LED: Initialise all LED's as off.
...
PIOS_SYS: Added system reset function.
OpenPilot Makefile: Default USE_BOOTLOADER should be NO.
OpenPilot Bootloader: Removed LED initialisation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@303 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 06:47:57 +00:00
gussy
8ba2d76cd6
OP-21: Cleaning up a few things.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@302 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 20:46:46 +00:00
gussy
9b1e548550
OP-21: Made bootloader startup faster and more reliable.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@301 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 20:02:06 +00:00
gussy
a0a92d5a59
OP-21: Made changes to OpenPilot makefile too allow building for bootloader and non-bootloader targets. Use "USE_BOOTLOADER = YES" to build for the OpenPilot Bootloader.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@300 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 20:01:31 +00:00
gussy
444a652383
OP-21: Bootloader mostly complete. Working and tested.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@299 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 17:53:42 +00:00
FredericG
3b332c786f
OP-11 Use RTOS when waiting for an I2C transfer to finish when RTOS is enabled
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@298 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 17:28:42 +00:00
gussy
7863954f1a
Added debugging port buffer handling.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@297 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 15:37:00 +00:00
FredericG
50215e75c6
OP-28 Some changes in the I2C API
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@296 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 12:23:55 +00:00
FredericG
7b753399ec
Drive all debug pins low at startup
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@295 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 10:52:10 +00:00
gussy
978e07419d
Small FreeRTOS fixes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@294 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 06:44:15 +00:00
gussy
3de8a31fa0
Added working and tested base for OpenPilot HID Bootloader.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@293 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-12 16:24:02 +00:00
gussy
6764a34285
Updated some FreeRTOS specific issues and fixed a few typos.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@292 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-12 16:22:56 +00:00
FredericG
223186f986
Show when Idle task runs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@286 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-12 07:36:27 +00:00
fredericg
47038af0c0
PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@283 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-11 12:38:51 +00:00
vassilis
18515b1897
UAVTalk bug fixes and API updates on object manager
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@282 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-11 02:31:32 +00:00
FredericG
dbde2b1bac
I2C: Some more fixes. I2C test passes at 400KBit and 200KBit but needs to be investigated further
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@280 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-10 21:11:19 +00:00
FredericG
964c1e5983
First version of I2C test
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@278 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-10 21:05:19 +00:00
dankers
e66c491942
Update to headers in the flight portion of the code. Just formatting.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-10 09:12:31 +00:00
gussy
b08eb71a9a
Changed USB VID and PID to our own ones now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@272 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 18:48:00 +00:00
gussy
bcc84f00fb
Cleanup of unused code.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@271 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 10:14:38 +00:00
gussy
6fd5da7489
Type fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@270 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 10:10:26 +00:00
gussy
4f5d7ae83a
PIOS_PWM now reading 8 channels properly!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 10:09:30 +00:00
vassilis
db01fe9e6b
Pack metadata structure
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 21:46:18 +00:00
gussy
1ed841946c
Added "supervisor" and comments to PIOS_PWM.
...
Added timer usage diagram to pios_board.h
Removed bloat for extra optimisation in PIOS_DELAY.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 14:19:43 +00:00
gussy
098cff2145
Small typo fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 12:25:29 +00:00
gussy
075dcf5aee
PIOS_PWM example code measures servo signal pulse width in microseconds (uS).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 12:25:11 +00:00
gussy
c409a62978
PIOS_BMP085 module finished.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 16:04:31 +00:00
gussy
cafed0a148
BMP085 Sensor now working completely.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 14:20:42 +00:00
gussy
fd889b918b
Updates to BMP085 readings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@260 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 10:28:08 +00:00
gussy
7cd8f93d5c
OP-4: Small naming fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@259 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:24:39 +00:00
gussy
55d1cb8dac
OP-4: Added receiving functionality to the telemetry module.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@258 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:18:04 +00:00
gussy
0e8b618953
Updated files inside OpenPilot to use the single openpilot.h header file rather than multiple headers inside each file. This resolves a few build warnings/errors and makes the code cleaner.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:17:17 +00:00
gussy
5e70edb021
OP-1: Small fixes to reading/writing from sensor.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@256 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:09:18 +00:00
gussy
53a64f8dba
Improvement OP-3; Buffer based PIOS_COM tested and working.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@255 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 03:49:41 +00:00
gussy
d406232eb1
Improvement OP-3; Implemented buffer based receiving functions, untested.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@254 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 03:13:14 +00:00
FredericG
dd429536f7
pios_i2c.c: last commit broke reading; need to ack the incoming bytes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@252 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-05 18:36:28 +00:00
FredericG
595a8f2cef
One exit point for isr function
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@251 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-05 18:14:00 +00:00
FredericG
b3ad53acdc
Enable and disable interrupts in TransferStart() and TransferEnd() functions
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@250 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-05 18:07:15 +00:00
gussy
7de6be3f59
Reading and writing to BMP085 sensor now working.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@249 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-05 10:44:11 +00:00
FredericG
7dd7c0201c
Fix: Don't generate start at the end of WriteWithoutStop transfer. Needs cleanup
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@248 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-05 07:57:26 +00:00
gussy
792406510c
Small fixes. BMP085 drivers still not working.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@246 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 15:41:21 +00:00
gussy
6d67d2dab2
PIOS_ADC now non-application specific.
...
Removed "application hooks" system from PIOS_ADC.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@245 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 09:25:09 +00:00
gussy
f683a5de3d
Added in transmitting routine for telemetry.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@244 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 07:08:05 +00:00
gussy
09645920ee
PIOS_COM and PIOS_USART now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@243 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 07:07:27 +00:00
gussy
bffe79703a
Removed old empty files.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@242 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:18:28 +00:00
gussy
6c5cfc2523
Makefile updates for moved directories.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@241 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:17:13 +00:00
gussy
df6b2e4ddc
Moved STM32 specific PiOS Libraries.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@240 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:14:14 +00:00
gussy
c094c4dddd
Moved UAVObjects specific header file.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@239 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:03:38 +00:00
gussy
bd7cb8b778
Removed old files that have been replace by new web services (wiki/forums etc.).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@238 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:01:51 +00:00
gussy
e02d572fb9
Updated Makefile for moved Modules directory.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@237 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:00:28 +00:00
gussy
ac1a73800b
Moving Modules into OpenPilot directory.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@236 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 05:58:03 +00:00
gussy
798ad15bba
More refactoring.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@235 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 05:51:11 +00:00
vassilis
94d3c1a3f1
Added support for event callbacks (as an alternative to task event queues)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@234 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 03:04:39 +00:00
fredericg
0310339cb6
Introduced ENABLE_DEBUG_PINS option in makefile that will enable the debug-pins and disable the servo outputs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@233 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 16:16:43 +00:00
fredericg
35f07fe9dc
Introduction of lacal functions TransferStart() and TransferEnd()
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@232 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 12:05:49 +00:00
fredericg
ad816dc070
Renamed PIOS_I2C_TransferBegin => PIOS_I2C_LockDevice because it better describes what it does
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@231 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 11:46:24 +00:00
gussy
a5d56cd537
Small re-factorings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@230 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 10:55:49 +00:00
gussy
72933cd5e6
Fixed re-factoring build issues.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@228 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 10:39:16 +00:00
gussy
47c5211cd4
Small changes to random files.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@227 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 07:53:15 +00:00
gussy
0968b0adf9
Added provisions for TurboPWM and other custom servo update rates.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@226 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 07:46:40 +00:00
FredericG
b205ebd873
Small fix: Write operations did have to time out before a new could be started
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@225 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 18:33:19 +00:00
FredericG
7af7c4738d
Introduction of PIOS_DEBUG
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@223 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 11:23:22 +00:00
FredericG
ce5f814b63
Introduction of PIOS_DEBUG
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@222 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 11:23:03 +00:00
gussy
a189557d7f
Updated workspace for debugging.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@221 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 08:36:38 +00:00
dankers
c8c0e8be9e
Comment changes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@220 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 00:57:09 +00:00
fredericg
1d7f1c5cd0
fixed warnings
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@219 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-01 10:17:16 +00:00
gussy
61110c969d
More changes to the workspace.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@217 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-01 02:50:32 +00:00
dankers
6612dd6523
Fix "make program"
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@216 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 22:32:24 +00:00
gussy
792791b68a
Small Update of Workspace.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@215 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 21:26:58 +00:00
gussy
54489afe59
New Eclipse workspace files, you MUST use these from now on.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@214 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 12:20:53 +00:00
gussy
7895f46409
Moved OpenPilot Makefile.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@213 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 12:16:44 +00:00
gussy
fbb175e01c
Initial commit of AHRS project code base.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@212 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 12:10:48 +00:00
gussy
9953188fe2
PIOS_SYS now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@208 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:44:01 +00:00
gussy
792cfef50b
PIOS_SPI now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@207 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:34:44 +00:00
gussy
fcf47bf1f6
PIOS_USART now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@206 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:29:14 +00:00
gussy
95d068884a
PIOS_BMP085 now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@205 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 07:01:18 +00:00
gussy
22f02cb460
PIOS_I2C now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@204 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:57:59 +00:00
gussy
700116abd9
PIOS_LED now non-application specific.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@203 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:54:43 +00:00
gussy
adcd47a31b
Added ability to enable and disable PiOS modules.
...
Added PIOS_USB_COM.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@202 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:47:49 +00:00
gussy
7f31e3a9ff
Start of making PiOS application independent.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@201 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:30:45 +00:00
gussy
9bce59ef1a
Small cleanup changes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@200 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 04:47:51 +00:00
vassilis
93901e8754
Refactored UAVObjects and UAVTalk for reduced memory footprint, added support for multiple instances within objects (useful for array objects, e.g. waypoints). Still not fully tested.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@199 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-27 19:57:45 +00:00
FredericG
163862af54
Temp I2C test-code
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@198 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-24 10:50:55 +00:00
FredericG
92d0044f50
Removed assert_param ; still need to find out what is happening here
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@197 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-24 10:48:28 +00:00
vassilis
b1b8fe4b37
Creation of UAVObject ,UAVTalk and Telemetry modules (compiles but untested!)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@196 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-22 02:18:23 +00:00