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

76 Commits

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