1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
Commit Graph

421 Commits

Author SHA1 Message Date
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