Gregory Nutt
541bfe9a5e
Revert "boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis."
...
Logic was correct as originally submitted.
This reverts commit 77eea3dd66
.
2019-12-16 07:55:08 -06:00
Gregory Nutt
6bff1f4df4
arch/arm/include/samd2l2/sam_adc.h: I was wrong... this header file does belong in the samd2l2 include directory. It contains IOCTL definitions that are needed by applications. Usage of a chip-specific header file is, however, not really a good portable design because it requires that the application know that it is running on a specific chip. But still, if we are going to do that, the include directory is where the header file belongs. My apologies for the bad judgement.
2019-12-16 03:53:05 -06:00
Gregory Nutt
77eea3dd66
boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis.
2019-12-15 17:51:46 -06:00
Alan Carvalho de Assis
787128930f
arch/arm/src/samd2l2 and boards/arm/samd2l2/arduino-m0: Add support to SAMD2L ADC driver and board support to Arduino M0.
2019-12-15 17:36:59 -06:00
Petro Karashchenko
871197b4ec
arch/arm/src/am335x/ and boards/arm/am335x/beaglebone-black/: Initial CAN support for the BBB.
2019-12-15 17:12:54 -06:00
Petro Karashchenko
ca4e6077e2
arch/arm/src/am335x/am335x_i2c.c: Improvements to AM335x I2C.
2019-12-15 17:02:59 -06:00
Minamiya Natsuki
0357115bf9
Merged in MinamiyaNatsuki/nuttx (pull request #1095 )
...
Remove duplicate code from stm32_bringup.c
This code repeated two times by mistake.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-15 12:21:28 +00:00
Xinhe Zhou
25b788a9ed
fs/vfs/fs_open.c: Fix error in nx_vopen() function. 'va_start' is used in function with fixed args. 'va_start'/'va_end' should not be used in nx_vopen function, because it has fixed arguments.
2019-12-14 07:38:36 -06:00
Gregory Nutt
10b8c01abf
tools/Makefile.unix: Fix a logic error in 3e4450e237
.
2019-12-13 12:43:44 -06:00
Gregory Nutt
3e4450e237
tools/Makefile.unix and .win: Back out part of 1c91aec6ae
(tools/ and fs/procfs: Simplify .version file generation). That change breaks the build if not in a git clone. noted by Nathan Hartman.
2019-12-13 12:34:17 -06:00
Alan Carvalho de Assis
3840889b11
boards/arm/stm32/stm32f103-minimum/: Add support to LCD1602 using PCF8574 Backpack board.
2019-12-13 12:10:17 -06:00
Gregory Nutt
a4a23ef584
arch/sim/src/sim/up_hostfs.c, fs/hostfs/hostfs_rpmsg.c, include/nuttx/fs/hostfs.h: Sync nuttx_stat_s consistent with standard struct. Standard struct stat layout changed with commit ea577f1ddd31b3f67405cbb2a57806c47dd4dd63.
2019-12-13 08:35:00 -06:00
chao.an
0d2afbd5cb
boards/sim/sim/sim/configs/loadable/defconfig: Update the mount() point of hostfs.
2019-12-13 08:30:34 -06:00
chao.an
eb63227559
include/net, include/nuttx/fs, include/nuttx/wireless: Make wireless definitions more consistent with Linux.
2019-12-13 08:20:07 -06:00
chao.an
5875f07a21
drivers/wireless/ieee80211/bcm43xxx/: Correct parameters passed to wd_start() in all calls.
2019-12-13 08:08:13 -06:00
Xiang Xiao
80d4072bf4
boards/sim/sim/sim/src/sim_bringup.cTry to mount /dev/rammtd if CONFIG_FS_LITTLEFS is enabled.
2019-12-13 08:05:04 -06:00
Xiang Xiao
a6c0c88ac6
boards/sim/sim/sim/configs/: Run make olddefconfig for all simulator config
2019-12-12 11:19:46 -06:00
anchao
1c91aec6ae
tools/ and fs/procfs: Simplify .version file generation
...
1.merge CONFIG_GIT_REVISION_STR into CONFIG_VERSION_BUILD
2.merge gen_getrev.sh into version.sh
3.generate version number if needed
Here is a sample output:
nsh> uname -a
NuttX 8.2 59fd8e12d3-dirty Dec 12 2019 15:48:00 sim sim
nsh> cat /proc/version
NuttX version 8.2 59fd8e12d3-dirty Dec 12 2019 15:48:01
2019-12-12 11:17:11 -06:00
Xiang Xiao
1d60bc20a9
fs/procfs/Kconfig: Change the default value of FS_PROCFS_EXCLUDE_VERSION to n like other similar option.
2019-12-12 11:12:37 -06:00
David Sidrane
eb2bcfc44f
boards/arm/imxrt/imxrt1020-evk/include/board.h: Enable the GPIO based CD.
2019-12-12 08:34:58 -06:00
David Sidrane
2cbcb8fd00
arch/arm/src/imxrt/imxrt_clockconfig.c and board.h: Allow clock setting for SPI and I2C from board.h.
2019-12-12 08:33:05 -06:00
David Sidrane
42dfd18d7c
arch/arm/src/imxrt/imxrt_lpspi.c: Fixed race on register setting. The ouput frequency was not being initialized correctly. The value of LPSPI_TCR_PRESCALE was getting set to 7. Making the setting atomic fixed the race. I suppose a DSB() could have also fixed it.
2019-12-12 08:31:24 -06:00
David Sidrane
587dcaa6e6
arch/arm/src/imxrt/imxrt_lpspi.c: Remove hack setting LPSPI1 daisy irrespective of pin config. I assume this hack pre dated the addition of the dasiy chain setting. It was forcing LPSPI1 pins to read from selection 1 irrespective of pin config. The correct input selection is done in imxrt_config_gpio.
2019-12-12 08:29:08 -06:00
David Sidrane
3d4eb32e48
arch/arm/src/imxrt/imxrt_lpi2c.c: Added configurations to fine tune LPI2C Timeouts.
2019-12-12 08:27:02 -06:00
Junmin Kim
e06329f5e7
fs/vfs/fs_open.c: Fix description of nx_open and nx_vopen comments indicate that they return zero on success when, in fact, they return the new file descriptor.
2019-12-12 08:24:14 -06:00
Nathan Hartman
9655730ef8
Fix various typos and spelling errors.
2019-12-12 07:41:51 -06:00
Petro Karashchenko
3737aa83fa
arch/arm/src/am335x/am335x_i2c.c: AM225x I2C driver now works in both polling and interrupt modes.
2019-12-12 07:39:36 -06:00
Gregory Nutt
e5e52446ca
net/tcp/tcp_send.c: Trival update to some comments.
2019-12-11 11:19:32 -06:00
Juha Niskanen
c8268cbfcf
Merged in juniskane/nuttx-4/Juha-Niskanen/remove-reference-to-nonexistent-config-m-1575888266268 (pull request #1093 )
...
Remove reference to nonexistent config macro. stm32l4_spi.h edited online with Bitbucket
stm32l4_spi.h edited online with Bitbucket
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:06:03 +00:00
Juha Niskanen
50768ac7a6
Merged in juniskane/nuttx-3/Juha-Niskanen/kconfig-edited-online-with-bitbucket-1575887906303 (pull request #1092 )
...
Kconfig edited online with Bitbucket
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:04:20 +00:00
Masayuki Ishikawa
0eb9bfa49d
Merged in masayuki2009/nuttx.nuttx/fe310_with_pll (pull request #1094 )
...
fe310 with pll
* arch: fe310: Introduce CONFIG_ARCH_CHIP_FE310_QEMU
* boards: hifive1-revb: Introduce CONFIG_ARCH_CHIP_FE310_QEMU
* arch: fe310: Add support for PLL
* boards: hifive1-revb: Increase uart0 tx buff size and add getprime app
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-11 12:01:53 +00:00
Petro Karashchenko
813902cf87
arch/arm/src/am335x and boards/arm/am335x/beaglebone-black: Add I2C support for AM335X.
2019-12-10 20:22:25 -06:00
Gregory Nutt
425b1c737c
Fix a problem I introduced in my recent review.
2019-12-10 18:04:56 -06:00
David Sidrane
2e71e0632f
arch/arm/src/imxrt/imxrt_usdhc.c: IMXRT106x USDHC: Support regular GPIO for CD and inversion.
2019-12-10 17:58:08 -06:00
Petro Karashchenko
2f00eefa5d
arch/arm/src/am335x: Adds AM335x Clock Configuration.
2019-12-10 17:55:08 -06:00
Ouss4
8ae156c8a1
boards/xtensa/esp32/esp32-core/README.txt: Update the toolchain installation help.
2019-12-10 13:44:28 -06:00
Ouss4
7dcf8dde7c
arch/xtensa/src/esp32/esp32_start.c: A comma was missing in g_idlestack attributes.
2019-12-10 13:42:58 -06:00
Gregory Nutt
0ef5500e01
/fs/inode: Add checks for NULL pointers as recommended by Junmin Kim <trimind0210@gmail.com>.
2019-12-10 07:50:27 -06:00
Juha Niskanen
abdafaeccc
drivers/power: Fix PM build failure with CONFIG_PM_GOVERNOR_MEMORY==1
2019-12-10 07:34:59 -06:00
Gregory Nutt
897378bc29
Remove support for generation of RRLOAD binary files. The RRLOAD binary format was used with Linux BSPs from www.ridgerun.com circa 2000-2001. It is still need by the the c5471 board if that bootloader is used. Removes the CONFIG_RRLOAD_BINARY option and tools/mkimage.sh
...
This change was motivated by the presence of the mkimage.sh file under tools. That is the tool that created the RRLOAD binary format. That bash script has a GPL license and, hence, may not be included in an Apache-licensed project.
2019-12-09 11:29:12 -06:00
Gregory Nutt
c2642eef3c
net/tcp/tcp_appsend.c: Enhance delayed ACK algorithm with behavior of Windows delayed ACK described at https://support.microsoft.com/en-nz/help/214397/design-issues-sending-small-data-segments-over-tcp-with-winsock : 'If there are data to be sent in the same direction as the ACK before the second data packet is received and the delay timer expires, the ACK is piggybacked with the data segment and sent immediately.'
2019-12-09 08:45:52 -06:00
Gregory Nutt
6a0ab27bd5
net/tcp/tcp_appsend.c: Update some comments.
2019-12-09 06:06:17 -06:00
Gregory Nutt
8cd5e04d53
net/tcp: Minor design improvement to TCP delayed ACKs.
2019-12-08 14:17:55 -06:00
Gregory Nutt
66ef6d143a
This commit adds an initial implemented of TCP delayed ACKs as specified in RFC 1122.
...
Squashed commit of the following:
net/tmp: Rename the unacked field of the tcp connection structure to tx_unacked. Too confusing with the implementation of delayed RX ACKs.
net/tcp: Initial implementation of TCP delayed ACKs.
net/tcp: Add delayed ACK configuration selection. Rename tcp_ack() to tcp_synack(). It may or may not send a ACK. It will always send SYN or SYN/ACK.
2019-12-08 13:13:51 -06:00
Gregory Nutt
594734e0ae
include/nuttx/net/w5500.h: Finishes off register bitfield definitions. Driver will follow.
2019-12-08 10:53:52 -06:00
Gregory Nutt
53cefb812b
include/nuttx/net/w5500.h: Header file for the WIZnet S5500 Ethernet chip. Still missing register bit definitions. Driver will follow.
2019-12-08 09:57:42 -06:00
Gregory Nutt
b2035ebb1c
boards/arm/imxrt/imxrt1020-evk/src/imxrt_autoleds.c: Must include imxrt1020-evk.h
2019-12-08 08:24:02 -06:00
Ouss4
47129b36bd
arch/mips/*: Run nxstyle on the arch/mips directory.
2019-12-08 08:09:11 -06:00
Ouss4
c9b4da61b0
fs/littlefs/lfs.c: Eliminate a warning about a local variable redefinition.
2019-12-08 08:06:49 -06:00
Gregory Nutt
3e85a7e53d
boards/arm/imxrt/imxrt10x0-evk/include/board.h and src/imxrt10x0-evk.h: Board internal GPIO definitions were erroneously moved to board.h in a previous comment. This restores them to where they belong in the private imxrt10x0-evk.h header file.
2019-12-08 08:02:31 -06:00