1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

6380 Commits

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