Commit Graph

3939 Commits

Author SHA1 Message Date
Gregory Nutt
c4a337389c STM32F4-Discovery: Part of logic to initialize the ELF loaded in the board startup logic. From Leo aloe3132 2015-04-30 14:32:30 -06:00
Gregory Nutt
698f71a176 STM32F4-Discover: Initialize the ELF loaded in the board startup logic. From Leo aloe3132 2015-04-30 14:29:21 -06:00
Gregory Nutt
79029ebe2d EFM32 USB host: Add missing trace data and some missing connection-related logic; update a configuration 2015-04-30 13:46:53 -06:00
Gregory Nutt
9f34a34d8c STM32F4-Discovery: Add another missing configuration; fix names of configurations 2015-04-30 13:02:38 -06:00
Gregory Nutt
4d5fae4ea9 STM32F429i-Disco: Add some missing USB host configureation. Fix some some duplicate class registration that causes infinite loops in USB registry searches 2015-04-30 13:01:29 -06:00
Gregory Nutt
f36b833955 STM32F4-Discover: Add missing logic to register the hub class 2015-04-30 11:27:20 -06:00
Gregory Nutt
fc3d30f0ba STM32F4-Discovery: Add configuration option to select the size of the stack used with the usbhost waiter. Needs to be bigger when a hub is supported 2015-04-30 11:26:35 -06:00
Gregory Nutt
dfa4a1f7ac STM32 HUB: Fix more compilation errors when hub support is enabled 2015-04-30 08:00:41 -06:00
Gregory Nutt
e34ca32852 Fix some errors in initial re-verification of USB host on the STM32F4-Discovery 2015-04-30 07:28:30 -06:00
Gregory Nutt
52cbeead7f First cut, dirty conversion of EFM32, STM32 FS and HS host drivers to the new interfaces 2015-04-29 15:53:58 -06:00
Gregory Nutt
b909ad04d8 USB HUB: Fix a deadlock that can occur if the HCD and the HUB try to share the high priority work queue. Now how work must be done on the low priority work queue. 2015-04-29 08:32:17 -06:00
Gregory Nutt
7042225a8a USB HUB: Update all USB host connection waiter application threads to use the the new connection interface 2015-04-28 12:21:23 -06:00
Gregory Nutt
1441689cc9 Add logic to register the hub class to all board logic that initialize USB host 2015-04-28 11:53:26 -06:00
Gregory Nutt
08b35f042b LPC31: Port hub registration logic from Olimex H3131 to EA3131 2015-04-27 15:50:40 -06:00
Gregory Nutt
c7bdf22c3c Minor typo in README 2015-04-27 14:12:25 -06:00
Gregory Nutt
7313906ec5 EHCI: Can asynch cancellation method 2015-04-27 11:18:31 -06:00
Gregory Nutt
eabbb6ede1 Port hub support to LPC31 from SAMA5; Updated Olimex-LPC-H3131 for hub support and refresh configurations 2015-04-26 12:18:08 -06:00
Gregory Nutt
397f31f061 Another hub-related interface change: Need to pass speed to EP0 2015-04-26 09:53:43 -06:00
Gregory Nutt
c14eae1a3e Olimex LPC1766STK: Refresh configuration, update README 2015-04-26 09:05:09 -06:00
Gregory Nutt
d11af85ddf Merge remote-tracking branch 'origin/master' into usbhub 2015-04-23 14:06:18 -06:00
Gregory Nutt
0092f79696 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
0076e6b3b5 Merge from master 2015-04-23 07:17:28 -06:00
Gregory Nutt
215dad9984 Fix USB host polling; fix a typo in LPC17 HCD 2015-04-23 07:13:31 -06:00
Gregory Nutt
f38ff433b3 Update paths to CodeSourcery tools 2015-04-23 07:01:13 -06:00
Gregory Nutt
f7ec9b0831 USB hub: Change to connection interface so that applications can deal with external hubs 2015-04-22 12:28:19 -06:00
Gregory Nutt
5c16454cdf Add USB hub initialization logic to a couple of board configurations 2015-04-21 13:44:14 -06:00
Gregory Nutt
ba1e1b19fc Fix name of misnamed file 2015-04-21 13:18:06 -06:00
Gregory Nutt
98de2f5712 USB Hub: Add USB hub header file from Kaushal Parikh 2015-04-18 11:39:26 -06:00
Gregory Nutt
244a30b6a9 Fix an error introduced into stm32_pwr_enablebkp(). That function must preserve the previous state of backup domain access on return. 2015-04-18 07:31:20 -06:00
Gregory Nutt
9f0a9824bc Use menconfig instead of config 2015-04-17 07:38:33 -06:00
Gregory Nutt
41d5828fa7 STM32F429i Disco: (1) Fix a bad return value if the LCD driver is already initialized. (2) The LCD driver initialization is now performed during the early boot sequence. (3) Increased the size of the message queue from 32 to 64 in the lcd configuration. From Marco, ocram.lhark@yahoo.com. 2015-04-17 07:04:53 -06:00
Gregory Nutt
2fe0e5624e Fix dedbug output; used wrong macro 2015-04-16 12:37:47 -06:00
Gregory Nutt
eb28a666b4 Add support for the new DMA2D features to the STM32F429i-Disco LTDC configuration. From Marco Krahl. 2015-04-16 09:11:53 -06:00
Gregory Nutt
1f193dd515 Calypso/Compal_e86 update from Craig Comstock 2015-04-16 09:11:47 -06:00
Gregory Nutt
213987ea20 Missing PWM boardctl logic breaks PWM test. 2015-04-15 21:37:41 -06:00
Gregory Nutt
a28354c6a2 Spellcheck README file 2015-04-15 18:11:03 -06:00
Gregory Nutt
13bd65fe82 configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info 2015-04-15 11:00:40 -06:00
Gregory Nutt
490a2a5ebd Remove all traces of the Galileo board. That port is not going to happen -- I dont' even have the Galileo board anymore. 2015-04-13 15:36:50 -06:00
Gregory Nutt
dc63b9dfc7 Refresh configurations 2015-04-12 09:34:32 -06:00
Gregory Nutt
6f8335ea87 Minor updates to README files 2015-04-10 11:33:01 -06:00
Gregory Nutt
3840c2a14b Fix several typos in comments 2015-04-09 16:13:03 -06:00
Gregory Nutt
7f5e2aa2f0 Refresh some configurations 2015-04-09 15:14:21 -06:00
Gregory Nutt
b62d60b2a6 Fix some issues introduced to Freedom-KL26Z build. Duplicate changes in Freedom-KL25Z 2015-04-09 14:48:54 -06:00
Gregory Nutt
e20ccf2df8 Fixes for clean build of zp214xpa/nsh configuration 2015-04-09 14:29:07 -06:00
Gregory Nutt
91c199529d boardctl(): Typo in ADC logic 2015-04-09 14:22:58 -06:00
Gregory Nutt
2aa80e06f5 Remove executable flag from more .c and .h files 2015-04-09 08:20:57 -06:00
Gregory Nutt
2775766c52 Refresh some configurations 2015-04-08 14:12:17 -06:00
Gregory Nutt
1875e520f9 SAMV71-XULT: Update SDRAM refresh rate based on latest softpack 2015-04-08 12:42:54 -06:00
Gregory Nutt
54847a163f Make some file section headers more consistent with standard 2015-04-08 09:15:17 -06:00
Gregory Nutt
5537eb4561 Remove some carriage returns 2015-04-08 09:08:51 -06:00
Gregory Nutt
9245040562 Remove some carriage returns 2015-04-08 09:05:48 -06:00
Gregory Nutt
50aa1e0939 Modbus: Misc cleanup 2015-04-07 12:16:15 -06:00
Gregory Nutt
4d5cb13c9d STM32 RTCC: Make back-up register and magic value used by RTCC configurable. From David Sidrane 2015-04-06 16:26:59 -06:00
Gregory Nutt
7b1f2911cc Cloudctrl: Update/fix defconfig file 2015-04-06 10:57:18 -06:00
Gregory Nutt
141846c6bf Update TODO list and a README 2015-04-05 09:51:38 -06:00
Gregory Nutt
fca4c51420 Update comments and README 2015-04-05 07:22:46 -06:00
Gregory Nutt
cf4bbae526 SAMV7: Fix SDRAM initialization instabiilties by changing the order of initialization 2015-04-04 19:58:31 -06:00
Gregory Nutt
62337a656f Update README 2015-04-04 19:22:26 -06:00
Gregory Nutt
209084de66 SAMV71-XULT: Enable SDRAM and the RAM test in the nsh configuration 2015-04-04 19:04:54 -06:00
Gregory Nutt
b689d8a736 Fixes a few typos in comments 2015-04-04 18:29:29 -06:00
Gregory Nutt
d1d96bada1 SAMV71-XULT: Tried the SDRAM test again. Found one bug, but it still fails 2015-04-04 18:09:10 -06:00
Gregory Nutt
77e86521c8 SAMV71-XULT: Some improved naming 2015-04-04 14:05:42 -06:00
Gregory Nutt
02beb0d449 More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize 2015-04-04 11:49:15 -06:00
Gregory Nutt
f6657dc512 ILI9488: Correct some data width issues. Now the ILI9488 driver works fine. 2015-04-04 10:16:30 -06:00
Gregory Nutt
cbff87cb40 ILI9488: Correct logic that gets the LCD ID 2015-04-04 10:02:31 -06:00
Gregory Nutt
c2f6a95332 SAMV17-XULT: Can't use UART3 when LCD is conencted, switch to USART0 2015-04-04 08:43:41 -06:00
Gregory Nutt
c393d39dd0 Fix typos in debug assertions 2015-04-04 06:59:14 -06:00
Gregory Nutt
5b03d5052d More updates to README file 2015-04-03 20:12:30 -06:00
Gregory Nutt
b64dd39792 SAMV71-XULT: The ILI9488 LCD is now enabled by default in the mxtxplnd configuration 2015-04-03 20:11:39 -06:00
Gregory Nutt
0cf5088475 SAMV71-XULT ILI9488 LCD driver is code complete but untested 2015-04-03 16:36:58 -06:00
Gregory Nutt
b72cf3366c SAMV7: Add SMC register definition header file; SAMV71-Xult: Add an LCD driver. The initial commit is simply the SAVM4E-EK ILI9375 driver will bogus name changes to ILI9488. 2015-04-03 10:28:32 -06:00
Gregory Nutt
3311bdcecb SAMV7: Fixes to WM8904 build 2015-04-02 18:24:55 -06:00
Gregory Nutt
e78e762dd6 Add a very basic driver for the CS2100-CP Fractional-N Multipler chip. 2015-04-02 13:00:10 -06:00
Gregory Nutt
0ec67181c9 Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/. 2015-04-01 12:37:44 -06:00
Gregory Nutt
6342459cdb SAMV7 WM8904: Leverage WM8904 logic from the SAMA5D4-EK 2015-04-01 12:13:51 -06:00
Gregory Nutt
f6e6dacb17 Rename pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that will enable calling board_pwm_setup() from boardctl(). Replace calls to pwm_devinit() in apps/examples/pwm with calls to boardctl(). In all configurations that enable the apps/examples/pwm test, make sure that boardctl() suppoprt is properly enabled. 2015-03-31 16:59:22 -06:00
Gregory Nutt
2b0202e6d7 Update several defconfig files. Make sure that every defconfig file that requires external graphics initialization also approprietly initializes boardctl(). 2015-03-31 16:29:40 -06:00
Gregory Nutt
ded2001121 Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl(). 2015-03-31 16:20:21 -06:00
Gregory Nutt
4212b9b385 Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device. 2015-03-31 15:00:23 -06:00
Gregory Nutt
cf95d1a995 rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface. 2015-03-31 13:21:25 -06:00
Gregory Nutt
4a8e0e2359 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
b4b40d338a boardctl(): Add a new non-standard OS interface. This is similar to a driver IOCTL call. But this is an IOCTL call directly on the board logic. This function will eventually replace all of the ad hoc OS interfaces that are current used to perform application specific intialiation and application driver test confifuration. It essentially formalizes and institutionalizes these rogue interface in to at least a single crazy call. 2015-03-31 11:25:52 -06:00
Gregory Nutt
9c0441e2da Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -06:00
Gregory Nutt
eb21ad0cf2 SAMV71-XULT: Add option to support connection of the maXTouch Xplained Pro on the 50-pin LCD connector 2015-03-31 09:01:38 -06:00
Gregory Nutt
c76373280b SAMV71-XULT: Add a configuration for testing the maXTouch Xplained Pro connected to the board 2015-03-30 15:31:53 -06:00
Gregory Nutt
157c56d081 Update README 2015-03-30 07:33:48 -06:00
Gregory Nutt
dab3dbc75b Cortex-M7: Add support for enabled the D-Cache in write only mode.
SAMV7 Ethernet:  I- and D-Cache are now enabled in the netnsh/ configuration.  D-Cache is enabled in write-though mode.  This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
2015-03-29 14:42:03 -06:00
Gregory Nutt
4593fe3797 SAMV7/Cortex-M7: Add support for write through D-Cache. SAMV7 Ethernet look like it needs this 2015-03-29 13:09:22 -06:00
Gregory Nutt
8bb8f47d0b PIC32MZ Ethernet: Enable PBCLK5 and MII divider for PHY. From Kistopher Tate 2015-03-29 07:14:09 -06:00
Gregory Nutt
b1dcacebe7 Minor update to a README 2015-03-29 07:04:39 -06:00
Gregory Nutt
ce34402dac SAMV71-XULT: netnsh configuration is back to -O2 2015-03-28 14:54:30 -06:00
Gregory Nutt
d2fd139ebc SAMV7 EMAC: Fix alignment issue: RX buffers need to be invalidated. This means the alignment of buffers must be at least to the data cache line size at both ends of the buffer 2015-03-28 13:09:01 -06:00
Gregory Nutt
d7dbdfef58 SAMV7 EMAC: Sometimes TX is not started when TSTART is set??? Workaround seems to be to set it twice. Restored full optimization. Also CONFIG_NET_NOINTS is set so that interrupt level provessing is avoided 2015-03-28 09:42:45 -06:00
Gregory Nutt
756d19ff28 SAMV71-XULT: Add a network-enabled NSH configuration 2015-03-27 14:18:13 -06:00
Gregory Nutt
79734c3c13 SAMV7 Ethernet: Fix some errors in circular queue handling 2015-03-27 13:04:43 -06:00
Gregory Nutt
66670c1738 SAMV7 Ethernet+USB Updates 2015-03-27 10:47:03 -06:00
Gregory Nutt
3c433f7f35 Updated comments/README 2015-03-26 12:33:03 -06:00
Gregory Nutt
dd06cef845 SAMV7 USB: more updates 2015-03-25 15:56:10 -06:00
Gregory Nutt
3875e86436 SAMV7: Add framework for USB DCD. Initial check-in is just the SAMA5 USB DCD with naming changes to get a clean compilation. Needs careful review and comparison with datasheet and, of course, testing 2015-03-23 14:06:53 -06:00
Gregory Nutt
1802d50e3e Refresh Configurations 2015-03-23 11:20:38 -06:00