Commit Graph

1123 Commits

Author SHA1 Message Date
px4dev 3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload pieces. 2012-10-23 23:51:13 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
px4dev 0afeeb5dd8 Move the PX4IO driver into the drivers folder. 2012-10-22 21:39:55 -07:00
Thomas Gubler 836c55e122 Merge branch 'master' into fw_control 2012-10-22 18:11:47 +02:00
Lorenz Meier 64c5096c9f Merged with fixed-wing stabilization work, multirotor control tested 2012-10-22 14:42:50 +02:00
px4dev c9928c23f3 Remove the old rcS template 2012-10-21 18:22:18 -07:00
px4dev 5925d146bc Move the tone_alarm driver out of the NuttX configs area and add it as an stm32-specific driver in the PX4 apps space.
Add a new tone_alarm command that can be used to start/stop alarm tones from the shell.
2012-10-21 17:51:21 -07:00
Doug Weibel 1e0a34a102 Add functions for computation of the distance and bearing to the nearest point of a line segment or arc segment. 2012-10-21 16:39:53 -06:00
Thomas Gubler 5616f5c4b1 [work in progess] added pos control skeleton 2012-10-21 21:01:22 +02:00
Thomas Gubler 6c8fb8177e Started implementing fw controller according to controller layout of the ASL lecture 2012-10-21 18:45:24 +02:00
px4dev 4f20d9a24b Retire old test cases for drivers that have been removed. 2012-10-19 18:59:44 -07:00
px4dev 7f18fcd556 Clean out old drivers we're not using anymore. 2012-10-19 18:51:50 -07:00
px4dev 3292ea24a1 Switch to the standard 'verbose' build option. Use a better way of passing options to the linker that is closer to friendly with 'make export'. 2012-10-15 21:08:26 -07:00
px4dev f9a8818d1e Switch from -Os to -O3. This generates *much* faster code, although at a ~50% size penalty. We can afford the space. 2012-10-15 19:10:28 -07:00
px4dev 0ccaa1330b Merge branch 'master' of file:///Users/Shared/NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-13 00:08:02 -07:00
patacongo 8de1d1d182 Update Olimex-LPC1766STK setenv.sh to make it faster to use CodeSourcery.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5230 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 15:38:42 +00:00
patacongo e62b420882 Another dtoa() fix from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5229 42af7a65-404d-4744-a932-0658087f49c3
2012-10-11 13:42:14 +00:00
px4dev 674b655236 Quick hack to print floating-point numbers that are powers of 10 less wrongly. 2012-10-11 00:22:22 -07:00
patacongo ca71c149e2 Document problem with GCC 4.8.3 and the NXFLAT tools
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5228 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 19:58:57 +00:00
patacongo b71fcbb0de More fixes for ldnxflat. There are still problems with the GCC 4.6.3
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5227 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 19:36:32 +00:00
patacongo 6cb1bc7e67 Oop. Part of last change was still in the editor
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5226 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 17:17:50 +00:00
patacongo ed4550ff48 Rename gnu-nxflat.ld to gnu-nxflat-gotoff.ld; Add gnu-nxflat-pcrel.ld
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5225 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 17:01:23 +00:00
patacongo 3d754095f9 Change the default path to the buildroot bin/ directory in all setenv.sh files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5222 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 12:56:02 +00:00
px4dev 1e59a592a6 Split the parameter load/save commands out of the 'eeprom' command, since that's not really the obvious place for them. Add parameter printing functionality (though, it's a mess due to %f being busted)
Update the script examples to use the new command.
2012-10-09 22:45:36 -07:00
patacongo 50ecc59c27 Updates for new web site
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5221 42af7a65-404d-4744-a932-0658087f49c3
2012-10-08 18:12:53 +00:00
patacongo e8a8129808 Fix a recurring, cloned typo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5220 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 20:10:31 +00:00
patacongo ee341514da All Cortex-M Make.defs files updated to use buildroot EABI toolchain if BUILDROOT=y selected
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5219 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 18:09:05 +00:00
patacongo 79e092e362 Update all config README.txt files to show that they use the EABI buildroot toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5218 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 17:29:36 +00:00
patacongo 4d23437df0 Several bugfixes, mostly from Darcy Gong
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 14:50:37 +00:00
patacongo a41bc3c2ff Eliminate a warning
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5216 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 00:27:17 +00:00
patacongo b9454627bc More changes for buildroot EABI toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5215 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 00:20:49 +00:00
patacongo 535398581c configs/shenzhou will now use the 4.6.3 buildroot EABI toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5214 42af7a65-404d-4744-a932-0658087f49c3
2012-10-05 23:43:05 +00:00
patacongo 1e36879126 Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
2012-10-05 23:01:51 +00:00
patacongo eb041b927a Fix some W25 driver errors
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5212 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 18:42:28 +00:00
patacongo 44a18f5361 Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +00:00
patacongo b0eb4f3cce Change order of includes in apps/Makefile; add clock frequencies to shenzhou, fire, and olimex-stm32 board.h files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5210 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 15:07:06 +00:00
Lorenz Meier 607e902b88 Cleaned up / simplified position control, attacking pos control implementation next 2012-10-04 14:50:34 +02:00
px4dev dfae108e6a Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
2012-10-03 23:13:20 -07:00
patacongo e6656c077c Delete the apps/vsn directory (moved commands to apps/system)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5209 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 00:11:05 +00:00
patacongo 14b3f41aa6 Delete the apps/vsn directory (moved commands to apps/system)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5208 42af7a65-404d-4744-a932-0658087f49c3
2012-10-03 23:36:54 +00:00
Lorenz Meier d75266f390 Reverted different UART assignment 2012-10-02 09:24:52 +02:00
Lorenz Meier d3e7b5e0bf Merge branch 'master' of https://github.com/tnaegeli/Firmware into task_spawn 2012-10-01 17:29:36 +02:00
tnaegeli e42655e7c6 EKF 2012-10-01 17:21:59 +02:00
patacongo 96a334a758 Implementation of /dev/random using the STM32 Random Number Generator (RNG)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5207 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 20:34:25 +00:00
patacongo 253d3ab523 Prep for 6.22 Release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5206 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 19:10:52 +00:00
patacongo de53b28fd3 Prep for NxWidgets 1.3 release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5205 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 15:58:41 +00:00
patacongo ccb682f332 Fix problem with ping that prevent ping from going outside local network (Darcy Gong)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5204 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 14:13:04 +00:00
Lorenz Meier 1725069c18 Merge branch 'update_rate' of https://github.com/sjwilks/Firmware into ardrone 2012-09-29 12:46:20 +02:00
patacongo 4333422d5f Put Shenzhou NxWM config on a diet
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5203 42af7a65-404d-4744-a932-0658087f49c3
2012-09-28 22:45:12 +00:00
patacongo 343817a6fd Turn off LCD reading on Shenzhou board (needs some TLC before it will be usable)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5202 42af7a65-404d-4744-a932-0658087f49c3
2012-09-28 19:24:46 +00:00
patacongo 8e47dd37d6 Fix ID tagging in ADS7843/XPT2046 touchscreen driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5201 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:55:15 +00:00
patacongo f664e163e5 Fix STM32 SPI3 remap logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:15:24 +00:00
patacongo 7dc357a4e6 STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo c3bc22f07c Definitions for ARMv7-M AIRCR register, Fixes for ADS7843 and SSD1289 driver, Missing build logic for examples/watchdog
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5198 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 15:29:53 +00:00
px4dev 62a4aa96b6 Merge branch 'master' of file:///Users/Shared/NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 00:18:03 -07:00
patacongo 9a0be89531 Correct some bad parameter checking
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 03:13:50 +00:00
patacongo ebdc6a36e8 Fixes mostly related to touchscreen on Shenzhou board (still does not work)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5196 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 01:26:47 +00:00
patacongo 83f66b9e18 Shenzhou schematic is wrong: LCD WR signal is on PB14, not PD14
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5195 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 22:03:53 +00:00
patacongo d7561fc092 Shenzhou board has an SSD1289 LCD, not ILI93xx
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5194 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 19:41:54 +00:00
patacongo 923da1b34b Fixes for clean compilation of NxWidgets/NxWM with Kconfig and changes to build system; Fixes to Shenzhou NxWM configuration for clean build
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5193 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 14:36:28 +00:00
patacongo 415e830372 Fix README.html links -- again
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5192 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 23:36:27 +00:00
patacongo 2be7847efe Hook in NxWidgets configuration logic; Add a untested ADS7843E touchscreen support for the Shenzhou board; Complete the Shenzhou NxWM configuration (also untested).
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5190 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 22:04:51 +00:00
patacongo fd3df782b1 Add more LCD-related Kconfig logic; Create a Kconfig file for NxWidgets
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5189 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 21:15:02 +00:00
patacongo 734ea8dc16 Port STM3240G-EVAL ILI93xx driver to Shenzhou board
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5188 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 19:17:52 +00:00
patacongo 26da047878 Hook in graphics/Kconfig
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5187 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 01:29:27 +00:00
patacongo 4c432c716a Beginning of an Shenshou NxWM configuration
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5186 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 01:14:43 +00:00
patacongo 77d18d5205 Completes a bit-banging driver for the SSD1289 LCD on the Shenzhou board
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5185 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 23:27:25 +00:00
Simon Wilks 37163011fc Use the update rate parameter provided and not the default. 2012-09-24 23:36:21 +02:00
patacongo 169c620845 Add framework for SSD1289 LCD on Shenzhou
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5184 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 19:37:56 +00:00
patacongo cafa22293a Corrections for SD card on Shenzhou board
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5183 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 18:57:38 +00:00
patacongo e2b2cc3450 Fixes STM32F107 DMA issue
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5182 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 15:51:48 +00:00
patacongo 8da267c518 Shenzhou PHY address should be 0; make sure the F2/F4 bits are not set when using STM32 ethernet driver with F1
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5181 42af7a65-404d-4744-a932-0658087f49c3
2012-09-23 15:22:27 +00:00
patacongo b58026b8f0 Add missing STM32 F1 pin remapping definitions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5180 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 22:25:21 +00:00
patacongo 45da426c19 STM32 Ethernet, Slightly differ register layout for DM9161AEP PHY
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5177 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 19:19:56 +00:00
patacongo 5f7c2b3ead Shenzhou board uses RMII PHY interface, not MII
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5176 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 16:48:44 +00:00
patacongo fc8f6c972a Make the Olimex stm32 p107 clock configuratin the standard for connectivity line devices
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5175 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 15:12:50 +00:00
patacongo 4f381f2185 Correct Shenzhou LED controls
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5174 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 14:06:47 +00:00
patacongo 6052cd078a More sscanf: Long flag (as in %ld) not be used in all of the places it should be
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5172 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 22:05:41 +00:00
patacongo 4a5f639e22 Fix bug in last sscanf change
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5171 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 18:51:04 +00:00
patacongo e8f1a8bff9 Recent I2C changes for F4 broke F1
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5170 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:55:08 +00:00
patacongo 99bc5e453b One more sscanf change
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5169 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:34:13 +00:00
patacongo 4edf18b009 Add support for Fire STM32v3; sscanf fixes from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5168 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:32:30 +00:00
Lorenz Meier eaa6d0d4f2 Merge pull request #30 from julianoes/gps_fix
some gps fixes (only tested without gps attached)
2012-09-20 15:35:21 -07:00
patacongo 16778b66e2 Oops.. the up_i2creset function mysteriously disappeared from stm32_i2c.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5167 42af7a65-404d-4744-a932-0658087f49c3
2012-09-20 13:55:31 +00:00
Julian Oes df8bbb2d30 workaround in nuttx to allow for more than 6 arguments when starting an app (in my opinion needed) 2012-09-20 11:57:29 +02:00
px4dev 42f040ab66 Merge from upstream NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5166 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 23:29:14 -07:00
patacongo efda9c5de5 Add support so that the W25 FLASH can be used with both the Shenzhou and Fire-stm32v2 boards
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5166 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 14:34:17 +00:00
patacongo 2b7f90d569 The ENC28J60 driver is now functional
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5165 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 14:22:18 +00:00
patacongo b50f2a7834 Fix another ENC28J60 chip select bug
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5163 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 23:06:22 +00:00
patacongo 7d318ee113 Cosmetic updates to the ENC28J60 driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5161 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 18:32:31 +00:00
Lorenz Meier b0b72b11eb Reworking control infrastructure for inner rate loop, preparing offboard interface 2012-09-18 18:28:49 +02:00
patacongo a2256f3fd9 Refactor common make definitions to tools/Config.mk; Add verbosity option to build (Richard Cochran)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5160 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 14:06:57 +00:00
patacongo 294e1a2df9 Fix ording of bytes in ENC28J60 MAC address; Web server refactoring from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5159 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 12:34:43 +00:00
tnaegeli df03433034 g
Signed-off-by: tnaegeli <naegelit@student.ethz.ch>
2012-09-18 13:49:18 +02:00
patacongo c3c602f93e Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 23:02:58 +00:00
patacongo 1550be3df3 Upate some pathes for the new NuttX repository
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5156 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 19:33:42 +00:00
patacongo 2981943392 Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo 57623d42eb Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5153 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:18:44 +00:00
px4dev 5a8dda3343 It's mostly harmless, so turn on the bootloader update tool. 2012-09-16 23:42:00 -07:00
px4dev 4cbc1c8d86 Re-enable the I2C lock around ACK sending pending a possible upstream fix. 2012-09-16 17:11:58 -07:00