Commit Graph

31572 Commits

Author SHA1 Message Date
Anthony Merlino
b8f38fd3de Merged in antmerlino/nuttx/clicker2-stm32-rndis (pull request #540)
clicker2-stm32: Adds support for USB RNDIS device

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 19:16:37 +00:00
Anthony Merlino
3be15c0f8f clicker2-stm32: Adds support for USB RNDIS device 2017-11-22 14:03:58 -05:00
Anthony Merlino
50f05d7514 Merged in antmerlino/nuttx/rndis-debug-build-error (pull request #539)
USB RNDIS - Fixes minor build error while using USB RNDIS with USB debugging information enabled

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 18:55:39 +00:00
Anthony Merlino
cb62580216 Merged in antmerlino/nuttx/mac802154dev-header-offset (pull request #538)
Pass header-payload offset to application for use when the MAC layer is in promiscuous mode

* mac802154_device: When in promiscuous mode, the char driver sends the entire frame, including the MAC header.  This change adds an offset field indicating the header-payload boundary. It is set to 0 when not in promiscuous mode as the header is not passed to the application

* mac802154: Adds support for getting promiscuous mode state

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 18:22:35 +00:00
Anthony Merlino
827fa6796e Merged in antmerlino/nuttx/sixlowpan-route (pull request #537)
sixlowpan: Support sending to a router that is on-link and may be able to forward the packet for us if the destination is not reachable directly

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 18:10:39 +00:00
Gregory Nutt
c93320ccd6 net/: Fix some issues with regard to UDP broadcast handling. This is Bitbucket Issue #77. This commit tentatively closes the issues, subject to verification. 2017-11-22 12:06:36 -06:00
Gregory Nutt
af65eac4f2 net/icmp and icmpv6: Fix some errors in debug assertions introduced with last changes in this area. Also updates a REAME.txt file 2017-11-22 11:38:17 -06:00
Mateusz Szafoni
8d6c997551 Merged in raiden00/nuttx (pull request #536)
stm32f33xxx_rcc: fix CAN clock enable

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 15:57:06 +00:00
Gregory Nutt
fb6208fbbc mm: Fix a typo in a debug assertion. 2017-11-22 07:30:48 -06:00
Gregory Nutt
d1aead1d8c configs/lm3x*/README.txt: Remove some old, redundant, obsolete stuff from some README.txt files. 2017-11-22 06:54:47 -06:00
Alan Carvalho de Assis
389cc49447 configs/stm32f103-minimum: Add framebuffer driver initialization for stm32f103-minimum board 2017-11-22 06:32:36 -06:00
Gregory Nutt
84de1fed9b Fix previous commit: In calculating the length of a run, the width has to be updated AFTER the start X position has been modified. 2017-11-22 06:13:56 -06:00
Gregory Nutt
9a4c3bbe99 drivers/lcd_framebuffer.c: If BPP is less then 8, then we need to byte-align the update region. 2017-11-22 05:35:33 -06:00
raiden00pl
83699beb10 stm32f33xxx_rcc: fix CAN clock enable 2017-11-22 09:26:07 +01:00
Anthony Merlino
a645b18860 net/sixlowpan: Add htohs() in arguments to debug statements that print IP addresses so that they are all shown in friendlier host order 2017-11-21 11:01:11 -06:00
Gregory Nutt
306bd169f8 net/icmp: Ports the changes in ICMPv6 of commits 4629cf9461 and 74a633ea94 to ICMP. ICMP and ICMPv6 sockets are nearly identical, bug-for-bug. 2017-11-21 10:41:20 -06:00
Gregory Nutt
74a633ea94 net/icmpv6: Remove the 'list' field from struct icmpv6_conn_s. It is not used. 2017-11-21 10:25:27 -06:00
Gregory Nutt
4629cf9461 net/icmpv6: Fix an error in the poll logic. It was assume that the input parmeter pvconn was valid. It was not. Instead, the poll logic must work like the sendto() and recvfrom() logic: It must keep a copy of the conn structure in the private data. 2017-11-21 10:22:45 -06:00
Gregory Nutt
bcc61fed26 Update a README and a misnamed formal parameter. 2017-11-21 09:24:25 -06:00
Gregory Nutt
514ac3fe98 mm: Add a debug assertin to check for integer overflow in malloc. 2017-11-21 07:24:10 -06:00
Gregory Nutt
c52fab653d Replicate Jussi Kivilinna's change for the newly added STM32F2xx and F3xx family members. This change allows selecting voltage output scale mode and enable over-drive only when needed. 2017-11-21 06:44:19 -06:00
Jussi Kivilinna
88cf9cf133 Two changes for STM32F7.
1) The first enables building with CONFIG_ARCH_IDLE_CUSTOM enabled.
2) The second allows changing voltage output scaling setting and prevents enabling over-drive mode for low frequencies (STM32 F74xx, 75xx, 76xx, 77xx)
2017-11-21 06:42:04 -06:00
Miha Vrhovnik
8bb54368c8 Various fixes for errors ound while debugging OTG on L496
STM32, STM32 L4, and STM32 M4: USB OTGFS DMA trace output fix
STM32: Add dump buffer feature to stm32 F4 series
STM32 and STM32 L4: Fix bad USB OTGFS register address
STM32 L4:  Fix typo in USB OTGFS register usage
STM32 L4:  Add check in USB OTGFS driver to assure that SYSCFG is enabled
Nucleo-L496ZG:  Make HSE on Nucleo-L496ZG default to enable USB
2017-11-21 06:32:53 -06:00
Gregory Nutt
b9bb2253b6 Update a README. 2017-11-21 06:12:13 -06:00
Alan Carvalho de Assis
41b89e1bb4 arch/arm/src/xmc4 UART: Enable RX/TX status and small fixes 2017-11-21 06:11:35 -06:00
Anthony Merlino
35a54d7a1e net/sixlowpan: The logic that extracts interface identifier from the IP address needs to be generalized to handle cases where the address is not a link local address. 2017-11-20 14:36:21 -06:00
Anthony Merlino
003a37e37f net/sixlowpan: Fix an endian-ness problem in 6LoWPAN address decompression. 2017-11-20 14:31:57 -06:00
Gregory Nutt
1fba8ba145 configs/open1788: Enable discrete joystick input. This is sufficient to get through all menuing that does not require text input. 2017-11-20 14:16:01 -06:00
Anthony Merlino
f954345dbe net/icmpv6: icmpv6_input() needs to set d_len to 0 after consuming echo reply, otherwise, garbage will get sent out. 2017-11-20 12:15:01 -06:00
Gregory Nutt
92a9a9b678 configs/open1788: Add support for the discrete joystick driver. Update the pdcurses configuration to use apps/examples/djoystick. 2017-11-20 10:00:52 -06:00
Alan Carvalho de Assis
c117cdcf6b arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not uartbase as an input parameter. 2017-11-20 07:00:23 -06:00
Oleg Evseev
d55e44b2ea Fix sscanf character conversion (%c): do not add '\0' at the end as for strings, cause, for example, parsing one character will fill two bytes: character itself and zero one '\0' after it, so will overflow one byte variable argument and corrupt memory for variables allocated after it. 2017-11-19 13:33:46 -06:00
Gregory Nutt
34bae015df Squashed commit of the following:
libnx/nxfonts:  Cosmetic; reduce amount of debug output.
    configs/open1788/pdcurses:  Add a configuration for testing pdcurses.
2017-11-19 13:31:04 -06:00
Gregory Nutt
ce42b0e030 include/syslog.h: Trivial change in name of formal parameter for consistency. 2017-11-18 19:26:38 -06:00
Gregory Nutt
40b8cbb8dc Eliminate some warnings. 2017-11-18 12:29:34 -06:00
Gregory Nutt
b9f9d5344d Fix a typo introduced with a recent commit. 2017-11-18 11:26:43 -06:00
Gregory Nutt
f4b34d530f Update graphic related README files. 2017-11-18 11:09:54 -06:00
Alan Carvalho de Assis
494d2a486c configs/mcb1700: Add support for Keil MCB1700 board 2017-11-18 10:57:25 -06:00
Gregory Nutt
55a17d80cd libnx: Simplify some of the duplicated NX/NXFONTS configuration. 2017-11-18 10:34:57 -06:00
Gregory Nutt
28de00a90a Changes to allow the font subsystem to be built without enabling the entire graphics system (CONFIG_NX). Adds CONFIG_NXFONTS and CONFIG_NXGLIB. NX and NXFONTS are still pretty heavily entangled
Squashed commit of the following:

    libnx: Need to duplicate some Kconfig setting for NXFONTs if it can be configured and built independently of NX.  Also includes some build-related fixes.

    configs/sim:  Disable NX graphics support in the fb configuration.

    libnx:  Basic configuration and build changes to support building font support independend of the NX server.
2017-11-18 10:19:34 -06:00
Bob Feretich
fab5faf097 STM32F7: Completes architecture support for the STM32 F72x and F73x families. Adds support for the Nucleo-144 boards with STM32F722. 2017-11-18 07:55:50 -06:00
Bob Feretich
d7bb824c69 stm32f7: Fix typos in two RCC register definition header files 2017-11-17 07:26:05 -06:00
Bob Feretich
13b52da3fa stm32 f72xx and f73xx: Add register definition header files and clocking logic 2017-11-17 07:18:02 -06:00
Alan Carvalho de Assis
4f0c4b798f configs/xmc4500-relax: Add config for UART3 on RXD P0.0 and TXD P0.1 pins. 2017-11-16 13:53:01 -06:00
Alan Carvalho de Assis
fcb5129567 arch/arm/src/xmc4: Kconfig was not selecting XMC4_USIC for USIC1. 2017-11-16 13:51:17 -06:00
Alan Carvalho de Assis
ab7dfd75b5 arch/arm/src/xmc4: Fix XMC4xxx USIC UART sginal to be high level when in idle 2017-11-16 11:23:19 -06:00
Gregory Nutt
a3f308331d Update TODO 2017-11-16 11:22:32 -06:00
Gregory Nutt
0649209725 configs/stm3220g-eval/ide: Remove the uVision IDE setup. This has not been used for years and it a maintenance problem for me. 2017-11-16 08:51:49 -06:00
Gregory Nutt
aeab28ef5c configs/stm32f429i-disco/ide: Remove the uVision IDE setup that goes along with the ltdc configuration that was removed on 2017-10-28. 2017-11-16 07:56:30 -06:00
Gregory Nutt
a958349353 STM32F429i-Disco: Convert NxWM configuration to use LTDC framebuffer driver instead of SPI serial. Also reduce number of layers from 4 to 1 in fb configuration. Only one layer is used. 2017-11-15 11:47:14 -06:00