Gregory Nutt
67f0563fad
Add logic so that STM32 Ethernet drivier can avoid interrupt level processing and, instead, execute on the work thread.
2015-02-09 08:33:29 -06:00
Gregory Nutt
b2ed249b42
STM32 SPI: Clean-up asymmetric configuration of SPI6
2015-02-07 18:59:06 -06:00
Gregory Nutt
706f01b8a2
STM32 SPI: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David Sidrane.
2015-02-07 13:59:45 -06:00
Gregory Nutt
ee8d792737
Networking: Changes need to build ICMPv6 'router' configuration on STM32 with network debug enabled
2015-02-05 11:47:56 -06:00
Gregory Nutt
821ffc0b8a
STM32: Add an IPv6 configuration for the STM32F4-Discovery board (witht he STM32-DISCO_BB base board). Verify that the STM32 Ethernet driver works with IPv6.
2015-02-05 11:21:04 -06:00
Gregory Nutt
506c6c8512
ICMPv6: Add logic to behave like a router (if so configured): NuttX will not send the router advertisement message in response to any router solicitation messages.
2015-02-05 09:43:29 -06:00
Gregory Nutt
1646e643d7
Networking: Break out Ethernet definitions into a separate file; add IPv6 multicast addresses as common globals, Ethernet drivers need to filter link-local, all nodes Ethernet address
2015-02-04 14:51:20 -06:00
Gregory Nutt
f036df9faa
Minor update to Kconfig file selections
2015-02-04 08:21:32 -06:00
Gregory Nutt
011c6e0c7e
Re-arrange condition logic from the last change to avoid having STM32-specific conditional logic outside of the STM32 sandbox.
2015-02-04 07:24:19 -06:00
Gregory Nutt
2393a074e5
STM32: Add driver for STM32L162XX AES peripheral. Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-02-04 06:49:05 -06:00
Gregory Nutt
523b12c624
Recent changes to stm32_rtcc.c do not compile with STM32L15XX configurations. From Jussi Kivilinna.
2015-01-27 09:20:42 -06:00
Gregory Nutt
2ce16c8fda
Disabling any of EXTI 5-9 interrupts was disabling interrupts for all EXTI 5-9. Same issue with EXTI 10-15. From Jussi Kivilinna.
2015-01-27 09:15:43 -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
b3db229b77
STM32 Ethernet: Port IPv6 address filtering from the Tiva TM4C driver
2015-01-21 15:04:39 -06:00
Gregory Nutt
9588b0e7a7
All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called
2015-01-21 11:36:33 -06:00
Gregory Nutt
723b7fc430
Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address.
2015-01-20 15:52:25 -06:00
Gregory Nutt
f6063c3896
Networking: Add missing raw/packet socket support to all Ethernet drivers
2015-01-20 15:14:29 -06:00
Gregory Nutt
07132f462f
Ethernet drivers: Use IFF_IS_IPv4 macro. Cannot rely on the EtherType being set correctly.
2015-01-20 06:26:14 -06:00
Gregory Nutt
3aafa0b93d
nuttx/arch/arm/src/stm32/stm32_serial.c: fix declaration and definition of up_receive() and up_dma_receive() to match fields of uart_ops_s from nuttx/include/nuttx/serial/serial.h
2015-01-19 06:42:27 -06:00
Gregory Nutt
ac69e11a5f
Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received
2015-01-15 09:31:23 -06:00
Gregory Nutt
836a8b1625
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
6bc54c3541
Networking: Condition certain ARP logic on CONFIG_NET_ARP in all Ethernet drivers
2015-01-15 07:07:39 -06:00
Gregory Nutt
1193b4aa55
STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE
2015-01-08 17:47:34 -06:00
Gregory Nutt
1ace391fcf
MMCSD SDIO: Add support for a new SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait loop to pool the card R1 start to determine when the card was ready for the next transfer. That busy-wait can be quite long -- hundreds of milliseconds. And alternative is to look the the SD D0 pin which will change state when the card is no longer busy.
...
This logic implements a change the avoids the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt, then waiting for the card to becom ready without taking up CPU cycles.
This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE and is currenlty only implemented for the STM32 SDIO driver.
From David Sidrane
2015-01-08 06:23:42 -06:00
Gregory Nutt
a97d304d1a
STM32 RTC: Add Kconfig options needed with the preceding commit
2015-01-02 06:45:45 -06:00
Gregory Nutt
7b89f64b37
stm32-rtc: Add support for the internal low speed clock (LSI)
...
Some boards do not have the external 32khz oscillator installed, for those boards we must fallback to the crummy to the crummy internal RC clock. Turn on by defining CONFIG_RTC_LSICLOCK.
From Kevin Hester <kevinh@geeksville.com> via Lorenz Meier.
2015-01-02 06:32:40 -06:00
Gregory Nutt
a0727124c2
stm32: update description and code documentation. Also fixes a few code formattings.
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-29 09:59:46 -06:00
Gregory Nutt
1a27614552
stm32: fix wait upon vertical blank. This should never have occurred before.
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-29 09:48:25 -06:00
Gregory Nutt
171c017a0c
stm32: fix faulty access to non existing layer. This disables operation that requires double layer support, when configured for single layer only.
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-29 09:45:30 -06:00
Gregory Nutt
59c6f42be4
STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David Sidrane
2014-12-27 18:58:18 -06:00
Gregory Nutt
d597e94332
Remove STM32-specific RX flow control logic from the upper level serial driver to the lower level STM32 serial driver
2014-12-27 09:45:45 -06:00
Gregory Nutt
405d72c1ad
Serial Upper Half: Add watermarks to RX flow control logic
2014-12-27 07:43:06 -06:00
Gregory Nutt
214183ff93
STM32: Fix some incorrectly placed conditional logic
2014-12-26 12:41:35 -06:00
Gregory Nutt
570943bd71
STM32 I2C: Add strings to decode trace events. From David Sidrane
2014-12-26 08:35:21 -06:00
Gregory Nutt
831167f806
Add support for run time stack checking for the STM32. From David Sidrane
2014-12-26 08:30:42 -06:00
Gregory Nutt
16a302e732
STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; Trivial updates after general review
2014-12-19 14:52:17 -06:00
Gregory Nutt
44d72c6545
stm32: Add configuration option for ltdc
...
This adds the following ltdc configuration options:
- dither support
- cmap support, is this the right place for CONFIG_FB_CMAP?
- support for extended ltdc interface
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:58:39 -06:00
Gregory Nutt
193edfb7be
stm32: implements ltdc frambuffer and support for ltdc layer operation
...
This implements the framebuffer support for the generic nuttx framebuffer
interface, (see nuttx/video/fb.h)
This also implements the interface to perform hardware accelerated layer
operation by the ltdc controller and dma2d controller later (see
nuttx/video/ltdc.h).
The following methods are supported by the ltdc interface:
- getvideoinfo
Get video information of the layer
- getplaneinfo
Get plane information of the layer
- getlid
Handle specific layer identifier. This allows to detect to current layer
state (e.g. important for layer flipping)
- setclut
Set the layer color lookup table. Up to 256 color entries supported.
- getclut
Get the layer color lookup table
- setcolor
Set the default layer color. In the context of the ltdc layer this means set
the default color outside the active area or if the layer is disabled.
- getcolor
Get the default layer color
- setcolorkey
Set the layer colorkey (chromakey). Colorkey is enabled by blendmode
LTDC_BLEND_COLORKEY
- getcolorkey
Get the layer colorkey
- setalpha
Set the constant alpha value. If blend mode LTDC_BLEND_SRCPIXELALPHA or
LTDC_BLEND_DESTPIXELALPHA is defined than the blended color is calculated
by the formel:
Cdest = Pixelalpha * Constalpha * Csrc.
Otherwise:
Cest = Constalpha * Csrc
- getalpha
get the alpha value
- setblendmode
Set the layer blendmode.
Supported blendmodes:
non blendmode (do not perform blend operation independent on the layers
alpha and colorkey)
alpha alpha blending (transparency)
destpixelalpha use pixel alpha value for the top layer (Layer2)
srcpixelalpha use pixel alpha value for the subjacent layer (Layer1)
colorkey enable colorkey
- getblendmode
Get the layer blendmode
- setarea
Set the active layer area, the visible rectangle inside the whole layer.
This also allows to change the position of the whole layer which is visible in
the selected area independent on the area position.
- getarea
Get the active layer area
- update
Reload the layer shadow register and make changes visible. Also supports
layer flipping.
Note! Dithering and background color are static parameter and can only changed
at build time.
Implementation details:
The implementation of ltdc interface was inspired by SDL and DirectFB.
All layer settings are shadowed before they become active (except setclut).
They are still inactive until the layer is updated. This is done by the update
method. Should clut only active after an update or not? Clut is used for drawing
while the other settings usually used for blend or blit operations. So i think
this should be the right way.
The implementation of ltdc interface was inspired by SDL and DirectFB.
All layer settings shadowed before they become active (except clut).
They are still inactive until the layer is updated. This is done by the update
call. Should clut only activated after an update or not? Clut is used for draw
operation while the other settings usually used for blend or blit operations.
So i think this should be the right way.
Deviations from the ltdc hardware implementation:
- Shadow register update of both layer (Layer1 or Layer2) is independent as long
LTDC_UPDATE_SIM is not set. This flag allows to update both layer simultaneous.
Otherwise only the desired layer is updated.
Layer operation:
Keep in mind, both layer are allways active (of course if both enabled by the
configuration). First the Layer 1 is blended with the background color and the
result is blended with the Layer2. To avoid blend effects, set the Layer2 in non
blend mode. This is equal to blend with alpha = 255. Enable blending of Layer2
with the background color by enable blending of Layer1 and disable the opacity
by setting the alpha value to 0.
Layer flip:
A layer flip usual mean swapping two framebuffer. So the current inactive buffer
can refreshed with data while the active framebuffer is visible. A flip
operation changes the inactive layer to the active one and vice versa.
The ltdc implementation supports layer flip. This can be done by the update call
and the flag LTDC_UPDATE_FLIP. In this case ltdc makes the inactive layer
invisible. In detail, the inactive layer is disabled and the blendmode reset.
Detection of the current layer state (e.g. active or inactive) is supported
by the getlid method combined with one of the LTDC_LAYER_* flags.
Maybe an additional method "flip" for flip operation should be added to the ltdc
interface? But this make no sence from my view if the layer is a non LTDC layer,
e.g. playing with dma2d only.
Supported and tested nuttx pixel formats:
Single Layer without LTDC interface support:
- FB_FMT_RGB8 (cmap support required)
- FB_FMT_RGB16_565
- FB_FMT_RGB24
Single Layer with LTDC interface support:
- FB_FMT_RGB8 (cmap support required)
- FB_FMT_RGB16_565
- FB_FMT_RGB24
Dual Layer with LTDC interface support:
- FB_FMT_RGB8 (cmap support required)
- FB_FMT_RGB16_565
- FB_FMT_RGB24
Why is FB_FMT_ARGB8888 missing?
Changes:
- Remove unused register debug method.
Todo:
- Add support for backlight, currently not neccessary
Did i forgot something? Take a look in the ltdc example or the interface
description (see nuttx/include/video/ltdc.h).
Thanks to Ken for the base layout. ;)
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:48:53 -06:00
Gregory Nutt
83d87e5ef7
stm32: Add infrastructure for dma2d support
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:41:08 -06:00
Gregory Nutt
060a61dfac
stm32: Add common stm32 layer description. This defines a common layer description for the ltdc and dma2d controller.
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:37:08 -06:00
Gregory Nutt
df31cf1db8
stm32: configure PLLSAI clock to enable ltdc register access
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:30:58 -06:00
Gregory Nutt
3385fe60cf
stm32: Add missing clut register definition
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:28:42 -06:00
Gregory Nutt
e9074c8a44
stm32: rename CFBLR register name to the name used in the reference manual
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:26:04 -06:00
Gregory Nutt
f181dcef29
stm32: rename PLLSAI register name to this one in the reference manual
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:21:39 -06:00
Gregory Nutt
f284c5cab2
Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
2014-12-16 09:54:32 -06:00
Gregory Nutt
a574a3cc8a
STM32 LTDC: Fix a typo in conditional compilation
2014-12-13 07:45:42 -06:00
Gregory Nutt
f8592281a7
STM32 OTG HS DEV (in FS mode): Disable ULPI clock enable in RCC AHB1 Register. If Both ULPI and the FS clock enable bits are set in FS mode, then the ARM never awakens froom WFI due to a chip issue. From Ken Pettit
2014-12-13 07:44:13 -06:00
Gregory Nutt
dd3d417aed
STM32 OTGHS Device: Fix for OTGHS core working in FS mode. From Ken Pettit
2014-12-12 07:43:32 -06:00
Gregory Nutt
cb9e3c2bb9
Set the GPIO_SPEED_50MHz on all F2 and F4 SPI pin configurations. This is based on an F411 SPI1 errata but the fixed is generalized to all SPI and all F2 and F4 (let me know if this introduces any other issues). Discovered and fixed by Sebastien Lorquet after much consternation.
2014-12-08 09:51:52 -06:00
Gregory Nutt
6d7106424e
STM32: Add MCO configuration for the STM32L1xx. From Jussi Kivilinna
2014-12-02 10:19:37 -06:00
Gregory Nutt
13de352dcd
STM32L15: Fix typo in MCO pin definition. From Jussi Kivilinna
2014-12-02 10:18:02 -06:00
Gregory Nutt
f94052de26
Update comments
2014-11-29 15:28:28 -06:00
Gregory Nutt
eace825e3b
STM32 F4 I2C: Port Tridge's I2C noise resiliance logic from the PX4 repository.
2014-11-29 13:37:45 -06:00
Gregory Nutt
0d50608eae
Fix one warning. There are a couple of others that look like real problems
2014-11-28 11:49:24 -06:00
Gregory Nutt
3d55cd82ee
Forgot too add file before last commit
2014-11-27 06:14:09 -06:00
Gregory Nutt
0ad88d9664
Enable support for STM32F102. https://github.com/PX4/NuttX/pull/28.diff
2014-11-27 06:12:35 -06:00
Gregory Nutt
727a7c9e40
Fixes for more issues found by cppcheck
2014-11-24 17:00:26 -06:00
Gregory Nutt
184ebdf191
STM32 F4 OTGHS device controller driver from Brennan Ashton
2014-11-20 07:19:04 -06:00
Gregory Nutt
2330c9c842
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all MCU Ethernet drivers
2014-11-16 08:10:06 -06:00
Gregory Nutt
bf984b2b3a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
e69e2767ad
Correct a typo in the STM32 OTGFS register bit definitions
2014-11-13 10:43:54 -06:00
Gregory Nutt
dc16ffe11a
Fix a typo in an I2C header file. From Jahu Niskanen
2014-11-11 07:12:16 -06:00
Gregory Nutt
c65372b80c
Support for the STM32F103RG. From Murilo Ponte
2014-11-10 07:48:46 -06:00
Gregory Nutt
5ebc472f43
STM32 Serial: Don't compile up_earlyserialinit() if USE_EARLYSERIALINIT is not define. Otherwise, a macro definition clobbers the function definition
2014-10-28 06:58:37 -06:00
Gregory Nutt
60d2547cd7
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
800826ac64
Add framework for EFM32 DMA support -- no logic in place yet
2014-10-24 17:59:13 -06:00
Gregory Nutt
2763da5ddd
EFM32: Add IDLE power management hooks. Nothing implemented; just define the hooks
2014-10-22 07:26:31 -06:00
Gregory Nutt
94270a0229
Add ADC pinmap definitions for the STM32 F103R from Lederhilger Martin
2014-10-21 06:48:16 -06:00
Gregory Nutt
d2cf8395f9
stm32: rename spi frame format definition
...
This renames the stm32 spi frame format definition to the short description
name as well as the other cr2 register flags.
Note! STM32_SPI3_FRF was never used by nuttx somewhere
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:12:59 -06:00
Gregory Nutt
0aea891272
Enable selection of SPI2 for STM32L15XX in Kconfig. From Jussi Kivilinna
2014-10-16 07:03:23 -06:00
Gregory Nutt
26b42e3f57
Minor update to last Kconfig change
2014-10-15 12:33:37 -06:00
Gregory Nutt
e73b64f5ea
Add Kconfig selections for STM32-F4x1RE SPI peripheral
2014-10-15 12:22:04 -06:00
Gregory Nutt
a835387529
Fix file mode on modified files
2014-10-14 15:45:56 -06:00
Gregory Nutt
56841b9e20
Support for the STM32 F411RE from Serg Podtynnyi
2014-10-14 15:42:28 -06:00
Gregory Nutt
7012d13e95
Cosmetic changes to comments
2014-10-10 16:54:47 -06:00
Gregory Nutt
85c75a39b0
Fix a few typos
2014-10-10 11:41:40 -06:00
Gregory Nutt
abc90f0e50
Fix watchdog stop bit usage. From Lazlo
2014-10-10 11:36:50 -06:00
Gregory Nutt
1b1daeb7ef
Correct STM32 RTC EXTI bit definition. From Lazlo
2014-10-09 06:25:07 -06:00
Gregory Nutt
db9901e2f9
Update everything under nuttx/arch to use the corrected syslog interfaces
2014-10-08 12:48:47 -06:00
Gregory Nutt
6ab29cbef9
Remove non-functional vestiges of OTGHS in FS mode (including OTGFS2); try to convert the stm32f429i-disco configuration to use OTGHS instead of OTFHS in FS mode (OTGFS2). But I don't have the boards and can't test
2014-10-07 15:25:31 -06:00
Gregory Nutt
6023219078
Integrates OTGHS support into the STM32; Eliminates the older OTGHS in FS mode logic. From Brennan Ashton
2014-10-07 15:05:30 -06:00
Gregory Nutt
362736b377
Add files that implement true high speed support for the STM32 OTGHS peripheral. From Brennan Ashton
2014-10-07 15:01:42 -06:00
Gregory Nutt
7e9c8b5926
STM32 CAN correction suggested by Max Holtzberg
2014-09-24 08:23:05 -06:00
Gregory Nutt
238e18cc0a
Move include/nuttx/mm.h to include/nuttx/mm/mm.h
2014-09-24 07:29:09 -06:00
Gregory Nutt
1ca6adadfa
More naming changes to get the stm3240g-eval/nxterm configuration building again
2014-09-20 15:53:28 -06:00
Gregory Nutt
52a1f19023
Fixes to avoid some hang conditions using STM32 CAN
2014-09-17 08:35:03 -06:00
Gregory Nutt
442d2adb7a
Fix for UART7 and UART8 on STM32 clock enable from Aton
2014-09-11 10:27:40 -06:00
Gregory Nutt
31b8137956
There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
2014-09-01 15:39:34 -06:00
Gregory Nutt
ec086adfae
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
10ca085b09
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
fcd7b9336e
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
10aa9ad087
Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported
2014-08-31 10:54:55 -06:00
Gregory Nutt
729bc9f9a7
Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot)
2014-08-29 16:23:46 -06:00
Gregory Nutt
e11679acf8
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
9be4972862
STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin
2014-08-28 09:11:20 -06:00
Gregory Nutt
01566dd322
STM32 serial: MAke uart_devs[] const. From Freddie Chopin
2014-08-22 16:20:52 -06:00
Gregory Nutt
52b3735310
Recent STM32 UART change: Wasn't that logic backward? Shouldn't that have been disable the USART if (1) we don't have than many USARTs OR (2) we don't have that particular USART -- not AND.
2014-08-22 16:16:23 -06:00
Gregory Nutt
033de28cfa
STM32 F401: Correct support for USART6 on this chip. From Freddie Chopin
2014-08-22 06:49:16 -06:00
Gregory Nutt
2bc16b2ba5
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
754541a381
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
2014-08-17 16:51:56 -06:00
Gregory Nutt
2fab4eaa5a
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
2014-08-17 13:03:18 -06:00
Gregory Nutt
4c90c03028
Use the device name assigned by the registration process, not our best guess
2014-08-16 15:14:39 -06:00
Gregory Nutt
8f6f564971
More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic
2014-08-16 15:04:09 -06:00
Gregory Nutt
85070e057e
Modified to support the change to the network ioctl signature changes. Also add support for new ioctl to setup PHY event notifications.
2014-08-16 14:08:58 -06:00
Gregory Nutt
6455f60c60
Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
2014-08-08 18:39:28 -06:00
Gregory Nutt
4dc151097e
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
2014-08-08 17:53:55 -06:00
Gregory Nutt
1c99d53bb1
Move clock functions from sched/ to sched/clock
2014-08-08 14:43:02 -06:00
Gregory Nutt
39183d37b8
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
2014-08-07 18:00:38 -06:00
Gregory Nutt
594083d870
Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined.
2014-08-06 16:26:01 -06:00
Gregory Nutt
d57c3b4e82
Update ChangeLog
2014-07-22 07:25:01 -06:00
Gregory Nutt
45c03e5a1a
STM32 OTGFS device: Various changes to try to reduce that amount of time in interrupts handles and with interrupts disbled. Needs verification on other platforms. From Petteri Aimonen
2014-07-22 07:23:17 -06:00
Gregory Nutt
615b7d6c7a
Fix typos in the STM32 DAC header file. From Petteri Aimonen
2014-07-22 07:13:33 -06:00
Gregory Nutt
d7fe256821
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
99ce3a44d7
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
11e3a21411
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
68f83f973e
CCM PROCFS: Changed the configuration a bit. I am still not happy about the coupling between procfs, mtd, and now STM32
2014-07-03 08:50:24 -06:00
Gregory Nutt
954048b8e9
Add STM32 CCM heep procfs
2014-07-03 08:18:24 -06:00
Gregory Nutt
313982ba18
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
621ec21bfd
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
ade8807a61
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
3010eddf11
STM32: Add configuration support fort he STM32F103RC. From Kosma Moczek
2014-06-30 08:16:17 -06:00
Gregory Nutt
ed02593af7
STM32: Reorder MCUs in choice menu; remove duplicates. From Kosma Moczek
2014-06-30 08:13:12 -06:00
Gregory Nutt
48e6f0ba78
STM32: Move temperature ranges from chip selection configuration prompts. From Kosma Moczek
2014-06-30 08:09:19 -06:00
Gregory Nutt
bfff6190d0
Unconfigure GPIO pins when closing a serial port to prevent back effects from back-powering on the TX pin. From Kosma Moczek
2014-06-30 08:02:26 -06:00
Gregory Nutt
a095b1b260
Make variable definitions 'static const' when possible to save RAM usage. From Kosma Moczek
2014-06-30 07:39:51 -06:00
Gregory Nutt
e4990dda4d
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
f8e5e82402
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
fd7b06c68e
STM32 I2C reset. Add missing GPIO configuration. From Alex D
2014-06-25 16:08:31 -06:00
Gregory Nutt
ff97ad1245
Clean-up packet socket naming
2014-06-25 10:34:52 -06:00
Gregory Nutt
57383ea2f3
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
11896e1481
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
b34a1f1e01
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
a2cb59cab8
First check-in of Lazlo's PF_PACKET 'raw' socket implementation
2014-06-12 11:52:06 -06:00
Gregory Nutt
a23245781a
STM32: Handle setting of USART CR1_M when 8 bits of data plus parity
2014-06-11 15:49:54 -06:00
Gregory Nutt
348e666278
STM32: Expicitly include header file files. From Freddie Chopin
2014-06-10 15:49:48 -06:00
Gregory Nutt
407e72b300
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
b3abd30a76
Cosmetic changes
2014-05-28 14:09:58 -06:00
Gregory Nutt
3feabec7d5
STM32 RTC: Add retry to initialization logic. Sometime RTC initialization takes longer. From dlsitzer.
2014-05-27 07:10:53 -06:00
Gregory Nutt
c68f9477cf
Back out PX4 fixes that were reverted in PX4 repository
2014-05-25 07:53:00 -06:00
Gregory Nutt
5d3479bbec
STM32 I2C: Final fixes from Max Kriegleder et al.
2014-05-23 08:42:14 -06:00
Gregory Nutt
bac1ab9a34
Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith
2014-05-20 17:48:39 -06:00
Gregory Nutt
d2e1d8f6ee
STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen
2014-05-20 08:12:07 -06:00
Gregory Nutt
947f31f5a9
SAM4E-EK: Ooops.. two touchscreen drivers(?)
2014-05-14 10:56:03 -06:00
Gregory Nutt
5258e8d9e7
Fix one error that I made in the last check-in (there are probably more)
2014-05-14 08:09:08 -06:00
Gregory Nutt
fb774d677c
Add an alternate STM32 I2C driver that works around errata in the F103 chip (and maybe others). From Patrizio Simona
2014-05-14 07:48:47 -06:00
Gregory Nutt
5d35f07278
STM32 I2C: Cosmetic changes in preparation to merge a change
2014-05-13 13:11:10 -06:00
Gregory Nutt
d9a20861a6
Updated README and comments
2014-05-10 11:36:20 -06:00
Gregory Nutt
fa7c79712e
STM32 I2C: Bring in PX4 fix for I2C in very high noise environments or with rogue perpipherals. Taken from the PX4 commit by Tridge
2014-05-10 10:34:05 -06:00
Gregory Nutt
308d0dbe06
Couple of fixes for the latest STM32 additions / modifications. These are simple fixes dealing with conditional compile based on CONFIG items not being set. From Ken Pettit
2014-05-09 06:41:01 -06:00
Gregory Nutt
02bb1d69b8
Add support for the STM32152 and STM32162 Medium+ density parts (plus miscellaneous other improvements to the original STM32151 logic). From Jussi Kivilinna and Sami Pelkonen
2014-05-08 09:20:11 -06:00
Gregory Nutt
af2bb81ac2
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
2014-05-08 09:00:33 -06:00
Gregory Nutt
1cc859405e
STM32: Rename pinmap.h files to better reflect the chip naming conventions
2014-05-07 13:05:12 -06:00
Gregory Nutt
6e9df4d5ab
STM32: Fix STM32F100CB pin configuration (from Kosma Moczek); and make chip naming a little more consistent
2014-05-07 12:54:27 -06:00
Gregory Nutt
a1871c7045
STM32: Add more complication to STM32 Kconfig so the correct RNG and ETHMAC options presented for the F401RE. There are still invalid peripheral options being presented
2014-05-06 11:35:13 -06:00
Gregory Nutt
ca31e38f7b
Nucleo-F401RE: With these changes and the changes from previous commits, the basic Nucleo-F401RE NSH configuration is working.
2014-05-06 11:07:10 -06:00
Gregory Nutt
acd40e73aa
The Nucleo-F401RE has no on-board cystal and, hence, must use the on-chip HSI oscillator for the PLL include clock
2014-05-06 10:01:02 -06:00
Gregory Nutt
bfa9df89e2
STM32: Add more complication to STM32 Kconfig so the correct ADC and CAN options presented for the F401RE. There are still invalid peripheral options being presented
2014-05-06 08:32:21 -06:00
Gregory Nutt
27d3a4962a
STM32: Add some complication to STM32 Kconfig so the correct USART and TIM options are presented for the F401RE. There are still invalid peripheral options being presented
2014-05-05 17:59:07 -06:00
Gregory Nutt
449ad68fa1
Correct some typos in STM32 RCC header files noted by Ramtin Amin
2014-05-05 07:23:26 -06:00
Gregory Nutt
42432ab1d0
STM32 F401 has no CCM memory
2014-04-30 16:49:39 -06:00
Gregory Nutt
d7b261eb46
Fix configuration for F401: It has has FSMC and so the option should not be offered. But there are many more options available for the F401 that should be availalbe: CAN, nonexistent timers, etc. These will all need to be addressed
2014-04-30 16:12:36 -06:00
Gregory Nutt
8be212ccc3
Nucleo-F401RE: Fix memory usage
2014-04-30 08:20:30 -06:00
Gregory Nutt
de7136e69b
STM32: More places where up_prioritize_irq is called when CONFIG_ARCH_IRQPRIO is not defined. Sourceforge ticket #26
2014-04-28 07:07:47 -06:00
Gregory Nutt
1745e978fb
Sourceforge ticket #26 : STM32 up_prioritize_irq should not be called if CONFIG_ARCH_IRQPRIO is not defined
2014-04-25 16:23:00 -06:00
Gregory Nutt
0bf091f2a0
STM32 dmapreflight method must be conditioned on CONFIG_SDIO_PREFLIGHT. From Pelle Windestam
2014-04-25 07:22:14 -06:00
Gregory Nutt
9bd0102aae
Nucleo F401RE: Remove PX4 cruft that can in with the port
2014-04-22 12:18:08 -06:00
Gregory Nutt
162662a290
Add support for the STM32F041RE and for the Nucleo-F401RE board. From Frank Bennett
2014-04-20 13:42:23 -06:00
Gregory Nutt
235de5c573
ST32: Make selection of SDIO interrupt priority essentially impossible
2014-04-19 08:05:49 -06:00
Gregory Nutt
a61c58d50a
STM32 OTGFS Host: If OTGFS_HCCHAR_ODDFRM is not goint to be set, then it should be cleared
2014-04-17 11:16:58 -06:00
Gregory Nutt
6492446ac8
STM32 OTGFS Host: Changes from Leo for low-speed devices and interrupt endpoints
2014-04-17 10:52:27 -06:00
Gregory Nutt
edc022ff1a
Costmetic: Replace spaces with tabs
2014-04-16 16:26:46 -06:00
Gregory Nutt
cb802b02e1
STM32 OTGFS Host: Additional trace points from Leo
2014-04-16 12:56:21 -06:00
Gregory Nutt
b4f11306d3
STM32 F2: Fix SPI2 MOSI pin mapping. From dlsitzer
2014-04-16 12:35:33 -06:00
Gregory Nutt
e26466e6e4
Updates to the STM32 OTGFS host logic from Leo
2014-04-15 08:49:33 -06:00
Gregory Nutt
d4fc5ec41c
examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function
2014-04-14 12:26:49 -06:00
Gregory Nutt
25d4ff745b
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
c708eff608
Make sure that there is one space after for
2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964
Make sure that there is one space between while and condition
2014-04-12 13:09:48 -06:00
Gregory Nutt
eee82879cb
Make sure that there is one space between if and condition
2014-04-12 12:53:19 -06:00
Gregory Nutt
65c6c071ff
STM32 OTF FS host: Use of OTGFX_VTRACEn_ macros must match use of usbhost_tracen() interface
2014-04-12 10:09:37 -06:00
Gregory Nutt
bc144ad5d0
STM32 OTG FS Hose and others: Remove some warnings
2014-04-12 09:58:23 -06:00
Gregory Nutt
7bf7d8ebf6
STM32 OTGFS Host: Fix a logic error introduced in the last check-in
2014-04-12 09:33:52 -06:00
Gregory Nutt
aefb741a6a
STM32 OTGFS: Host USB tracing instrumentation added by Leo
2014-04-12 08:44:22 -06:00
Gregory Nutt
eddfa4222f
STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn
2014-03-24 09:32:48 -06:00
Gregory Nutt
c99476c950
configs/stm32f4discovery/pm: Configuration converted to use the kconfig-frontends tools
2014-03-04 08:58:01 -06:00
Gregory Nutt
c8757cb0e6
STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane
2014-02-18 13:50:46 -06:00
Gregory Nutt
a916f2a008
STM32 SPI: Disable SPI before modifying CR1
2014-02-18 13:42:20 -06:00
Gregory Nutt
0c19cc2c13
More STM32F429 Discovery FPU-related changes from David Alessio
2014-02-18 12:07:17 -06:00
Gregory Nutt
4ea8d21fcc
STM32 serial: Fix clone typo.. FLOWCONROL vs FLOWCONTROL
2014-02-14 09:09:56 -06:00
Gregory Nutt
b3792fcd86
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
a26b03d0d0
rename up_led*() functions to board_led_*()
2014-01-24 14:28:49 -06:00
Gregory Nutt
1061e67f14
Fix error in last ARMv7-M up_disable_irq checkin
2014-01-15 15:26:32 -06:00
Gregory Nutt
e43f86071d
Fix all Cortex-M3/4 implementations of up_disable_irq(). They were doing nothing. Thanks to Manuel Stühn for the tip.
2014-01-15 09:56:30 -06:00
Gregory Nutt
4de5e40669
Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation
2014-01-15 08:09:19 -06:00
Gregory Nutt
dd4e64d9f3
Changes to get PX4 config to build. Also some warning removal
2014-01-14 13:30:22 -06:00
Gregory Nutt
b4a577a49e
Add support for the XPT2046 touchscreen controller on the Viewtool LCD module
2014-01-09 10:57:17 -06:00
Gregory Nutt
162e240ed3
Fix STM32F103VE SPI3 definitions; Fix bug introduced in recent NX reorganization. From Steve Redler IV
2014-01-08 16:44:11 -06:00
Gregory Nutt
e83bd3e961
Viewtools STM32F103: Add SSD1289 LCD support
2014-01-05 14:14:59 -06:00
Gregory Nutt
b1d61b4e82
STM32: Single wire UART support from Thomas Grubler
2014-01-02 07:56:46 -06:00
Gregory Nutt
543c16de75
Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb
2013-12-27 11:15:18 -06:00
Gregory Nutt
2d92d7825d
STM32F107 OTG FS clock presecaler cannot be configurated after the USB clock is enabled
2013-12-26 10:45:21 -06:00
Gregory Nutt
515fad9616
Add support for STM32F107 OTG FS (doesn't work) and update USB support for Viewtools STM32F107~
2013-12-26 09:22:37 -06:00
Gregory Nutt
8660aed4a9
F103VC, F105, and F107: Fix configuration and building of USB. configs/viewtools-stm32f107: Fix build for F103 and F107: F103 has USB device; F107 has OTGFS
2013-12-25 18:34:15 -06:00
Gregory Nutt
4100de6648
Fix a duplicate label introduce in recent commit
2013-12-23 14:29:25 -06:00
Gregory Nutt
9c2c1e8589
Need to protect state on stack to do nested interrupt handling
2013-12-23 14:11:32 -06:00
Gregory Nutt
29c43b0b24
Fixes a few more high priority, nested interrupt logic
2013-12-23 11:13:56 -06:00
Gregory Nutt
1705b3f894
Fix some missing parameters in macros
2013-12-22 16:29:36 -06:00
Gregory Nutt
e73291a8ea
Finish the high priority, nested interrupt handler test (does not work)
2013-12-22 13:23:57 -06:00
Gregory Nutt
eaed4c04a2
Finishes coding of ARMv7-M high priority nested interrupt logic. Still undocumented; still not fully tested
2013-12-21 15:05:48 -06:00
Gregory Nutt
3855ce04e8
Beginning of high priority nested interrupt support for the ARMv7-M family
2013-12-21 11:03:38 -06:00
Gregory Nutt
f3198d5812
Cosmetic: Changlog and update to comments
2013-12-20 16:24:22 -06:00
Gregory Nutt
b4144e21d6
Move include/nuttx/fb.h to include/nuttx/video/fb.h
2013-12-10 09:23:54 -06:00
Gregory Nutt
d01808c603
LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks
2013-12-05 10:37:55 -06:00
Gregory Nutt
cdaa0b9671
ViewTool STM32F107: Basic NSH checks out okay
2013-12-01 10:05:40 -06:00
Gregory Nutt
ec3397dde6
STM32 F4: Add support for GPIOK and GPIOJ. From Ken Pettit
2013-11-28 08:13:59 -06:00
Gregory Nutt
2036f600d7
STM32 CAN: Options for TSEG1 and TSEG2 quanta missing from Kconfig file
2013-11-14 08:29:36 -06:00
Gregory Nutt
5032829f9a
STM32F429 LTDC header files and framebuffer driver framework from Ken Pettit
2013-11-11 14:05:29 -06:00
Gregory Nutt
fe800abc58
STM32 OTG FS device and host drivers extended so that they can support either the OTG FS peripheral or the OTG HS peripheral (in FS mode). This was done as a quick way to get USB support on the STM32F429 which has only OTG HS. From Ken Pettit
2013-11-10 07:23:06 -06:00
Gregory Nutt
38b981e50c
Back out a small part of the recent STM32 usbdev fix. From David Sidrane
2013-11-07 19:07:16 -06:00
Gregory Nutt
3e2240331d
STM32 F1 USB: Fix OUT SETUP command bug. From David Sidrane
2013-11-07 17:25:05 -06:00
Gregory Nutt
893f36c061
Support for the STM32F429 from Ken Pettit
2013-11-07 16:47:43 -06:00
Gregory Nutt
231a43bd8d
SAMA5 PWM: Driver now in build and configuration system
2013-11-06 12:24:51 -06:00
Gregory Nutt
6be2a979ef
STM32 F1 USB device: Fix handling of EP0 start for large buffers; Add support for decoded USB trace strings. From Davice Sidrane
2013-11-05 08:56:06 -06:00
Gregory Nutt
a652c6fe42
Fixing typos from previous check-ins. Also, missed the ARMv7 IDLE stack coloration
2013-11-01 16:06:43 -06:00
Gregory Nutt
04de5c4452
Port IDLE/interrupt stack coloration to ARM and ARMv7-A architectures
2013-11-01 15:30:18 -06:00
Gregory Nutt
b8085906b9
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
2013-11-01 11:16:51 -06:00
Gregory Nutt
cfcd3cc74b
arch/arm/src/stm32/stm32_usbdev.c: On a failure to bind the class driver, the driver reference was being nullified too soon. This caused an exception in usbdev_reset() later. The driver reference will be null
...
ified later usbdev_unregister when the caller gets the error. From David Sidrane
2013-10-31 15:27:52 -06:00
Gregory Nutt
848349bbd7
STM32 SPI DMA: Fix related to CONFIG_STM32_DMACAPABLE from Ken Pettit
2013-10-27 16:23:44 -06:00
Gregory Nutt
9f5b9c20fe
STM32 PWM and ADC: Add some bits that should have been cleared. From Martin Lederhilger
2013-10-24 08:27:09 -06:00
Gregory Nutt
eb648c585b
Add support for the STM32F207ZE chip. From Martin Lederhilger
2013-10-24 08:25:05 -06:00
Gregory Nutt
7692af99b6
STM32 F1 DAM fix from David Sidrane
2013-10-23 14:05:26 -06:00
Gregory Nutt
b661ba3e2a
STM32 DMA Priority: Select the correct default for F1 and other family members
2013-10-18 14:13:53 -06:00
Gregory Nutt
5c3f7f118c
Add SDIO preflight method
2013-10-18 08:15:09 -06:00
Gregory Nutt
fd468d219f
Changes to stm32_dmacapable interfaces from Mike Smith
2013-10-18 08:06:23 -06:00
Gregory Nutt
0c44715f07
STM32 DMA priority corrections from Mike Smith
2013-10-18 07:37:24 -06:00
Gregory Nutt
cda1fd00c7
Typo fixes for UART7 and UART8 DMA configs. From Mike Smith
2013-10-18 07:17:55 -06:00
Gregory Nutt
8924101566
STM32 F103C: Correct some errors in pinmapping. From David Sidrane
2013-10-16 07:26:41 -06:00
Gregory Nutt
b885459624
Add framework for Spark Core board support. The initial commit is a clone of the Maple Mini and still needs Spark customizations
2013-10-02 08:24:46 -06:00
Gregory Nutt
ea4c8bbf68
Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled
2013-09-25 11:50:31 -06:00
Gregory Nutt
2c63995099
SAMA5 EMAC: Resolve issues with DUAL PHY support needed for both EMAC and GMAC peripherals. EMAC driver is now code complete and builds without complaint
2013-09-17 10:55:13 -06:00
Gregory Nutt
64825db9c2
STM32: Support for the LeafLabs Maple and Maple Mini boards. From Librae
2013-09-13 12:45:33 -06:00
Gregory Nutt
e31f62e1b5
STM32 Kconfig: Fix STM32 UART7/8 kconfig names and UART DMA. Provided by Lorenz Meier
2013-09-13 11:45:32 -06:00
Gregory Nutt
1b17b8fbea
Make filter register accessible for CAN1 and CAN2. Provided by Lorenz Meier
2013-09-13 11:20:10 -06:00
Gregory Nutt
f2a5c43b25
SAMA5: Framework for a TWI driver (incomplete)
2013-09-11 12:28:52 -06:00
Gregory Nutt
928d0ddd8a
STM32 Timer Register Bit Definitions: Some CCER bit settings changed per SourceForge bug #18 submitted by CCCTSAO
2013-09-02 08:01:09 -06:00
Gregory Nutt
56f9092a87
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
56f2b3b963
Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size
2013-08-26 15:46:16 -06:00
Gregory Nutt
57eb83da9d
#17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO
2013-08-26 08:54:46 -06:00
Gregory Nutt
1f3cebdb40
SAMA5 EHCI: Added logic to detect port speed. Handling is insufficient
2013-08-24 07:36:05 -06:00