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

13237 Commits

Author SHA1 Message Date
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
f1a8f861f3 Basic bits created by Qt creator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@73 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 20:24:36 +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
488c823468 Start of GCS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@68 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-15 13:09:13 +00:00
dankers
96bb3037f7 Grond Station Build info
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@67 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-15 12:35:53 +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
dankers
3667c5e7ee Rename nav to OpenPilot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@38 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-01 15:54:56 +00:00