corvus
cb9afef32d
Pios.posix - FreeRTOS port for cygwin - test-file to debug signal and mutex handling
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1047 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-08 10:28:50 +00:00
peabody124
c2cb17ffe7
Working on windows
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1046 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 20:43:05 +00:00
peabody124
bd13811255
A ridiculously simple version that just avoids almost all signal handling needs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1045 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 18:36:05 +00:00
corvus
2ebe830624
reverting accidental commit
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1044 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 17:47:22 +00:00
corvus
5c7324a28b
PiOS.posix - thread management - another variant to test on win32
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1043 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 17:45:12 +00:00
peabody124
5f174108b1
Initial work on pthread_cond based locking, minimizing signal handling (but trusting mutexes)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1042 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 17:43:12 +00:00
corvus
3370f75da1
PiOS.posix - more changes to increase cygwin runability
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1041 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 16:40:38 +00:00
corvus
f82783d77e
PiOS.posix | more attempts to fix it on win32
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1040 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 14:43:36 +00:00
peabody124
5f6b3eb11a
XCode project file for Mac development (for the Posix port)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1039 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 14:28:48 +00:00
corvus
034d66197b
PiOS.posix: bug fix in new scheduler emergency handler
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1038 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 13:09:42 +00:00
corvus
447be5c0a0
PiOS.posix - new version of debugging enabled custom port.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1037 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 12:21:36 +00:00
corvus
64a8302f5a
PiOS.posix scheduler - added port.c with debug output for testing
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1036 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 10:47:23 +00:00
corvus
0662269625
some fixed - might run on windows now
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1035 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-07 09:40:17 +00:00
peabody124
48596e838e
Cleaned up some signal handling a bit, some handshaking at task switching. For some reason nanosleep occasionally causes problems. Something about it not being a cancellation point
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-06 23:25:34 +00:00
peabody124
6caf552753
My version that works on linux and mac, not windows
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-06 22:51:58 +00:00
corvus
ec48207755
PiOS posix scheduler - added simple docu about scheduler work
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1032 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-06 21:56:43 +00:00
corvus
7aa693ed3e
PiOS posix port - threading - test implementation
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1031 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-06 21:55:22 +00:00
corvus
b13f8296dc
POSIX port: some improvements as suggested by stac
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1024 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 21:44:09 +00:00
corvus
2e373c5dfc
pios_com_udp: explicit type cast to prevent compiler warning
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1020 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 11:24:43 +00:00
corvus
455a99a3cf
some changes to increase platform independence
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1017 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 09:27:53 +00:00
corvus
c7479b796b
merged chages 995:1015 into posix branch
...
(See? That's why I hate branching - thank the gods that subversion has the "merge" command)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1016 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 08:50:40 +00:00
stac
17bea4cb91
ahrscomms: connect the OP board to the AHRS board
...
The AHRS comms module now sync's with the AHRS and
exchanges interesting data periodically. Whenever
the link to the AHRS is down, the AHRSComms alarm is
raised.
This is fairly basic for now but provides the last
piece of the infrastructure to move data back/forth
between the OP and the AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1014 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:49 +00:00
stac
05485e5b63
ahrs: tie main loop into SPI link FSM
...
- AHRS mainloop now runs flat out updating sensor data and
processing any messages sent from the OP board.
- Raw data is provided from the magnetometers
- Fake data is provided for attitude solution
- Correct data is provided for serial number queries
Note: There is a bug in the i2c code that very quickly leaves the
magnetometer in a broken state and returning incorrect values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:47 +00:00
stac
29a8f05ac9
mag sensor: put some bounds on the parameters
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:45 +00:00
stac
a3a2dbd634
spi: Add support for hardware CRC generation/checking
...
PIOS SPI devices may now make use of automatic CRC generation
and checking on block transfers. Only supports CRC8 for now.
Since the SPI interface CRC calculation continues across message
boundaries (ie. not reset on every transfer), we must manually reset
the CRC registers for every transfer to allow the two sides of the
link to resynchronize.
Unfortunately, resetting the CRC registers requires disabling the
SPI peripheral which must now be done on every block transfer.
Note: The last byte of the tx buffer is never sent and is assumed to
be a place holder for the tx CRC8.
Note: The last byte of the rx buffer is expected to hold the rx CRC8.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1011 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:42 +00:00
stac
c12b7e3fed
spi: tx buffer is now const
...
Tx buffers should not be modified. This allows passing const data
to the transfer function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1010 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:40 +00:00
stac
548a32f18b
attitude: Rename Attitude module to AHRSComms
...
The Attitude module will soon be handling updates for all UAVObjects
that require data from the AHRS. To reflect this expansion of scope,
it has been renamed to AHRSComms.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1009 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:37 +00:00
stac
1425ab1786
ahrs status: Add AhrsStatus UAVObject
...
This object currently only holds the serial number of the attached
AHRS board. This will be retrieved each time communications are
(re)established with the AHRS board.
This will eventually be extended to hold some statistics for OP to
AHRS comms.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1008 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:34 +00:00
stac
1bbc8381c0
heading: Add HeadingActual UAVobject
...
This object currently holds only the raw magnetometer readings and
an instantaneous heading calculation which are only really useful
for debugging. The contents of this object will change often as
development progresses.
Note: The magnetometer values are often garbage due to a problem
with i2c software on the AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1007 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:31 +00:00
stac
0e6294ca27
spi: remove internal pull-up from input data lines
...
The input data lines between the OP and AHRS boards had internal
pull-ups enabled. This seemed to be causing issues early on
during development of the inter-board comms. Not sure if this
is still necessary but this is how the current code was tested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1006 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:26 +00:00
stac
e3824a6d78
ahrs spi: Add AHRS SPI link management FSM
...
To the outside world, the AHRS can be in one of only a few
primary states:
Not present - AHRS is absent or non-responsive via SPI
Inactive - Only link-level status messages are processed
Ready - Ready to receive the next application level message
Busy - Application level message is being processed
Internal to the AHRS, there are many more states that need to be
managed. This FSM provides the necessary decoupling between the
ISR (which is being driven by the SPI link) and the AHRS main
processing loop which must continue to run its filters independently
of the SPI messaging rate.
With this structure, SPI messages can be received at any time but
processed at only specific points within the filter chains.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1005 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:22 +00:00
stac
89a6d6d912
ahrs spi: Add definition of OP<->AHRS SPI protocol
...
This defines the SPI message format as well as a few
initial messages for moving data across the link.
The v0 messages are place holders for firmware download
in the bootloader.
The v1 messages are to be used by the main application.
Note: This is not the final protocol definition.
Subject to change without notice.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:15 +00:00
stac
3eceef43d3
spi: Connect device specific DMA IRQ handlers
...
Mark the device specific DMA IRQ handlers as strongly linked
aliases for the genericly named interrupt vector symbol.
Here's how this works...
* The address of the symbol DMA1_Channel2_IRQHandler is written
into the DMA1/Channel2 interrupt vector by the linker script.
* The startup_*.S file specifies Default_Handler() as a weakly
linked alias for DMA1_Channel2_IRQHandler.
* We now override the weakly linked alias with the strongly linked
PIOS_SPI_sdcard_irq_handler().
* This results in the address of PIOS_SPI_sdcard_irq_handler() being
written to the vector table for the DMA1/Channel2 interrupt.
* The PIOS_SPI_sdcard_irq_handler() function is now called whenever
the DMA1/Channel2 interrupt fires.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:13 +00:00
stac
b084fc4be5
alarms: Add alarm for AHRS Communications
...
The AHRSComms alarm will be raised whenever the OP board
is not able to communicate with the AHRS board.
The navigation software on the OP board could use this
alarm to trigger its best attempt at an emergency landing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:11 +00:00
stac
71e491e3c1
com: mark tx buffer as const throughout API
...
The com layer transmit functions should provide guarantees
that they will not modify the buffer that you're transmitting.
Declaring the parameter as a pointer to const keeps the underlying
implementations honest.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:08 +00:00
stac
1cc6981ee5
attitude: Remove seq field from uavobject
...
The sequence number field for the attitude solution is
likely unnecessary. Removed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:04 +00:00
stac
4f8d81343f
spi: assert on invalid SPI device
...
TransferByte API is simplified to either assert or
return the rx byte.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:00 +00:00
stac
1169514bf9
sd card: fix SD R1 detection
...
SD R1 response format is defined as any byte with the MSb
cleared. The code was testing for any byte that was not 0xFF
which can lead to misinterpreting a byte as the response.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@998 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:20:57 +00:00
stac
5c230e734d
ahrs: Turn on -Werror for AHRS build
...
Disallow warnings of any kind in AHRS code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@997 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:20:54 +00:00
corvus
edcf4f76f0
deleted patch file since it's no longer needed
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@996 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-03 21:51:37 +00:00
corvus
e2176d3117
- renamed PiOS.x86 into PiOS.posix
...
- created temporary branch of OpenPilot (OpenPilot.posix) in order to test multi platform changes on hardware before committing to the main branch
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@995 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-03 21:50:13 +00:00
corvus
8cd1a494ab
decrease FreeRTOS idle CPU on x86 load from 100 to 0.001 by adding call to nanosleep.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@992 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-03 09:36:01 +00:00
sambas
1a7a9aa250
flight/osd: config write retry routine, my original empty config array.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 18:49:42 +00:00
sambas
aa1ddca8bf
flight/osd: ET osd write config work, dump format also same as write array. use with caution
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@985 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 14:54:04 +00:00
corvus
ad4008bc11
minIni removed from PiOS.x86
...
added x86 patch to subversion since JIRA is acting up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@967 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 10:34:25 +00:00
dankers
0d38dfc745
Minini removed from PiOS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@966 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 08:57:40 +00:00
dankers
e47f755c30
Minini removed from OpenPilot
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 08:57:06 +00:00
dankers
84c944b4fe
Old Documentation removal, legacy from very early in the project. This information should be on the Wiki.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@962 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 04:44:35 +00:00
peabody124
6715565727
Make CODE_SOURCERY switch affect rm command
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@909 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 19:44:39 +00:00
corvus
694f7e7feb
OP-85
...
x86 port of PiOS - including pios_com - UDP support
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@905 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 14:14:07 +00:00
FredericG
55f13788de
FlightBatteryState Object : Made Voltage and Current fields float
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@895 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:59:11 +00:00
FredericG
8204143f9d
MKSerial: Do not generate BatteryState as this is now generated by the battery-module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:31:27 +00:00
FredericG
302be3ee6f
OSD: Send battery-current info to OSD. Consumed mAh is calculated by the OSD
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:27:10 +00:00
vassilis
c74eb2f0e9
OP-26 Flight/Stabilization First release of stabilization module. Tested using FlightGear, default tuning is for the HITL simulation. Works fairly well but a number of improvements can be made to aid tuning. The ManualControl settings must be first set as you would normally do for HITL simulation, flight mode is changed using the mode channel.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 02:28:16 +00:00
FredericG
6ef11148b5
First version of battery module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 11:10:43 +00:00
FredericG
6c40edccf2
ET OSD: WIP: dumping of config-blob to serial port
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 20:02:03 +00:00
FredericG
3bc938d45e
lowered I2C timoout whne using RTOS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 09:19:02 +00:00
FredericG
d7390a07a5
MKSerial: use AUX port
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@840 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:08:41 +00:00
FredericG
c8f818a809
Do not configure the servo outputs when ENABLE_AUX_UART
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@839 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:02:26 +00:00
FredericG
fba5164634
Enable AUX UART with ENABLE_AUX_UART in Makefile
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:01:21 +00:00
FredericG
5d9a718430
Made pios_com_num_devices const
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@837 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:59:48 +00:00
FredericG
e5c795e42b
Remapped UART_AUX from PA9/10 (RX inputs) to PB6/7 (Servo output)
...
Rationale: (http://forums.openpilot.org/topic/800-rev-761-mkserial-adapt-to-com-usartx-pios-com-x/page__view__findpost__p__2203_ )
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@836 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:48:59 +00:00
FredericG
eac1d8a06b
No need to include telemetry.h in openpilot.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:43:00 +00:00
FredericG
524201d3b6
MKSerial: Complete PositionActual Obj
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@818 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 11:04:49 +00:00
FredericG
ceadcf49a0
OSD: Also use PositionActual object
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 11:02:43 +00:00
stac
20fa15c24a
spi: fix block transfers
...
SPI block transfers were broken in commit r759. Block
transfers are primarily used by the SD card interface so
this also broke accesses to the SD card.
SD card accesses should be fixed now. Verified by writing
config objects in the GCS and confirming that they survived
a reboot of the OP board.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@808 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 04:28:32 +00:00
dankers
69d2c1b546
Add flightbatterystate to the GCS, ran uavobjgenerator on all XML files. .cpp and .h included for GCS now, uncommented out these files from the uavobjects.pro.
...
Moving sounds folder to shared. Some sounds will be uploaded later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:06:51 +00:00
fredericg
369657d52e
FlightBatteryState object changed
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@786 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:41:10 +00:00
fredericg
23b2771602
OP makefile, traces under dos did not work well
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:38:49 +00:00
FredericG
e3815bf8b8
OSD: start displaying real data WIP
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 16:50:01 +00:00
vassilis
106bdca20e
Flight/Actuator Go to failsafe actuator outputs when a command is not received
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 02:00:16 +00:00
fredericg
0731747d84
new object: FlightBatteryState
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 17:21:31 +00:00
fredericg
4e15413fc9
MkSerial, adapt to COM_USARTX => PIOS_COM_X
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 11:18:42 +00:00
stac
771a56ca9d
com/usart: generalize com driver API
...
- Created a pluggable COM layer
- Converted COM + USART init into static initializers
rather than typedefs
- Generalized the USB HID COM API to match the USART
API.
- Changed USART and COM layers to be data driven rather
than #ifdef'ing/switching on the specifics of each port
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:24:26 +00:00
stac
8d015a57d0
pios spi: support both master and slave configs
...
Added support for SPI slave configurations to the pios SPI layer.
Converted the board specific configuration for the PIOS SPI layer to
use const static initializers rather than #defines (see pios_board.c).
SPI interface between the OP board and the AHRS is now operational at
a basic level, capable of moving simple single byte messages between
boards. Multi-byte, CRC protected messages will be added on top of this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@759 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:23:44 +00:00
stac
02e0017cbb
stm32 lib: declare read-only parameters as const
...
Many of the STM32 library functions take a pointer to an
initialization structure. In nearly every case, this struct
is a read-only (ie. const) parameter.
It is advantageous (and good coding practice) to actually declare
read-only data as const so that the compiler can place the const data
in the .rodata section which resides in flash and doesn't consume any
RAM. This has the added bonus advantage that it is impossible for the
running application to corrupt the read-only data.
In order to allow passing pointers to const data into the library
functions, it is essential that the function prototypes also declare
their associated read-only parameters as const. This commit adds
the const attribute to those parameters that are actually read-only.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@758 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:23:15 +00:00
stac
aebc358e46
usart: use macro definitions for bit positions
...
No functionality changed. Clean up only.
Changed a few of the (1 << x) constructs to use existing macro
definitions to improve code readability.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@757 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:57 +00:00
stac
8b5e1e8aea
init cleanup: use irq stack during early init
...
No functionality changed. Clean up only.
Make early init code (Reset_Handler) use the existing irq stack
rather than the hard-coded one.
Remove (now) unused references to the hard-coded stack.
Removed the link-time check for a minimal task stack in RAM since
FreeRTOS allocates user stacks from the heap which is already reserved
in the .bss section (as symbol xHeap).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:47 +00:00
stac
90f9e6d309
openocd: support OP and AHRS at the same time
...
Split the floss-jtag.cfg file into separate versions
for OP and AHRS.
Push AHRS onto non-default ports for gdb, tcl and
telnet.
Update the AHRS gdb setup script to point at the new
gdb port.
Add (commented out) example sytax to support distinguishing
between multiple floss-jtag boards that don't have serial
numbers. Uses the usb bus address of each device as the
selector. See this patch posted to the openocd mailing list
for how to add this functionality to openocd:
http://lists.berlios.de/pipermail/openocd-development/2010-June/015785.html
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:30 +00:00
FredericG
f8b793e54d
ET OSD, WIP. Encoding of voltage and GPS data is now known
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 17:44:24 +00:00
fredericg
39aaf0868a
MkSerial: Adapt to GpsPosition => ActualPosition
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 15:54:13 +00:00
vassilis
b6160c8a9b
Flight/Telemetry Avoid bunching of periodic updates by spreading them.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 02:24:26 +00:00
vassilis
eaa9d97939
Flight/GPS Renamed GPSObject to PositionActual and implemented field for GPS status (NoGPS, NoFix, Fix2D and Fix3D)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 01:28:06 +00:00
FredericG
5472d531e7
Starting OSD module for ET OSD Std
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-09 20:43:43 +00:00
fredericg
e550243c13
Removed unwanted quotes in build-output when building under windows/dos
...
before
"**** Compiling C :" ../PiOS/STM32F10x/pios_sys.c "->" Build/pios_sys.o
after
**** Compiling C : ../PiOS/STM32F10x/pios_sys.c -> Build/pios_sys.o
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-09 16:38:10 +00:00
FredericG
2895925bd2
Small fixes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 19:56:42 +00:00
fredericg
426b4344b0
Detect if connected to NaviCtrl or FlightCtrl and use appropriate messages - untested
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 14:50:48 +00:00
fredericg
2e6e2537f5
Fix: including of Example Module did not work any more
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 11:12:58 +00:00
fredericg
ef73edfd0d
Detect of quotes are needed and use quotes in echo-commands while generating InitMods.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-06 16:21:21 +00:00
FredericG
db629cebc5
Some cleanup
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@717 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 15:32:57 +00:00
FredericG
8a7eba0675
List of modules in Makefile - Automatic init of included modules
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 15:17:31 +00:00
FredericG
7476aa61b9
Fixes: TO did not work / values need to be signed
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 19:57:58 +00:00
fredericg
f8f2c3b5d2
Timeout detection in WaitForMsg
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 16:31:48 +00:00
stac
e2721136ae
GPS: fix buffer overrun in nmeaProcess()
...
nmeaProcess was attempting to null-terminate the
NMEA sentence but was not considering that the
preceeding loop may have looped beyond the end
of the packet buffer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 13:58:18 +00:00
stac
a03b948fb5
gdb: add gdb init + hooks for AHRS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 13:58:16 +00:00
fredericg
6577dce1d5
Report attitude obj
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@707 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 11:32:02 +00:00
fredericg
59250845ea
MKSerial: composing messages
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 19:44:57 +00:00
FredericG
4d227cd8b6
MKSerial: print attitude
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 06:57:41 +00:00
fredericg
a2beb49257
Changed PIOS_DEBUG_Panic()
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-31 16:22:58 +00:00
fredericg
17f6646f6e
Simplified the way test-applications can be built
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-31 16:22:10 +00:00
sambas
c53aa219d5
OP-25 Flight/GPS: Speed from knots to m/s
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@691 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:09:37 +00:00
fredericg
0fc8240b12
Display incoming messages - untested
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 13:28:53 +00:00
sambas
4f4391708e
OP-25 Flight/GPS: Heading and GroundSpeed used, speed in knots?
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 06:31:58 +00:00
vassilis
6414887dcc
Flight/ManualControl Added support for reversing inputs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:58:15 +00:00
vassilis
c22804e90a
Flight/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:56:43 +00:00
fredericg
dc2e7a041a
Moved MKSerial to Modules/MK dir
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 10:30:39 +00:00
stac
140a51932f
spi: fix cut/paste error for AHRS SPI setup
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@669 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 01:37:43 +00:00
stac
918250868b
irq_stack: correct one word overlap of _irq_stack_top
...
The previous fix in r652 was _almost_ right. There was
still a one word (4-byte) overlap between _irq_stack_top
and the start of the data segment.
_irq_stack_end + _irq_stack_size leaves the '.' pointer at
the word immediatly after the stack. This commit corrects
this error and places _irq_stack_top on the last word
_inside_ the reserved space for the irq stack.
[Before]
$ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
...
20000000 A SRAM_BASE
20000000 B _irq_stack_end
20000400 d LED_GPIO_PORT <--- overlap
20000400 B _irq_stack_top <--- overlap
20000400 D _sdata
20000408 d ADC_GPIO_PORT
...
[After]
$ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
...
20000000 A SRAM_BASE
20000000 B _irq_stack_end
200003fc B _irq_stack_top
20000400 d LED_GPIO_PORT
20000400 D _sdata
20000408 d ADC_GPIO_PORT
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 01:37:40 +00:00
sambas
ebff9f3638
OP-25 Flight/GPS: New GPS fields in use
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:32:43 +00:00
sambas
f7f1b37c62
OP-25 Flight/GPS: More object fields for GPS module
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:14:52 +00:00
vassilis
9be49ca54d
Flight/Attitude Minor change in field names and task priority
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:49:46 +00:00
sambas
ec40618664
OP-25 Flight/GPS: Optimized GPS, buffer overflow fixed, RMC sentence handler
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:49:37 +00:00
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
vassilis
fc7b4a02bc
Updates for changes in OpenPilot directory structure
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@193 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:36:50 +00:00
vassilis
7c591fa2d7
Delete moved files (moved to OpenPilot/System)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@192 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:36:14 +00:00
vassilis
9899ac29e7
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@191 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:33:58 +00:00
vassilis
e214443748
Removing test file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@190 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:15:08 +00:00
vassilis
79c0c3a7a4
Testing file moves
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@189 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:13:58 +00:00
gussy
4eedbd854d
A few updates for including PIOS_USB_HID into PIOS_COM.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@187 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-12 10:11:17 +00:00
dankers
484ad3ecfa
Deleted old JTAG cfg file.
...
Floss-JTAG is working and now standard.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@186 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-10 14:57:11 +00:00
dankers
41990f3d6c
Updated.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@185 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-10 14:42:29 +00:00
dankers
2f48c92a34
Floss-JTAG Added.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@184 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-10 14:36:29 +00:00
gussy
5e3ffdd7eb
Removed usb_sil from the ST USB Libs since it is no longer used.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@183 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-10 05:05:06 +00:00
gussy
0a9be2dedd
USB HID now working and integrated into PIOS_COM.
...
You can now send and receive packets (up to 63 bytes) just like using the USART port with PIOS_COM.
HID packet length will soon be increased to support maximum UAVTalk message length.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@182 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-10 03:31:51 +00:00
gussy
7578f74e8c
Small fixes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@181 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-09 07:45:25 +00:00
gussy
818fa05608
HID receiving still not working.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@180 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-09 07:39:49 +00:00
gussy
875dff963d
Fixed the descriptors.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@177 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-07 02:01:44 +00:00
dankers
058e5b88a3
Unix Friendly
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@176 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-06 19:16:09 +00:00
gussy
929d5fe51b
Added custom HID report descriptors. Updated packet length to 64 bytes for now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@175 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-05 10:33:56 +00:00
gussy
e39f2801d1
More HID work.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@173 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-05 09:34:45 +00:00
gussy
1a1b5cfcdb
Updated to Version 3.1.0 ST USB Lib.
...
Added working preliminary PIOS_USB_HID support.
Integrated PIOS_USB_HID support into PIOS_USB_HID.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@171 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-05 04:58:59 +00:00
fredericg
1686b7f783
Generate Doxygen documents
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@150 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-01 07:23:15 +00:00
dankers
f3bd58e851
Unused DIR
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@147 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-31 18:05:02 +00:00
gussy
3b32b89839
Updated copyright headers.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@146 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-31 17:56:54 +00:00
gussy
888d0a62ab
Changed to older (but working) ST USB drivers.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@145 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-31 17:10:12 +00:00
gussy
efdb5c5f2b
Added MSD library.
...
Added PIOS_USB.
Global improvements, see specific files for changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@144 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-31 16:48:23 +00:00
esden
2234d0a0bf
Added CODE_SOURCERY switch to makefile to choose if it is used or not.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@143 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-29 01:47:24 +00:00
esden
7d8dbc5deb
Commented out -fpromote-loop-indices, it is a Sourcery G++ specific option.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@142 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-29 01:21:15 +00:00
gussy
53ea65bb2f
Updated PIOS_Settings_CheckForFiles routine to work with DFS.
...
Startup procedure now waits for SD Card with the correct settings files on it.
Refactored a few global PIOS_SDCARD names.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@140 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-25 16:30:31 +00:00
gussy
b2c23c5473
Added beginnings to POIS_PWM for RC Input.
...
Enabled ADC, needs reworking still.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-25 15:23:55 +00:00
gussy
c1ab22f595
Added variety of helper functions to PIOS_SDCARD.
...
Made minGlue even more robust and simpler.
Fixed a small bug with the servo output code, which is now working 100%.
Enabled USART, which can now be used for debugging.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@138 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-24 13:03:13 +00:00
gussy
39403ee20d
Now using global filesystem mounting on bootup.
...
Changed bootup procedure for how the SD Card is handled.
Completed, optimised and added error handling to minGlue.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@137 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-24 08:13:48 +00:00
gussy
26410ad8de
Back to where we were with r133, but now with proper SD Card code.
...
Additions to note; PIOS_SPI, DosFS and PIOS_SDCARD.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@136 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-23 17:31:14 +00:00
dankers
2d43c2d82f
Back to real tiny-h
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@135 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-22 03:54:47 +00:00
dankers
9a6ad2b094
Update for V...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@134 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-22 03:27:16 +00:00
gussy
a4853aee53
Changed to sdcard startup procedure. Now puts diagnostic information on the SD card.
...
This revision is a good fall-back point as a basic test that the hardware and your development environment is working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@133 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-21 02:04:15 +00:00
gussy
998ab12de4
Delays fixed.
...
SD Card fixed and working, tested with 2Gb and 8Gb (SDHC) cards.
Changed startup_stm32f10x_HD.S to work with SysTick_Handler, needs to be changed back for FreeRTOS to work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@132 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-20 23:48:04 +00:00
gussy
90f1fab5fe
Fixed DELAY module. Now uses TIM2 and conforms to standard coding practices.
...
Added temporary flashing function as an easy way to know things are working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@131 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-20 08:16:35 +00:00
dankers
1320fc06be
Update built params so we are compatable with tiny-h and the older Olimex JTAGs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-20 05:11:45 +00:00
dankers
98d0608be2
Use the tiny-h config file as they have arrived.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@129 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-18 03:53:09 +00:00
dankers
9bab84665d
Update to remove breakpoints
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-02 14:21:37 +00:00
dankers
56ffcc1c97
Update Eclipse Workspace
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@127 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-02 11:59:25 +00:00
dankers
3614685969
comments update to reflect where the delay defines are (board.h)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@126 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 22:25:34 +00:00
dankers
a1ca5c5e67
Move delay timer to TIM 7. Move definition from pios_config.h to pios_board.h
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@125 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 22:24:15 +00:00
dankers
17304c7239
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@124 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 03:09:37 +00:00
dankers
3e76e78f47
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@123 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 03:03:24 +00:00
dankers
ebeed14ce4
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 03:01:34 +00:00
dankers
c3d63f0782
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:59:44 +00:00
dankers
24220da63a
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@120 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:58:39 +00:00
dankers
cb920513ff
stdint compliance
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@119 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:56:49 +00:00
dankers
282cf5c43e
Delay module.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@118 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:51:20 +00:00
dankers
6c2d90cd11
Added delay #defines to compile time config file.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@117 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:44:20 +00:00
dankers
48765a74ca
Update Skeleton C file. Used for new files for the project.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@116 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 02:43:29 +00:00
dankers
6075c7def0
Backup current FatFS directory before messing with it.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@115 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 00:49:54 +00:00
dankers
eb1333d557
typo
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@114 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-24 00:36:27 +00:00
dankers
8cb7ce6a86
A tiny bit simpler pios.c, FreeRTOS is working and flashing an LED. Fat stuff needs a timer, Freertos is a nice way to supply that so a task is created and running. Need to rework the fat stuff so it is FreeRTOS friendly.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@111 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 10:34:26 +00:00
dankers
08fc0ac743
Add notes section. To be completed as we get more advanced.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@110 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 10:07:05 +00:00
dankers
04d2428922
Move Settings file define from board to config header
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@109 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 10:03:49 +00:00
dankers
0f7eeef4f8
Compiler flags update
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@108 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 10:02:51 +00:00
dankers
5b31cc8813
Move SDCard functions.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@107 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 07:39:34 +00:00
dankers
3a0ecba2cc
Back to a basic setup, lets walk before running.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@106 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 07:14:52 +00:00
dankers
8a0d906647
Remove RAMFUNC
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@105 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 07:14:00 +00:00
dankers
a6c9041f55
pios sdcard, try to open a file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 04:03:21 +00:00
dankers
1cafc86aaa
copy and paste fail :)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@103 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 20:36:51 +00:00
dankers
bb729c4392
Workspace for Eclipse, see Eclipse setup on the wiki.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@102 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 19:42:17 +00:00
dankers
4a71819982
Add sdcard to compile.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@101 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 19:33:37 +00:00
dankers
2a3f572147
Split the SDCard functions away in to their own file. Just for readability & clean code. Only init function for now but there will be logging functions added.
...
init function will also try to access a file on the SDCard, this forces a real mount and will get real errors which we can handle.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@100 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 19:32:47 +00:00
dankers
6003def85d
Fix var issue.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@99 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 06:28:12 +00:00
dankers
c8b42d5976
Remove the RTC TODO.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@98 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 05:09:53 +00:00
dankers
74d4609cc6
Comment out the rest of the startup until we get ChanFat working. These come afterwards anyway, however, its a target, we uncomment them as they get fixed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@97 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 05:08:59 +00:00
dankers
4b0821b499
Says all it needs to say for now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@96 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 05:07:27 +00:00
dankers
22adaffc3a
Typo
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@95 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 05:06:58 +00:00
dankers
5738260bbb
Make copyright read cleaner
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@94 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 05:06:45 +00:00
dankers
19697b6f5e
Jtag Bits
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@93 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-22 01:47:21 +00:00
dankers
0bfd6b40e5
Eclipse WorkSpace place holder.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@92 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 21:55:52 +00:00
dankers
d2c0dea556
Case Change for Libraries part 2.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@91 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 21:52:25 +00:00
dankers
cd4b0ae01a
Case Change. Consistency across the project
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@90 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 21:50:57 +00:00
dankers
bfa45ba575
Finish Rename
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@89 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 21:48:33 +00:00
dankers
c31ba96f13
Change case on doc dir to Doc - consistency.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@88 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 21:47:51 +00:00
dankers
a0ec06fc10
Add op_config.h, just like PiOS this includes compile Macros that provide defaults for when we load the settings in to OpenPilot.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@87 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 04:15:34 +00:00
dankers
f457599d9c
Comment about where defaults live.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@86 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 04:10:50 +00:00
dankers
fb54cca9e9
Move the PIOS_Settings_Load() call to the main() function. Easier to see program flow this way as it is a key part of our startup.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@85 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 04:07:29 +00:00
dankers
b888eb3813
Move the #defines to pios_config.h
...
Add some comments to pios.c so people know where the settings are loaded.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@84 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 03:57:30 +00:00
dankers
5e15e853e6
Update the Makefile with new OpenOCD 3 commands. Add config files for OpenOCD in to project folder. This will change as we are moving to the H series tiny as soon as someone gets them in stock.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@83 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 03:05:34 +00:00
dankers
0b4997dbc0
Best not add these to SVN, might screw with other people using eclipse
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@82 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-20 00:03:55 +00:00
dankers
fc02fbc2cc
Add basics for Eclipse workspace
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@81 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-19 23:45:47 +00:00
dankers
f1d40bbf42
Simple Skeleton files, they are not yet complete. Need to add comments where various definitions go. Once that is done, need to change project to reflect this.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@80 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-19 21:36:33 +00:00
dankers
7daf94b2c8
Make some dirs for Eclipse, change case of license file. Add dir for Skeleton code files.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@79 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-19 21:28:31 +00:00
dankers
81a64d8572
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@78 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-19 21:27:28 +00:00
dankers
e396fbbc6c
Added a line that should enable adaptive clocking over the JTAG and fall back to 1Mhz otherwise. Got this from the documentation, left it commented out as the current USB JTAG does not support rclk (return clock) and I have not tested this.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@77 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-18 19:59:36 +00:00
dankers
565eff7f00
Just a TODO to setup the RTC clock here, I've been through all the startup code and it seems great, only got up to the LEDs.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@76 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-18 19:56:53 +00:00
gussy
38d98a26a6
Swapped LED On and Off to proper set/reset function.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@75 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-18 17:59:43 +00:00
dankers
313f3cceff
Gussy: Fixed uint16 on LEDs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@74 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-18 12:44:49 +00:00
dankers
2d2a01d5b6
Update todo
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@72 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 20:23:20 +00:00
dankers
b4c9f6dc3f
Add note for .klm logging to SDCard as possible task
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@71 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 16:53:24 +00:00
dankers
0fe0a30e9c
Blank Aircraft.ini
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@70 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 16:50:29 +00:00
dankers
909402ae23
Added a note about temp sensor.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@69 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 13:10:33 +00:00
dankers
3117c9ac45
Removed GPIO function from piso_sys, each module does their own GPIO setup.
...
pios_config.h to inc directory.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@66 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-15 12:17:11 +00:00
dankers
ebcec5533f
Added config header file skeleton, changed "" to <> in central header as headers now go in include and not the same directory as the C files. Removed the doxygen @s from the Makefile as Doxygen doesn't parse the Makefile.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@65 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-11 18:48:48 +00:00
gussy
8eaaf20a21
Optimised startup procedure for speed.
...
Fixed bmp085 i2c write procedure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@64 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-11 00:24:03 +00:00
gussy
d306ade1a7
Conversions now use the BMP085 EOC (End Of Conversion) pin with an external interrupt, which is a much nicer way of doing things.
...
One major timing caveat still exists, still deciding the best way to cross that bridge.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@63 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-10 06:08:28 +00:00
gussy
b6cc2df29d
Finished off initial revision of BMP085 drivers.
...
Added math.h to pios.h includes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@62 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-10 04:28:21 +00:00
gussy
9eeaf09b80
Fixed a few typos in PIOS_I2C.
...
Started work on BMP085 driver. Need more information from Bosch to continue.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@61 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-10 01:59:46 +00:00
gussy
a1f7f260c1
Added PIOS_I2C module. It's blind code though, no idea if it works.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@60 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-09 23:10:32 +00:00
gussy
f52a719c1d
Updated all PIOS function names to new standard.
...
New standard to be used is PIOS_Module_Function().
Likewise with OpenPilot, OP_Module_Function() is to be used.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@59 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-08 02:13:21 +00:00
gussy
21d62c0c36
Fixed logging queue.
...
Added to comments in openpilot.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@58 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-05 23:53:41 +00:00
dankers
48867ae968
Start of some Doc, mainly this will go on the wiki and be removed from SVN.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@57 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-05 07:52:57 +00:00
gussy
b388d75409
Added some thoughts to system task setup in openpilot.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@56 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-04 20:47:16 +00:00
gussy
4e4b50e187
Added OpenPilot Logging functions, tasks.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@55 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-04 20:33:18 +00:00
gussy
67540d1c26
Updated todo list.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@54 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-03 21:37:43 +00:00
gussy
e174898bf2
Added pios_servo. Straight from ST examples.
...
Updated printf-stdarg to use debug port.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@53 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-03 21:30:53 +00:00
gussy
7a39f5f55c
Added in ADC hooks to OpenPilot.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@52 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 21:49:31 +00:00
gussy
dc830b7a96
Initial commit of pios_adc
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@51 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 21:37:51 +00:00
gussy
db322beabb
Updated Idle comments.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@50 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 11:15:54 +00:00
gussy
28e9081872
More FreeRTOS Stuff.
...
Added in the initial OpenPilot files.
Added HooksTask.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@49 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 11:07:56 +00:00
dankers
7b8b2155ec
More bits as I think of them.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@48 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 08:24:06 +00:00
gussy
42591b0edf
Moved pios_settings.c to /PiOS/Common since it is not platform specific.
...
Started to add some FreeRTOS stuff into pios.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@47 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 06:44:53 +00:00
dankers
fb9f7c5d4f
Remove ASM debug info
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@46 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 06:35:02 +00:00
dankers
922d27982a
Add Compile time configuration header. Just #defines really. Won't be used a great deal as most our config is dynamic.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@45 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 05:33:29 +00:00
dankers
01fd25ac8d
Add to our features
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@44 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 04:22:45 +00:00
dankers
b165fafd4e
Formatting on one of the comments needed a new line.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@43 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 18:44:21 +00:00
gussy
19a61d283e
Need to updated Makefile as well.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@42 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 17:19:18 +00:00
gussy
58b09ed761
Changed all mention and use of "UART" to "USART".
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@41 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 17:15:33 +00:00
dankers
da8f5db13c
Just tiny doc updates
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@40 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 16:12:09 +00:00
dankers
df390685ee
Marketing Notes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@39 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 16:01:36 +00:00
gussy
3f3d6ebad4
I really hate SVN.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@37 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 14:51:22 +00:00
gussy
f1bfb2a238
More moving.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@35 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 14:29:55 +00:00
gussy
7f9cf71870
More moving.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@34 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 14:23:57 +00:00
gussy
d7cd647e7e
Directory re-structuring. Doesn't compile yet, need to commit first.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@33 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 14:04:30 +00:00
gussy
8c32a2f519
Header/Copyright update.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@32 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 06:32:20 +00:00
dankers
024460d256
Web bits in the TODO
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@31 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 01:44:57 +00:00
gussy
f2120143bb
Finished conversion of pios_com.c
...
UART shouldn't need any work now until testing on hardware.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@30 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 17:01:21 +00:00
gussy
47c8bc5a78
Added PIOS_COM Module. Still needs a bit of reworking.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@29 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 16:03:37 +00:00
dankers
a855efb86c
Small update for the TODO list, my next job.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@28 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 12:59:14 +00:00
gussy
208c918acc
Enabled USE_FULL_ASSERT. See comments for details.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@27 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 11:42:05 +00:00
gussy
3a1454c0d1
Added some more settings functions to make life easier.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@26 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 10:07:05 +00:00
gussy
4d23e4b879
Added and rearranged todo list.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@25 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 09:43:59 +00:00
dankers
f1b5ac53ee
More Doxygen, add descriptions to groupings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@24 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-30 09:26:01 +00:00
gussy
a20d0a4421
Typo.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@23 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 14:23:16 +00:00
gussy
3cd296ceb4
Updated all function comments to doxygen style.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@22 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 14:21:50 +00:00
dankers
c7a439daa5
FreeRTOS tuning
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@21 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 13:27:45 +00:00
dankers
a0ef06fbc9
Define modules in Doxygen
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@20 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 12:38:42 +00:00
dankers
29a5090850
test comment use / rather than @
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@19 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 12:29:18 +00:00
dankers
bb55955a62
Bit more doxygen, basically just tests. The file headers are complete on all files (took way longer than I would have liked). No functions have been touched apart from two in pios_uart.c that I am committing now. I'm committing that so I don't clash with work you have done. Working on auto generating the doc every night now on the server.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@18 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 10:29:35 +00:00
dankers
aacee213fd
More updates for Doxygen
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@17 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 10:03:08 +00:00
dankers
845a4ff817
Some Doxygen work and comments.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@16 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 07:15:59 +00:00
dankers
5efc81f6c9
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@15 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 06:09:33 +00:00
dankers
9b77b473c4
Made a start on function comments
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@14 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 05:16:47 +00:00
dankers
4f36f10c1a
Old cruft :-) See change
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@13 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-29 04:41:14 +00:00
gussy
fc3bcbfba8
Added pios_irq into compile.
...
Removed Uvision and LPC21 parts from Makefile as these are not STM32 related.
Disabled compiling of USB Libs for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@12 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 20:10:27 +00:00
gussy
50ea93241b
Core UART functions added. Still a work in progress.
...
Added pios_irq for enabling and disabling interrupts.
Fixed variable name formatting in pios_led.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@11 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 20:05:36 +00:00
gussy
99985d017e
Added extern to all function prototypes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@10 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 17:42:53 +00:00
gussy
25f153a680
General tidy up of code to a consistent code format.
...
Removed usb_conf.h as there is much more needed for usb than just it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@9 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 16:20:16 +00:00
gussy
bd25f9384a
Fixed tyops.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@8 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 15:34:31 +00:00
gussy
c1f56b5d33
Added basic settings functionality in pios_settings.
...
Updated pios_uart to use settings.
Added basic Settings.ini file for reference.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@7 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 14:16:50 +00:00
dankers
d55cb811ba
Formatting
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@6 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 11:27:15 +00:00
dankers
c347af177b
Finish adding doxygen comments to files
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@5 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 11:25:16 +00:00
dankers
e07e04d123
Started making file comments in headers using Doxygen format
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@4 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 11:07:38 +00:00
gussy
49ec4a5790
Fixed C style comments in Makefile, compiles now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 10:02:46 +00:00
dankers
b7771e3ec7
Initial version ;-) Please check! Builds fine and links fine of course. Files have basic GPL header, need to add description and other details for each file.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-11-28 09:28:11 +00:00