Commit Graph

36155 Commits

Author SHA1 Message Date
Saito Yutaka
db4e2dbb6e Update NuttxPortingGuide.html
Fix typo
2020-02-15 06:57:32 -06:00
YAMAMOTO Takashi
6be378221a tiva/lm3s6965-ek: Add bringup() function
A shrinked copy of the sim version.
I changed the license to apache 2.0 with a permisson from @patacongo.
2020-02-14 10:26:56 -06:00
Gregory Nutt
75e3af0985 tools/nxstyle: Allow mixed case system calls.
System calls have mixed case.  They begin with SYS_ but then are followed by the system function name in lower case.
2020-02-14 17:22:18 +01:00
YAMAMOTO Takashi
953b79260e tiva/lm3s6965-ek: Add module/elf definitions
Basically a copy-and-paste from spresense.
But I added -mlong-calls for ELF to avoid out of range relocations.
(Isn't it necessary for spresense?)

gnu-elf.ld is a copy from stm32f4discovery. I changed the license
of this file with a permisson of @patacongo.
2020-02-14 10:14:23 -06:00
Gregory Nutt
10623f65b0 arch/risc-v/src/k210/up_schedulesigaction.c: Fix some long lines. 2020-02-14 09:37:24 -06:00
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