Gregory Nutt
b51e77829e
tools/nxstyle.c: Remove some logic added in previous change. Causes too many false alarms.
2018-10-31 12:42:18 -06:00
Gregory Nutt
56415d8fa7
include/nuttx/net/mld.h: Add some missing header file inclusions.
2018-10-31 11:32:43 -06:00
Gregory Nutt
e192c9fa3d
include/nuttx/net/mld.h: Add MLD header file based on RFC2710 and RFC3810.
2018-10-31 11:27:57 -06:00
Anthony Merlino
7750e55d15
Merged in antmerlino/nuttx/stm32f20xx-kconfig-fix (pull request #745 )
...
Fixes Kconfig options to include all STM32F20XX processors, not just STM32F207
* arch/arm/src/stm32: Fixes Kconfig options to include all STM32F20XX processors, not just STM32F207
* arch/arm/src/stm32: Removes redundant STM32_STM32F429 depends from Kconfig. STM32F4XXX already does this
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-31 03:53:13 +00:00
Gregory Nutt
b49fe431b7
drivers/usbdev/Kconfig: Correct an error found in build testing. The type of CONFIG_RNDIS_SERIALSTR must be a string, not hex.
2018-10-30 16:40:32 -06:00
Gregory Nutt
f4a5f7a3b9
arch/risc-v/src/gap8: The correct name of the chip.h should be gap8.h. This in analogy to other architectures. There is frequently a chip.h header file in the arch/src directory, but it has a different function.
2018-10-30 16:34:56 -06:00
Gregory Nutt
6ac4681233
tools/nxstyle.c: Fix detection of blank line at beginning for file. Fix detection of whitespace at the end of a line.
2018-10-30 16:33:41 -06:00
Gregory Nutt
552f53e578
arch/risc-v/src/gap8/gap8_tim.c: Fix a typo that I introduced in my review.
2018-10-30 11:19:06 -06:00
Gregory Nutt
c2f8d1bf39
Documentation/NuttX.html: Update to include GreenWaves GAP8
2018-10-30 10:57:35 -06:00
Gregory Nutt
9e0ad7b98a
arch/risc-v/src/gap8/startup_gap8.S: Remove commented out call to a non-existent function.
2018-10-30 10:39:51 -06:00
Gregory Nutt
5c8831c886
drivers/mmcsd/Kconfig: Remove executable bit from file permissions.
2018-10-30 09:48:53 -06:00
Gregory Nutt
e4562fc538
This commit brings in support for the GAP8 architecture. The GAP8 is a 1+8-core DSP-like RISC-V MCU. Also included is support for the Gapuino GAP8 evaluation board.
...
Squashed commit of the following:
Author: Gregory Nutt <gnutt@nuttx.org>
Completes review of configs/gapuino.
arch/risc-v/include/gap8/chip.h: Replace the moved chip.h header file with a dummy chip.h header file just to keep the system happy.
Move include/gap8/chip.h to src/gap8/chip.h. Internal details should not be exposed outside of arch/ and configs/. Review all headers files in src/gap8
Review of arch/risc-v/include.
Author: hhuysqt <hyq9606@126.com>
corrected author and email
Add app initialization, add signal support, cleanup irq context and configs
fix some warnings
gapuino initial port
GAP8 initial port
2018-10-30 09:38:50 -06:00
Gregory Nutt
de764af9aa
tools/nxstyle: Back out part of last commit. Logic to avoid some false alarms was causing real style problems from being reported.
2018-10-30 08:36:30 -06:00
Gregory Nutt
88130a996a
net/: Fixes for more coding standard issues detected by nxstyle.
2018-10-29 18:00:30 -06:00
Gregory Nutt
dcb7ce8afd
tools/nxstyle.c: Add logic to catch another formatting error and to eliminate some false alarms. Includes cosmetic changes to several files ... mostly as a result of testing nxstyle and finding issues.
2018-10-29 16:25:57 -06:00
Gregory Nutt
7d2b250cbc
net/netdev: All utility functions that lookup network devices should begin with netdev_findby_. Also correct some comments and the name of a formal parameter.
2018-10-29 12:21:22 -06:00
Anthony Merlino
ad887ec34c
Merged in antmerlino/nuttx/sixlowpan-warning (pull request #744 )
...
net/sixlowpan/sixlowpan_hc06.c: Fixes warning introduced by recent changes to uncompress_addr.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-29 15:05:58 +00:00
Gregory Nutt
9f754ed1dc
include/sys/sockio.h, net/netdev/netdev_ioctl.c: Fix a compile error introducted with commit 34db6d1433
. That commit added the semi-standard ip_msfilter structure to netinet/in.h. Howver, there was a non-standard version of that structure in sys/sockio.h. This commit removes the non-standard version of struct ip_msfilter and adapts the IOCTL and device lookup logic in net/netdev to work with the new, semi-standard version in netinet/in.h.
2018-10-29 06:50:47 -06:00
Alan Carvalho de Assis
3888d33a05
configs/stm32f4discovery/src/stm32_mlx90614.c: Add MLX90614 support for the STM32F4Discovery board
2018-10-28 16:00:58 -06:00
Alan Carvalho de Assis
9689448d2a
drivers/sensors/mlx90614.c: Add support for the Infrared Thermometer MLX90614
2018-10-28 15:58:14 -06:00
Gregory Nutt
34db6d1433
include/netinet/in.h: Add other definitions required by OpenGroup.org. Correct some typos.
2018-10-28 14:23:04 -06:00
Gregory Nutt
40f56a8a2f
include/netinet/in.h: Add IPv4 SOL_IP socket options for symmetry with IPv6 definitions added in a previous commit. None of the socket options have been implemented!
2018-10-28 14:03:57 -06:00
Gregory Nutt
de107c8b98
include/netinet/in.h: Per OpenGroup.org, type of sin_port in struct sockaddr_in must be in_port_t vs uint16_t. NOTE: in_port_t is typdef'ed as uint16_t anyway. Plus additional cosmetic changes for things like long lines.
2018-10-28 12:35:22 -06:00
Mateusz Szafoni
2a4ed884b5
Merged in raiden00/nuttx_pe (pull request #743 )
...
arch/arm/stm32: add support for STM32F303xD/E; configs: add basic support for nucleo-f303ze
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-28 16:39:56 +00:00
Gregory Nutt
11cc274eef
Trivial, cosmetic changes from review of last PR.
2018-10-28 06:55:20 -06:00
Mateusz Szafoni
7329c81503
Merged in raiden00/nuttx_h7 (pull request #742 )
...
Add basic SPI support for H7
* stm32h7: basic SPI support (nodma, noirq)
* nucleo-h743zi: nrf24l01 support
* nrf24l01.c: fix compilation errors
* stm32h7x3xx_rcc.c: enable SYSCFG clock
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-28 12:43:08 +00:00
Alan Carvalho de Assis
ea1689409f
libs/libc/misc/lib_crc8ccitt.c: Adds implementation of CRC8-CCITT.
2018-10-27 16:29:32 -06:00
Gregory Nutt
bbd8cfbfb5
include/sys/socket.h: With increased size of struct sockaddr_in6 of commit 55f31f03f9
, the size of struct sockaddr_storage in include/sys/socket.h must also be increase so that it can contain the new, larger sockaddr_in6.
2018-10-27 14:10:46 -06:00
Gregory Nutt
dcc081831e
Trivial, cosmetic changes from review of last PR.
2018-10-27 13:47:22 -06:00
Anthony Merlino
55f31f03f9
Merged in antmerlino/nuttx/add-ipv6-options (pull request #741 )
...
Adds definitions for IPPROTO_IPV6 socket options to netinet/in.h Adds missing fields to sockaddr_in6. Adds struct ipv6-mreq.
These changes all follow the opengroup standard for netinet/in.h
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-27 19:32:25 +00:00
Anthony Merlino
1b18f10bee
Merged in antmerlino/nuttx/net-if-externC-fix (pull request #740 )
...
Adds extern "C" guard in include/net/if.h
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-27 18:13:02 +00:00
Anthony Merlino
4898c477a9
Merged in antmerlino/nuttx/multicast-fix (pull request #739 )
...
Fixes logic in ipv6_input to handle more than ff02::/16 multicast addresses. Don't forward mcast packets if scope is not appropriate
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-27 18:12:37 +00:00
Anthony Merlino
1adfef8113
Merged in antmerlino/nuttx/sixlowpan-mcast-uncompress (pull request #738 )
...
net/sixlowpan: Fixes bug in uncompress_addr handling of odd postfix.
This affected multicast compress/uncompress since it's the only logic that used an odd postfix. The odd byte needs to be handled first, not last.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-27 18:07:47 +00:00
Gregory Nutt
511c90d050
arch/x86/src/qemu/qemu_head.S: Correct .bss, IDLE stack, heap organization.
2018-10-26 15:48:22 -06:00
Daniel P. Carvalho
f4cb7dafc3
configs/nucleo-l432kc/src/stm32_at45db.c: Forgot to add file with commit 578114a74f
2018-10-26 11:50:29 -06:00
Gregory Nutt
851d683571
drivers/wireless/ieee80211/bcmf_sdpcm.c: Remove incorrect OR condition. Always true, would always cause allocation failure. Noted by Shao Li in Issue 127.
2018-10-26 05:26:26 -06:00
Daniel P. Carvalho
578114a74f
configs/nucleo-l432kc: Added support for AT45DB Serial Flash
2018-10-25 16:12:59 -06:00
Gregory Nutt
bde9b10b1d
drivers/wireless/ieee80211/bcmf_core.c: There were two functions that have a address issue. In bcmf_read_sbreg and bcmf_write_sbreg, SBSDIO_SB_OFT_ADDR_MASK should be used before map address space. Noted by Shao Li in Bitbucket issue #126 .
2018-10-25 06:52:02 -06:00
Dave Marples
ba95cfe067
Eliminate some warnings.
2018-10-25 06:48:11 -06:00
Gregory Nutt
c6a480f8ff
arch/arm/src/lpc54xx/lpc54_sdmmc.c: Ported the last of Dave Marples fixes to the LPC54. Not yet verified.
2018-10-24 18:15:17 -06:00
Dave Marples
d1c01e1135
With these changes the SDMMC card for LPC4330 is now working properly BUT it needs more testing, especially with different cards etc. This code should be applicable to all members of the lpc43xx family.
...
In addition to the problems that were previously identified there were a few other bits and pieces outstanding;
* Timing was dependent on CPU speed rather than absolute time
* End of transfer handling was a bit mixed up
* It's possible for data to still be in the FIFO (i.e. not have reached
the card) when a next write is requested, so we need to wait for that to
complete
* Interrupt Status could be carried over from one transfer episode to the
next, corrupting progress
* Multi-descriptor DMA writing simply wasn't implemented, but there were no
indications ... it just failed silently
2018-10-24 18:06:38 -06:00
Daniel P. Carvalho
c28cbdb22f
configs/nucleo-l432kc/include/board.h: Fix SPI pin definitions.
2018-10-24 17:25:30 -06:00
Lokesh B V
56b4bc8bcb
libs/libc: Correct some errors in psignal() and stpncpy().
2018-10-24 17:15:51 -06:00
Sakari Kapanen
f185c79ea6
nuttx/net/tcp/tcp_input.c: Fix recovery when ackseq > unackseq. The comment near this line says "reset the number of outstanding, unacknowledged bytes". However, the code actually resets the whole TCP connection. It was changed to the current form in commit f034d84ea1
with no explanation of the intent. Recover the line to what it was before that commit.
2018-10-24 09:10:56 -06:00
Sakari Kapanen
dafa180d8d
nuttx/drivers/usbdev/rndis.c: Account for CONFIG_NET_GUARDSIZE in allocation of packet buffer
...
nuttx/drivers/usbdev/rndis.c: Make USB device parameters configurable
2018-10-24 09:06:09 -06:00
Gregory Nutt
4901710fc7
Dave Marples refinements should be applied to the LPC54 as well
2018-10-24 08:29:17 -06:00
Dave Marples
2b0f680349
Some small refinements to commit 98f268b303
2018-10-23 17:32:26 -06:00
David Sidrane
92e4a7223c
Merged in david_s5/nuttx/master_imxrt (pull request #737 )
...
Master imxrt
* imxrt:Fix typos bit# and names
* imxrt:wdog Registers are 16 Bits
* imxrt:wdog Update has to be within 255 clocks of unlock
* imxrt:clockconfig Fix comments
* imxrt1050-evk:board.h Fix comments
* imxrt:imxrt_ccm.h Define Mux Selects for board.h use
* imxrt:clockconfig Allow better control from board.h
1) Allows a board config clock setting to be defined
in terms of the /n values shown in Figure 18-2.
Clock Tree of the i.MX RT1050 Processor Reference
Manual, Rev. 1, 03/2018
2) Allows the clock multipelx selection to be made in
The board config.
* imxrt1050-evk:Define board clocking based on divisor and muxes
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-23 22:54:28 +00:00
Gregory Nutt
37fafccaa1
arch/arm/src/lpc54xx/lpc54_sdmmc.c: This commit ports Dave Marple's patch for the LPC43 SD/MMC to the LPC54. See commit 98f268b303
2018-10-23 10:51:54 -06:00
Dave Marples
98f268b303
arch/arm/src/lpc43xx/lpc43_sdmmc.c: This commit corrects a problem in lpc43_dmasendsetup(). There was no linked DMA descriptor code on the send side. The end result was stalls while sending multiple sectors. This commit addes that in and the send code is working much better.
2018-10-23 10:47:52 -06:00