Commit Graph

214 Commits

Author SHA1 Message Date
Gregory Nutt
0883ea1af0 USB host drivers: Cannot take semaphores in cancel() method 2015-05-14 09:58:21 -06:00
Gregory Nutt
5fad63c28a STM32/EFM32 USB host drivers. Remove some detritus left from previous change 2015-05-14 07:55:55 -06:00
Gregory Nutt
c2c7dadf0f The USB host cancellation now applies to all transfers and so it no longer conditional 2015-05-11 12:04:03 -06:00
Gregory Nutt
cac9879ad2 EHCI HCDs will now support cancellation of syncrhonous transfers 2015-05-11 11:43:31 -06:00
Gregory Nutt
3f092b8f9c STM32 and EFM32 host will now support cancellation of synchronous methods 2015-05-11 11:15:28 -06:00
Gregory Nutt
0536435ff8 Correct an error recently introduced in the STM32 and EFM32 USB host controller drivers.
The test for data partially transferred is incorrectec: chan->xfrd != xfrlen
Should be chan->xfrd > 0

From Ronly XLN.
2015-05-11 09:04:25 -06:00
Gregory Nutt
b8483aea40 In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane 2015-05-07 20:36:08 -06:00
Gregory Nutt
8f959373e1 USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit. 2015-05-05 13:14:22 -06:00
Gregory Nutt
823af4b409 USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port 2015-05-02 10:44:18 -06:00
Gregory Nutt
149d8c039d 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
501d82928d STM32/EFM32 USB host: Implemented asynchronous cancel method 2015-04-30 11:24:18 -06:00
Gregory Nutt
c096b7d426 USB Hub: Fix compile problems when hub debug enabled 2015-04-30 08:12:55 -06:00
Gregory Nutt
a4455d07c1 STM32 HUB: Fix more compilation errors when hub support is enabled 2015-04-30 08:00:41 -06:00
Gregory Nutt
2f7682f7df Fix some errors in initial re-verification of USB host on the STM32F4-Discovery 2015-04-30 07:28:30 -06:00
Gregory Nutt
d4feb7205f 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
d77a19f0a2 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
321ccb3ba3 Fix several typos in comments 2015-04-09 16:13:03 -06:00
Gregory Nutt
fe38ca23e5 Cosmetic 2015-04-09 07:59:31 -06:00
Gregory Nutt
ae15c6963c Make some file section headers more consistent with standard 2015-04-08 08:04:12 -06:00
Gregory Nutt
801d556452 EFM32: Add I2C driver. From Pierre-noel Bouteville 2015-03-14 14:47:53 -06:00
Gregory Nutt
d8a99fb73f SAMV71-XULT: Enable 64-bit floating point support 2015-03-11 12:30:14 -06:00
Gregory Nutt
521de710b8 EFM32 updates from Pierre-noel Bouteville 2015-03-08 07:12:47 -06:00
Gregory Nutt
9bcdf974a0 Add new common lazy FPU state saving option for ARMv7-M. Not yet verified 2015-03-06 08:26:43 -06:00
Gregory Nutt
429863f348 arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 17:19:38 -06:00
Gregory Nutt
56b29b00ea EFM32 USB Device: Is not basically functional with this change. From Pierre-noel Bouteville. 2015-02-16 15:45:49 -06:00
Gregory Nutt
c662563b83 Forgot to add a file in the last commit 2015-02-13 10:05:10 -06:00
Gregory Nutt
501bc15fbd RTC: Remove all backdoor interfaces from rtc.h 2015-02-13 08:41:34 -06:00
Gregory Nutt
8bac6b71ce SYSLOG: Add an option to use the syslog'ing device as the system consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville. 2015-02-08 06:53:24 -06:00
Gregory Nutt
d617384d27 EFM: Remove a misbehaving assertion. From Pierre-noel Bouteville
Also remove spaces before and after paretheses to conform to coding standard.
2015-02-03 13:34:37 -06:00
Gregory Nutt
515856c3d9 EFM32 Add support of BURTC and add possibility of debug message of RMU: Pierre-noel Bouteville 2015-02-01 06:19:53 -06:00
Gregory Nutt
0817d47964 Fix a missing quotation mark in configuration description 2015-01-30 12:28:04 -06:00
Gregory Nutt
6b900ec05c EFM32: Logic to unconditionally enable LE clocking. Even you don't use core clock LE as source for LFA or LFB, to read are write any register not clocked by HFPERCLK or HFCORECLK, HFCORECLKLE should be enabled. From Pierre-noel Bouteville. 2015-01-30 07:44:49 -06:00
Gregory Nutt
30b141e2c8 Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless 2015-01-24 06:49:51 -06:00
Gregory Nutt
e8f266001d Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane 2015-01-24 06:03:39 -06:00
Gregory Nutt
16f72b3470 Add support for the EFM32 reset management unit (RMU). From Pierre-noel Bouteville 2015-01-23 15:25:10 -06:00
Gregory Nutt
78affd0f9a EFM32 Timer/PWM: Add support for timer/PWM EFM32GG. From Pierre-noel Bouteville 2014-12-26 09:55:19 -06:00
Gregory Nutt
70f778c02b EFM32 Serial: Add support for termios TCGET and TCSET. For the moment, only set/get speed is implemetned. From Pierre-noel Bouteville 2014-11-27 19:14:10 -06:00
Gregory Nutt
2c1f018e85 More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
Gregory Nutt
8becf3c18c Various issues/bugs detected by cppcheck 2014-11-24 12:59:52 -06:00
Gregory Nutt
da160bfee9 EFM32 USART setup: Computation of BAUD includes shift; Eliminate additional shift. From Pierre-noel Bouteville 2014-11-16 07:57:57 -06:00
Gregory Nutt
025e36ba8c Cosmetic updates; updates to README 2014-11-14 09:54:00 -06:00
Gregory Nutt
a451f3b99e EFM32: Finishes USB naming fixup. Still some missing initialization logic 2014-11-14 08:36:18 -06:00
Gregory Nutt
3a4e126f2d EFM32: More USB naming updates. Still not finished 2014-11-14 07:20:13 -06:00
Gregory Nutt
d667b9072a EFM32: More USB register name corrections. Still incomplete 2014-11-13 12:25:42 -06:00
Gregory Nutt
299b4db5de EFM32: Finishes USB naming changes for device 2014-11-13 10:45:47 -06:00
Gregory Nutt
312cb6ffa0 EFM32: Tweaks to get EFM32GG-STK3700 running NSH over LEUART0 2014-11-12 12:50:09 -06:00
Gregory Nutt
e424ddbabd EFM32: More USB register name corrections. Still incomplete 2014-11-12 10:43:29 -06:00
Gregory Nutt
365afd95a6 EFM32: More USB register name corrections. Still incomplete 2014-11-12 09:46:58 -06:00
Gregory Nutt
089124ef8a EFM32: Reduce writes to the CTRL register 2014-11-09 09:43:43 -06:00
Gregory Nutt
6ea107784d EFM32: Fix issues associated with SPI bi order. From Pierre 2014-11-09 08:21:38 -06:00
Gregory Nutt
b96654347b EFM32: Fix typo in connecting ODD GPIO interrupt. Noted by Pierre 2014-11-08 06:18:21 -06:00
Gregory Nutt
ceffd2f121 EFM32 USB: More naming fixes... still does not compile 2014-11-05 14:22:12 -06:00
Gregory Nutt
a2a2af526f EFM32 USB: A few more naming conversions... still a long way to go 2014-11-04 11:48:41 -06:00
Gregory Nutt
d8bfd5a4d2 EFM32: Port USB device and host drivers from STM32. Still does not compile 2014-11-04 10:14:04 -06:00
Gregory Nutt
88dc7b3b3c EFM32: Add USB build support 2014-11-04 06:47:14 -06:00
Gregory Nutt
9051ffd638 STM32GG Starter Kit: Add basic NSH configuration 2014-11-03 16:58:22 -06:00
Gregory Nutt
811d557053 EFM32 ROM table header files 2014-11-01 13:27:36 -06:00
Gregory Nutt
3189a1acc7 EFM32: Add LESENSE header file 2014-11-01 12:56:55 -06:00
Gregory Nutt
458992ca5b EFM32: Add USB header file 2014-11-01 11:57:11 -06:00
Gregory Nutt
918a74805c ARMv7-M: ETM header file 2014-11-01 08:06:06 -06:00
Gregory Nutt
442c646955 EFTM32 ITM: Add missing ~ in bit clear operation. From pn_bouteville@yahoo.fr 2014-11-01 06:51:14 -06:00
Gregory Nutt
0f59ab369a EFM32: Add LCD header file 2014-10-31 20:25:37 -06:00
Gregory Nutt
a36bb77e05 EFM32: Add DAC header file 2014-10-31 20:05:47 -06:00
Gregory Nutt
7f3bd970d7 EFM32: Add BURTC header file 2014-10-31 13:05:00 -06:00
Gregory Nutt
61300aa12e EFM32: Add PRS signals 2014-10-31 12:30:01 -06:00
Gregory Nutt
a9fb2f78b5 EFM32: Add ADC heder file 2014-10-31 12:22:45 -06:00
Gregory Nutt
54af514ef6 EFM32: Add I2C header file 2014-10-31 12:07:57 -06:00
Gregory Nutt
ecd84c7844 EFM32: Add PRS header file 2014-10-31 11:47:40 -06:00
Gregory Nutt
4660eb6e1f EFM32: Add PCNT header file 2014-10-31 11:34:00 -06:00
Gregory Nutt
acf5cbb3dc EFM32: Add RMU header file 2014-10-31 11:17:12 -06:00
Gregory Nutt
afdf44e3c6 EFM32: Add EMU header file 2014-10-31 10:56:15 -06:00
Gregory Nutt
16c1eb924a EFM32: Add VCMP header file 2014-10-31 10:41:28 -06:00
Gregory Nutt
f4fd24acb7 EFM32: Add RTC header file 2014-10-31 10:27:52 -06:00
Gregory Nutt
b984a7c9c0 EFM32: Add AES header file 2014-10-31 10:17:48 -06:00
Gregory Nutt
f081a9ccf5 EFM32: Add watchdog header file 2014-10-31 10:02:37 -06:00
Gregory Nutt
7e661442ed EFM32: Add LETIMER header file 2014-10-31 09:54:26 -06:00
Gregory Nutt
c25f0062ce EFM32: Add ACMP header file 2014-10-31 09:38:21 -06:00
Gregory Nutt
16c9292c3e EFM32: Add timer header file 2014-10-31 09:27:15 -06:00
Gregory Nutt
6313e5dcb3 EFM32: Changes picked up from Pierre's repository 2014-10-30 18:01:46 -06:00
Gregory Nutt
692f63e3ee EFM32: In order to use LEUART, LE clocking must be enabled 2014-10-29 11:20:54 -06:00
Gregory Nutt
4ec43d1002 EFM32: Various fixes for LEUART build 2014-10-29 09:37:39 -06:00
Gregory Nutt
2ea73f760c EFM32: Minor serial interrupt mask change; Add LEUART0 board support 2014-10-29 08:04:29 -06:00
Gregory Nutt
7e697f2369 EFM32: Implement HFPERCLK logic 2014-10-28 19:46:45 -06:00
Gregory Nutt
b13b80e35f Fix a few more EFM32 integration bugs 2014-10-28 19:02:21 -06:00
Gregory Nutt
7edef0f970 EFM32: Need to configure UART GPIOs as outputs 2014-10-28 14:50:15 -06:00
Gregory Nutt
28ac9e5841 Oops... fix an error in an assertion of last commit 2014-10-28 12:42:19 -06:00
Gregory Nutt
77a622da0b EFM32: Add missing shift of register value 2014-10-28 12:36:47 -06:00
Gregory Nutt
5ab16ee550 EFM32: Fix GPIO configuration logic; Add missing board initializatin logic; Fix LED naming 2014-10-28 10:39:57 -06:00
Gregory Nutt
1e6524cac8 EFM32G: Fix typo in memory map header file 2014-10-28 09:26:06 -06:00
Gregory Nutt
3805a31473 EFM32: Correct a typo in LFXO bit in clock configuration 2014-10-28 08:59:27 -06:00
Gregory Nutt
027b7c5983 EFM32: Update a configuration; Compile fix for when DEBUG is enabled 2014-10-28 07:24:04 -06:00
Gregory Nutt
1252286845 Cosmetic... removed checks for non-existent configuration setting 2014-10-27 09:05:52 -06:00
Gregory Nutt
fe6f857f13 Cosmetic changes 2014-10-27 07:57:12 -06:00
Gregory Nutt
818f4c8675 EFM32 SPI: setfrequency() needs to return actual frequency; simplify nbits usages by removing conditional logic 2014-10-27 07:07:30 -06:00
Gregory Nutt
a6f70a00a9 EFM32 SPI: Add check to make sure that the SPI RX buffer is empty before starting a transfer 2014-10-26 13:13:53 -06:00
Gregory Nutt
82bf0558e1 EFM32 SPI: Change some logic that I fear could cause RX data overrun 2014-10-26 12:53:26 -06:00
Gregory Nutt
0100d0f6c0 EFM32: Cosmetic changes to comments and format 2014-10-26 12:48:47 -06:00
Gregory Nutt
5c03174fe4 Cosmetic update to spacing and comments 2014-10-26 11:25:47 -06:00
Gregory Nutt
30946beaf0 EFM32: Integrate SPI DMA capability 2014-10-26 11:22:16 -06:00
Gregory Nutt
cd004832d1 EFM32: Integrate Pierre's SPI driver 2014-10-26 09:27:55 -06:00