Masayuki Ishikawa
bb68a12c95
boards: maix-bit: Add support for PROTECTED build
2020-02-14 09:29:51 -06:00
Masayuki Ishikawa
382cc29c72
arch: risc-v: Add support for PROTECTED build to k210
2020-02-14 09:29:51 -06:00
Masayuki Ishikawa
5fcde14cd1
arch: risc-v: Add up_pthread_start.c and up_task_start.c to common dir
2020-02-14 09:29:51 -06:00
Masayuki Ishikawa
1a4ff4c4cd
arch: risc-v: Add support for PROTECTED build to rv64gc
2020-02-14 09:29:51 -06:00
Nicholas Chin
ddc8f52202
drivers/eeprom/i2c_xx24xx.c: increase number of retries in ee24xx_waitwritecomplete
2020-02-14 09:20:33 -06:00
Juha Niskanen
15b78abccf
Fix typos in comments
2020-02-14 08:50:45 -06:00
liuhaitao
6eae882cbe
sim/userfs: Add worker thread config to fix build break
...
net/loopback.c:75:4: error: #error Worker thread support is required (CONFIG_SCHED_WORKQUEUE)
# error Worker thread support is required (CONFIG_SCHED_WORKQUEUE)
^~~~~
make[1]: *** [loopback.o] Error 1
2020-02-14 08:32:56 -06:00
YAMAMOTO Takashi
352e5a4b5e
tiva/lm3s6965-ek: Fix a build error with certain configurations
2020-02-14 12:25:54 +01:00
YAMAMOTO Takashi
f79b47ad25
tiva_serial.c: Make this buildable with certain configurations
2020-02-14 15:38:24 +08:00
YAMAMOTO Takashi
3df686e10f
sim: berr() unknown relocation type
2020-02-14 14:40:15 +08:00
YAMAMOTO Takashi
3ead7795b2
sim: Add loadable module definitions
...
Also, add -fno-pic to avoid generating GOT relocations.
2020-02-14 14:40:15 +08:00
Miguel Herranz
7f1f930a7b
Remove unneeded dependency on USB
2020-02-14 14:38:51 +08:00
Miguel Herranz
1200c6d429
Using debug macros for memory card
2020-02-14 14:38:51 +08:00
Miguel Herranz
1832172432
Fix wrong name for CONFIG_MMCSD_SPI
...
The `CONFIG_` prefix was doubled in `CONFIG_CONFIG_MMCSD_SPI`
Fixing it and joining with previous check to simplify code style.
2020-02-14 14:38:51 +08:00
Gregory Nutt
0b25b96759
net/netlink/netlink_route.c: Fix a typo.
2020-02-13 15:04:45 -03:00
YAMAMOTO Takashi
46ad645efc
mm: Add a bunch of assertions
2020-02-13 08:21:18 -06:00
YAMAMOTO Takashi
c1a32fb9dd
compiler.h: clang actually has long long
2020-02-13 08:21:18 -06:00
Gregory Nutt
1382ea5447
mm/: Coding style clean-up
...
Run tools/nxstyle against all C files under mm/ and correct coding standard violations.
2020-02-13 15:16:53 +01:00
YAMAMOTO Takashi
3381ecb913
Remove CONFIG_BUILTIN_PROXY_STACKSIZE from README files
2020-02-13 17:56:47 +08:00
YAMAMOTO Takashi
ba331e8ea8
Run refresh.sh after CONFIG_BUILTIN_PROXY_STACKSIZE removal
2020-02-13 17:56:47 +08:00
YAMAMOTO Takashi
b21e809d58
sim: Use generic name (cc) than GCC specific (gcc)
...
This makes it easier to use clang on ubuntu.
2020-02-13 15:25:15 +08:00
YAMAMOTO Takashi
842392beda
Makefile.host: Use generic name (cc) than GCC specific (gcc)
...
This makes it easier to use clang on ubuntu.
2020-02-13 15:25:15 +08:00
YAMAMOTO Takashi
3a1515b473
mm_mallinfo: Fix a minfo printf-format
2020-02-13 15:18:53 +08:00
YAMAMOTO Takashi
1a3f59be58
sim: Make hostfs build for macOS
...
* Ignore O_DIRECT if the host OS doesn't provide it.
* Use statvfs instead of statfs. The former is in POSIX and
more widely available these days.
2020-02-13 15:17:36 +08:00
Gregory Nutt
7409f57d40
net/pkt: Fix inconsistent use of FAR
...
Also run all .c and .h files through nxstyle (with -m 0)
2020-02-13 15:10:34 +08:00
YAMAMOTO Takashi
710da6022d
Fix comment typos
2020-02-12 20:39:47 -06:00
YAMAMOTO Takashi
22d002762b
sim: Add more names to nuttx-names.dat
2020-02-12 20:39:08 -06:00
YAMAMOTO Takashi
3d425280b6
simuart: Don't assume a specific endian
2020-02-12 20:38:25 -06:00
raiden00pl
b9ad92c366
boards/arm/stm32h7/nucleo-h743zi: Add pwm example configuration
2020-02-12 11:52:57 -06:00
Nicholas Chin
e1d35096cf
arch/arm/src/imxrt/Kconfig: Fixes IMXRT_HAVE_LCD to only be selected by 1052 and 1062 and misc. typos
2020-02-12 09:42:07 -08:00
Nicholas Chin
8469de724a
Fixes build issues with IMXRT Qencoder
2020-02-12 09:42:07 -08:00
Gregory Nutt
cfb7561e77
arch/arm/src/armv7-a/arm_vectors.S: Fix clobbered register in SMP mode.
2020-02-12 16:49:32 +01:00
Gregory Nutt
5f306b0461
Run all .c and .h files modified by PR 249 through nxstyle.
2020-02-12 08:17:03 -06:00
Xiang Xiao
18ba6eb076
boards/sim: Update README.txt for network setup
2020-02-12 08:16:55 -06:00
Xiang Xiao
5e99e64d9f
sim/net: Replace the busy polling with work
...
netdriver_loop should check there is data to read before queue the work
2020-02-12 08:16:43 -06:00
Xiang Xiao
5a00657ac4
arch/sim: Change CONFIG_NET_ETHERNET to CONFIG_SIM_NETDEV
2020-02-12 08:16:33 -06:00
Xiang Xiao
6b1187b402
arch/sim: Change the return type of netdriver_setmacaddr to void
2020-02-12 08:16:23 -06:00
Xiang Xiao
582b2af912
arch/sim: Change syslog to printf in up_tapdev.c
...
since this file is compiled with host environment, can't call NuttX's syslog
2020-02-12 08:16:08 -06:00
YAMAMOTO Takashi
882c82a038
Fix typos in comments
2020-02-12 14:07:56 +01:00
YAMAMOTO Takashi
23b30f7930
Fix typos in comments
2020-02-12 12:17:07 +01:00
YAMAMOTO Takashi
e2ce8d5169
Fix a typo in Kconfig description
2020-02-12 12:01:18 +08:00
Ouss4
2ff43fb8a8
Run files modified by PR239 through nxstyle.
2020-02-11 21:09:12 +00:00
Xiang Xiao
d5ea46c610
boards/sim: Update README.txt to inform about the xhost command.
2020-02-11 21:07:48 +00:00
Xiang Xiao
e6c67bdd78
arch/sim: Drive up_x11update by work to simplify up_idle.
2020-02-11 21:07:22 +00:00
Xiang Xiao
14a82f40d2
arch/sim: Make eventloop as an internal variable to simplify up_idle.
2020-02-11 21:07:12 +00:00
y-sugino
28d7061550
boards: stm32f4discovery: Modify a default path to a romfs image because the stm32f4discovery directory has been moved from configs/ to boards/arm/stm32/
2020-02-11 07:35:40 -06:00
Nicholas C
c4c0d05891
arch/arm/src/imxrt; Adds clock config logic and Kconfig menus for FLEXIO on IMXRT
2020-02-10 20:36:22 -06:00
Gregory Nutt
3c0b49448a
Network Loopback Driver: A configuration option to control packet size.
...
Historically, the loopback driver used the largest packet size of all enabled link layer protocols. This permitted packets to be forward via the loopbak device with no major loss of performance. However, in experimenting with configurations where no other link layer protocols were enabled, this means the loopback packet size was set to the smallest possible size, to the SLIP minimum of 296 bytes. This resulted in terrible loopback performance.
This commit adds an option to increase the loopback packet size with the option CONFIG_NET_LOOPBACK_PACKETSIZE.
The loopback driver packet buffer should be quite large. The larger the loopback packet buffer, the better will be TCP performance of the loopback transfers. The Linux loopback device historically used packet buffers of size 16Kb, but that was increased in recent Linux versions to 64Kb. Those sizes may be excessive for resource constrained MCUs, however.
The network still enforces the lower limit that is the maximum packet size of all enabled link layer protocols. But this new option permits the loopback packet size to be increased from that.
* net/Kconfig: Adds CONFIG_NET_LOOPBACK_PKTSIZE option
* include/nuttx/net/netconfig.h: Assures that the packet size that is used is at least as large as the largest packet size of other link layer protocols.
* drivers/net/loopback.c: Use that larger packet size.
* boards/sim/sim/sim/configs/tcploop/defconfig: Set the loopback packet size to 1500
2020-02-10 22:17:32 -03:00
Gregory Nutt
2af17da334
boards/sim: Add a TCP loopback test.
2020-02-10 21:05:08 +01:00
Ouss4
ac4e6618bb
arch/mips: Clear the software interrupt through a common function
...
implemented in the chip specific code.
2020-02-10 12:40:41 -06:00