Gregory Nutt
ceaafc2019
arch/arm/src/stm32: Fix scope of naming. CONFIG_RTC_LSECLOCK->CONFIG_STM32_RTC_LSECLOCK, for example. Fix some usage. Although CONFIG_STM32L4_RTC_xxxCLOCK was defined in the Kconfig, CONFIG_RTX_xxxCLOCK was used in numerous places in the code
2018-06-28 15:58:08 -06:00
Gregory Nutt
500d2c2289
arch/arm/src/lpc11,lpc17,lpc43,stm32,stm32l4: Fix scope of naming. CONFIG_CAN_TSEG1->CONFIG_LPC17_CAN_TSEG, for example.
2018-06-28 15:44:42 -06:00
Gregory Nutt
2552bfd2ef
arch/arm/src/lpc43: Fix lpc43 CAN configuration. Configuration settings were used and documented in README.txt files, but never in any Kconfig file. Also fix the scoping name of CAN variable naming. CONFIG_CANx_BAUD->CONFIG_LPC43_CANx_BAUD.
2018-06-28 15:11:23 -06:00
Gregory Nutt
45cdc3a3d0
arch/arm/src/lpc11,lpc17,stm32,stm32l4: Fix scopy of nameing. CONFIG_CANx_BAUD->CONFIG_LPC17_CANx_BAUD, for example.
2018-06-28 14:47:14 -06:00
Gregory Nutt
8c3aa99742
arch/arm/src/lpc11 and lpc17: Fix scopy of nameing. CONFIG_CAN_SAM->CONFIG_LPC17_CAN_SAM, for example.
2018-06-28 13:46:35 -06:00
Gregory Nutt
8281dc1ed8
arch/arm/src/lpc11 and lpc17 and several README.tst files in configs/: Fix scopy of nameing. CONFIG_CANx_DIVISOR->CONFIG_LPC17_CANx_DIVISOR, for example.
2018-06-28 13:10:02 -06:00
Gregory Nutt
2c78adf529
arch/arm/src/lpc11 and lpc17: Remove duplicate configuration variable CAN_LOOPBACK. The architecture-indendent version is selectable in drivers/can/Kconfig.
2018-06-28 12:52:02 -06:00
Gregory Nutt
104860560d
arch/arm/src/lpc11 and lpc17: Remove duplicate configuration variable CAN_EXTID. The architecture-indendent version is selectable in drivers/can/Kconfig.
2018-06-28 12:50:10 -06:00
Gregory Nutt
7dec38b18f
drivers/Kconfig: Global configuration variable CONFIG_FB_TRANSPARENCY is only defined in architecture-specific Kconfig files and then multiple times. Add the single global definition in drivers/Kconfig. arch/arm/src/stm32, stm32f7, and same5: Rename the architecture-specific variables appropriately. Selecting the architecture-specific version will also select the global version.
2018-06-28 12:31:51 -06:00
Gregory Nutt
ba53219821
drivers/Kconfig: Global configuration variable CONFIG_FB_CMAP is only defined in architecture-specific Kconfig files and then multiple times. Add the single global definition in drivers/Kconfig. arch/arm/src/stm32 and stm32f7: Rename the architecture-specific variables appropriately. Selecting the architecture-specific version will also select the global version.
2018-06-28 12:01:55 -06:00
Gregory Nutt
5d6e6d66e2
Fix another improperly qualified configuration varaible: CONFIG_HRTIM -> CONFIG_STM32_HRTIM. This is necessary to avoid conflict and confusion with other Kconfig files that may have the save variable definition.
2018-06-28 11:37:29 -06:00
Gregory Nutt
b030209532
arch/arm/src/imxrt: Trivial SNVS from Rev 1. of the Reference Manual.
2018-06-28 10:54:56 -06:00
Jussi Kivilinna
214e9d923e
Commit 0c963449d6
, 'fs/vfs: Added support for checking if a descriptor is a socket in fstat().', changed sys/stat.h in way that breaks smartfs file-type stat flags. CROMFS is similarly broken, as tools/gencromfs.c was not updated to match the sys/stat.h changes. This commit fixes both issues. It probably is not a good idea to use NuttX sys/stat.h bit-field values directly in stored structure of filesystem.
2018-06-28 07:40:35 -06:00
Juha Niskanen
044d538da3
Fix some errors found during upstream merge
2018-06-28 07:06:57 -06:00
Gregory Nutt
9038cac4eb
arch/arm/src/imxrt: Fix some early testing bugs. The HPRTC is now functional. However, if the LPSRTC is enabled, then there is a hang during LPSRTC initialization. It appears that there is some problem in providing clocking and initializing the LPSRTC domain.
2018-06-27 15:27:56 -06:00
Gregory Nutt
5f6293b93d
configs/nucleo-l476rg: Fix some confusional in conditional logic introduced by a recent patch.
2018-06-27 13:14:13 -06:00
David Sidrane
06c7b9a5bc
Merged in david_s5/nuttx/master_f7_i2cfix (pull request #664 )
...
stm32f7:I2C reset Configure I2C pins as GPIO output
Pins were reset to inputs in the deinit. This resets
them to outputs.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-27 18:35:34 +00:00
Gregory Nutt
7415f62891
tools/testbuild.sh: Add option to specific location of nuttx directory.
2018-06-27 12:27:34 -06:00
Gregory Nutt
5889a2397c
This commit addes support for the i.MXRT RTC. This initial commit is code complete (with limited featurs and options) but untested.
...
Squashed commit of the following:
arch/arm/src/imxrt: Fix some first time compile issues.
arch/arm/src/imxrt: This brings the RTC implement to code complete but still untested.
arch/arm/src/imxrt: Add some RTC initialization logic.
arch/arm/src/imxrt: Flesh out most of the RTC driver lower half and LPSRTC support.
arch/arm/src/imxrt: Some inital, partial implementation of the HPRTC and LPSRTC.
arch/arm/src/imxrt: Add HPSRTC/HPRTC file framework (no logic, just skeleton files).
arch/arm/src/imxrt: Add HPRTC header file.
Some initial configuration logic for SNVS LPRTC and HP RTC.
2018-06-27 11:19:12 -06:00
Gregory Nutt
691470c1cd
arch/arm/src/stm32,stm32l4,stm32f7: Fix duplicated configuration options. All should be unique.
2018-06-27 10:20:14 -06:00
Masayuki Ishikawa
529ac8dd9b
arch/arm/src/lc823450: Fix setintstack macro in chip.h. In case of CONFIG_SMP=y, g_cpu0_instack_base and g_cpu1_instack_base
...
are not allocated just after g_instack_alloc but these values show the addresses for interrupt stack of each CPU. So to set the stack
pointer based on these variables, temporal register has to be used.
2018-06-27 06:50:00 -06:00
Gregory Nutt
dfd2d218e3
fs/mount/fs_automount.c: Ignore return values from work_cancel().
2018-06-27 06:30:05 -06:00
Gregory Nutt
99c8d2f801
configs/nucleo-l476rg: Add support for an extern SPI-driver SPI card on the Nucleo-L476RG.
2018-06-26 15:28:14 -06:00
Gregory Nutt
d6ed50a370
arch/arm/src/stm32f7/chip/stm32f72xx73xx_dma.h: Macros did not account for the increase from 8 to 16 DMA channels.
2018-06-26 10:12:35 -06:00
Gregory Nutt
cf3dd19352
Fix a typo.
2018-06-26 07:01:27 -06:00
Gregory Nutt
8e6afb958a
net/udp: If the interface index of the device bound to a UDP socket is no longer valid because the device has been unregistered, then un-bind the UDP socket.
2018-06-26 06:53:13 -06:00
Marcin Wyrwas
1c76e10c06
Merged in plwm/nuttx/stm32f746g-disco-lcd (pull request #661 )
...
add support for STM32F746G-disco board LCD
Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-25 23:44:31 +00:00
Gregory Nutt
e2c442cdcb
net/procfs: Fix a design REVISIT from the integration the IFINDEX logic and the existing ifconfig/procfs logic.
2018-06-25 17:42:56 -06:00
Gregory Nutt
bdb73a60ca
Fix some errors found in build testing.
2018-06-25 17:06:29 -06:00
Gregory Nutt
c439b93627
net/procfs and netdev: Fix some problems with ifconfig introduced with last changes. Also picks up one of Sebastien's changes that did not make it it before. net/udp: Fixes a DEBUGASSERT.
2018-06-25 17:06:11 -06:00
Sebastien Lorquet
65be13bffe
net/udp: Finish support for the UDP_BINDTODEVICE protocol socket option
2018-06-25 15:07:53 -06:00
Gregory Nutt
2a29fe0223
net/netdev: Fix.. Too many calls to net_unlock()
2018-06-25 14:21:33 -06:00
Gregory Nutt
c4de9f16e4
configs/stm32f3discovery: Board support did not conform to standard file layout and specifically did not include board_initialize.
2018-06-25 14:17:16 -06:00
Gregory Nutt
872a11b4a0
Correct some errors found in build testing.
2018-06-25 14:16:19 -06:00
Gregory Nutt
5a0cf3c9a8
net/netdev: Add an algorithm to prevent an interface index from being reused until all network interfaces have by assigned once. The prevents removable devices from being removed, unregistered and re-installed, re-registered and keeping the same interface index.
2018-06-25 12:57:42 -06:00
Gregory Nutt
c65e1aa3df
Squashed commit of the following:
...
syscalls/: Add syscall support for if_nametoindex() and if_indextoname()
net/: Update some comments.
2018-06-25 12:41:28 -06:00
Gregory Nutt
7c1394d814
Squashed commit of the following:
...
net/netdev: Add implementation of if_nametoindex() and if indextoname().
net/pkt: Raw AF_PACKET sockets now depend on CONFIG_NETDEV_IFINDEX.
net/procfs: Tweak to handle traversal of interfaces if CONFIG_NETDEV_IFINDEX is not defined.
net/netdev.h: Update netdev_findbyaddr() to use the assigned device index.
Trivial typo fix
net/netdev: Add support for assigned an interface index to a device when it is regisgtered.
2018-06-25 12:08:10 -06:00
Daniel Agar
68418262a5
Merged in dagar/nuttx/pr-fixCompileError (pull request #660 )
...
stm32f7: Fix compile error caused by intentional use of fall through
Approved-by: Sebastien Lorquet <sebastien@lorquet.fr>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-25 16:33:56 +00:00
Gregory Nutt
589e3aa54e
net/udp: Fix a whole in the address lookup logic.
2018-06-25 07:51:21 -06:00
Gregory Nutt
25686a9dac
Remove if #if 0 logic. Update some comments.
2018-06-24 15:50:45 -06:00
Gregory Nutt
715d561c41
Trivial spelling corrections in comments; update some comments in a Kconfig file.
2018-06-24 15:01:49 -06:00
Gregory Nutt
0786b5d053
net/tcp: Re-think CONFIG_NET_TCP_RWND_CONTROL TCP windowing controls.
2018-06-24 14:46:12 -06:00
Gregory Nutt
433f29eea2
net/: Rename CONFIG_TCP_REASSEMBLY to CONFIG_IPv4_REASSEMBLY. Add some fixes to get a clen compile with CONFIG_IPv4_REASSEMBLY enabled. There are several problems with the current implementation: It is untested (and depends on CONFIG_EXPERMIMENTAL). It uses some Ethernet specific definitions (and depends on CONFIG_NET_ETHERNET). There is only a single reassembly buffer. The last two issues prevent use of this feature in any context where IPv4 packets may be reassembled for multiple network devices concurrently).
2018-06-24 12:06:12 -06:00
Gregory Nutt
fe592d502c
include/limits.h: Fix a signed-ness error introduced in a recent commit. Documentation/: Update acronym list.
2018-06-23 17:43:55 -06:00
Gregory Nutt
34aeb08722
Documentation/: Remove some old, early prototype NuttX logo images.
2018-06-23 16:23:13 -06:00
Gregory Nutt
1acfac3eb6
net/: More fixes to wrong comments from old change from the interrupt driven network to the work-queue driven network.
2018-06-23 15:03:01 -06:00
Gregory Nutt
aabdc00e8c
net/: Fix some incorrect comments that go back for years (but have also been cloned in newer files). The network was once interrupt driver, but now runs on the work queue with a semaphore to enforce mutual exclusion.
2018-06-23 14:09:06 -06:00
Gregory Nutt
a0e169ad7b
net/: Fix a sixlowpan typo bug recently introduced; Rename g_ipv6_allzeroaddre with the more meaning g_ipv6_unspecaddr since the all-zero address is the IPv6 unspecified address (sometime IN6_ADDR_ANY). Remove more inline tests for IPv6 multicast with tcommint net_is_addr_mcast() macro. Update some comments.
2018-06-23 12:53:27 -06:00
Gregory Nutt
5bb216fb90
net/: There are many different checks for IPv6 multicast addresses. Most of the checks are different. RFC 3513 clearly specifies how to detect an IPv6 multilcast address: they should begin with 0xffxx. I did not change some of the checks in ipv6_input.c, however. In that file, the comments indicate that the code should only pick of certain mulicast address that begin withi 0xff02.
2018-06-23 10:13:38 -06:00
Gregory Nutt
5db2f993f9
Trivial updates from review of vecto I/O logic.
2018-06-23 09:01:42 -06:00