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

140 Commits

Author SHA1 Message Date
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
ec887bd716 As with last revision, just an update to the ignore list.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@113 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-23 22:54:34 +00:00
dankers
98ee37ff03 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@112 ebee16cc-31ac-478f-84a7-5cbb03baadba 2009-12-23 22:51:22 +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