stac
6700a74782
makefile: refactor makefiles and clean up output
...
This significantly reduces the amount of duplication
across the various firmware makefiles.
The new firmware-defs.mk file should contain only
macros/declarations that will apply to all firmware
makefiles.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2854 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:53 +00:00
stac
251f227b31
makefile: reduce default verbosity level
...
Add V=1 to your invocation of make to re-enable
printing of all command lines.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2851 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:46 +00:00
stac
9035ba3f6b
makefile: clean up summary lines
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2849 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:41 +00:00
stac
fbe22e1d81
makefile: cleanup
...
- Removed commented out code
- Removed "begin" "finished" and "end" targets
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:39 +00:00
pip
c214833346
oops!! .. enabled PPM and disable PWM by default .. sorry
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 13:40:19 +00:00
pip
d733f08a0e
Fixed PPM compile option (missing pin defines)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2816 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 13:12:08 +00:00
FredericG
ec634ef3e7
debug-pins, small fix
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2808 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 09:11:00 +00:00
peabody124
52f09e5d55
Add compile time flag (USE_SPEKTRUM) to enable spektrum support until the
...
dynamic switching is done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:43:44 +00:00
sambas
f3bce1705b
OP-22 Flight/PiOS: Spektrum fix, OP tested on ground not flown yet, CC not tested.
...
pios_rcinput.[ch] outdated
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 13:10:02 +00:00
stac
66a9d53d0a
hwinit: Convert I2C driver to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:54 +00:00
stac
3fda65c5d3
hwinit: Convert SPI drivers to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2772 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:50 +00:00
stac
841b0d3d6d
hwinit: Convert COM and USART to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2771 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:43 +00:00
sambas
14641cd353
Fix, was outputting "\n" strings into InitMods.c which failed to build
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2742 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 07:21:45 +00:00
stac
4e6b539086
debugpins: Add definitions for debug pins
...
Not yet used anywhere but will eventually allow
debug pins to be assigned during runtime init based
on configuration found in a new uavobject.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2741 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 01:03:06 +00:00
stac
9f595842dd
modinit: put initcalls on separate lines
...
This makes it easier to step through the module init
sequence in gdb.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2740 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 01:03:02 +00:00
corvus
afdaf88d4a
UAVObjects: Allow Generation and Initialisation of individual UAVObjects
...
per target as defined in Makefile (and/or Make include file) For
OpenPilot this is flight/OpenPilot/UAVObjects.inc For sim_posix and
sim_win32 needs rebuild of uavobjectgenerator and uavobjects!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2736 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:17:40 +00:00
peabody124
f97d853c80
Make the PriTx queue optional which saves 700 bytes
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 10:52:52 +00:00
vassilis
90fd4551b6
Flight/SITL: Enable debug of Python scripts
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:02:34 +00:00
corvus
f2ef99a2d9
SiTL_win32: Adapted for autogenerated UAVObject Makefile - needs testing
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 20:15:33 +00:00
corvus
16eef53f02
UAVObjectgenerator: Autogenerate Make include-file for flight UAVObjects to be used in firmware Makefiles.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 20:15:28 +00:00
peabody124
cf2e9fb349
Memory: Also allow overriding Stabilization stack size
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 08:57:34 +00:00
peabody124
877bcca880
Delete hardcoded min and max servo PWM times, they weren't used. Use the
...
configuration settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2676 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 21:04:58 +00:00
cwabbott
23db2e9601
Fix UAVObject stuff for win32 sim, and fix pios_servo as well.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2675 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 19:11:24 +00:00
peabody124
c3aa5ed8f3
Posix: Add the constants for telemetry queue sizes and also make the actuator
...
SetHz calls compatible with the PiOS API change
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 15:47:02 +00:00
peabody124
d33d044088
Revert "Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures""
...
Putting Corvus patch back in. Need to delete uavobjects-synthetics directory
for this to work.
This reverts commit 9cd98bec8fb5e0679c625eb256a94d161a8ce345.
Conflicts:
flight/CopterControl/Makefile
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 15:46:59 +00:00
peabody124
bbbdea26b9
Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures"
...
Note: This patch did not build after a clean build.
This reverts commit 7e75b5d16481a32689433c868b67916816d8b9fb.
Conflicts:
flight/CopterControl/Makefile
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2651 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:56:02 +00:00
corvus
c2ba1f517b
Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures
...
On architectures supporting automatic initializing, flight/UAVObjects/uavobjectsinit_linker.c is used
On architectures NOT supporting automatic initializing, an uavobjectgenerated file build/uavobject-synthetics/flight/init/uavobjectsinit.c is used
build/uavobjects-synthetics/flight/uavobjectsinit.c went away, so that a wildcard include in the Makefile will not include the (wrong) initialisation code in either version
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2640 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 20:37:11 +00:00
corvus
6f2e45d414
BigMess: OpenPilot/Makefile: do not have an explicit list of UAVObjects in Makefile, include by wildcard uavobjects/*.c
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2612 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 20:19:53 +00:00
sambas
f3ce7d7035
OPOP-303 PIOS/Sonar: posix fix, I guess??
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2611 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:59:35 +00:00
sambas
ba5ebb6b13
OP-303 PIOS/Sonar: preliminary support for HCSR04 ultrasound altimeter module, tested and working :)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2610 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:21:22 +00:00
peabody124
ac031d9b0d
OP-256 RC 3 is using TIM5 but wasn't previously handling this ISR. Passing to
...
the PWM ISR now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2607 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 16:01:40 +00:00
sambas
d917ced2f6
Fix for pwm input reset problem? Try the line I commented out because I can't test this.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 13:30:12 +00:00
corvus
0cc957bc9c
reverting bad commit of these files
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 12:31:13 +00:00
corvus
e6004ae95e
PiOS.posix - split up FreeRTOS port into a linux version (original FreeRTOS linux code) and a non linux POSIX compatible version (Mac OSX, BSD, ...) - OS detection by Makefile.posix
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2604 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 12:26:45 +00:00
corvus
0624173489
Big Mess: Cleanup Openpilot/Makefile.posix - UAVObject generation paths and pylib stuff
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2603 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 11:44:37 +00:00
sambas
195b63b6bb
OP-22 PIOS/Spektrum: Made spektrum input driver, NOT YET TESTED!!!, also preliminary support for CC, sync/supv timer not yet fixed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 09:25:30 +00:00
peabody124
92dd78db51
OP-256 PIOS/PWM: Disable from the pios_board.c file when not using PWM
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2589 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 23:17:39 +00:00
peabody124
1daabba5c1
Build: Change the lower makefiles to use forward slashes but also create
...
directories on
windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2585 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 20:01:06 +00:00
peabody124
3b0be12b67
OP-291 PIOS/Servo: Fix a few interrupt mappins for OP
...
Also keep the priority of actuator at idle+4, dropping it down slipped through
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2580 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:20 +00:00
peabody124
7554021ed0
OP-256 PIOS/PWM: Set the interrupts correctly
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2577 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:52:11 +00:00
peabody124
99fcd089d4
OP-291 PIOS/Servo: Make the remapping of timers a part of the driver structure
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:48 +00:00
peabody124
da96ce15b9
OP-256 PIOS/PWM: Converting PWM input to use standard driver structure.
...
Beginning of unifying the input types into PIOS_RECEIVER.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2568 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:51:45 +00:00
vassilis
000a7bb54e
Flight/Makefile: Fix build error - could not find include files of generated code
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 02:38:32 +00:00
cwabbott
eeac20d4ae
The Big Mess part 4: win32 and posix sitl.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 20:30:25 +00:00
sambas
826ce00bf4
another one for Big Mess
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2546 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:18:52 +00:00
stac
2d53902148
UAVObjects-flight: Move generated files into build dir
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:15 +00:00
peabody124
2d9f7f32d1
OP-291 PiOS/Servo: Converting output to use driver system
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2499 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 03:40:21 +00:00
pip
3d2f78ae9a
Removed pipx entries
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2498 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 23:01:20 +00:00
vassilis
3a755826a5
Flight/FlightPlan: Fix build issue with rev 2480
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2485 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 02:25:09 +00:00
cwabbott
e73da04cc6
PiOS.win32: changes according to rev 2480, fix compile error in manualcontrol.c, add vTaskDelete() to win32 FreeRTOS.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2484 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-19 23:52:11 +00:00