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

611 Commits

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