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

322 Commits

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