Xiang Xiao
1c024a6d39
Remove the argument from get_errno
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 12:22:03 -03:00
Gregory Nutt
542b684f73
arch/arm: Rename all up_*.S files to arm_*.S
...
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private files begin with the name of the architecture, not up_.
This PR addresses only these name changes for the up_*.S files.
The entire job required to be compatible with that Naming Convention will also require changing the naming of the up_() functions that are used only within arch/arm and board/arm.
Impact
There should be not impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
2020-05-01 11:29:11 -03:00
Xiang Xiao
f8a809eb5b
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 10:43:47 -03:00
Xiang Xiao
eca7059785
Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 10:43:47 -03:00
Xiang Xiao
fe5cb9529d
builtin: Remove HAVE_BUILTIN_CONTEXT macro
...
it's enough to decide which code should be compiled with CONFIG_BUILTIN and CONFIG_FS_BINFS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 10:43:47 -03:00
YAMAMOTO Takashi
8b054dba98
sim: Update hostfs after the recent struct stat timespec changes
...
Fix it after the following change:
commit bb4458b63f
Author: Ouss4 <abdelatif.guettouche@gmail.com>
Date: Thu Apr 30 19:05:12 2020 +0100
include/sys/stat.h: Per the POSIX standard, the atime, ctime and mtime field
s
have changed their type from time_t to struct timespec.
2020-05-01 17:42:46 +08:00
liuhaitao
6b4cc3011c
Remove the residual files in distclean
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-01 04:43:15 +01:00
Ouss4
21302fcdae
arch/risc-v/src: Rename files starting by up_ to risc_ to conform to the
...
naming standard.
2020-04-30 20:48:32 -06:00
Gregory Nutt
037c9ea0a4
arch/arm: Rename all up_*.h files to arm_*.h
...
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private files begin with the name of the architecture, not up_.
This PR addresses only these name changes for the up_*.h files. There are only three, but almost 1680 files that include them:
up_arch.h
up_internal.h
up_vfork.h
The only change to the files is from including up_arch.h to arm_arch.h (for example).
The entire job required to be compatible with that Naming Convention will also require changing the naming of the up_() functions that are used only within arch/arm and board/arm.
Impact
There should be not impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
2020-05-01 03:43:44 +01:00
Gregory Nutt
ee05672434
Run all .c and .h files modified by this PR through nxstyle.
2020-05-01 02:11:01 +01:00
Gregory Nutt
c6c712b2fc
arch/arm: Rename all up_*.c files to arm_*.c
2020-05-01 02:11:01 +01:00
Gregory Nutt
a86884c615
Run all .c and .h files modifed in this PR through nxstyle.
2020-04-30 22:09:51 +01:00
Gregory Nutt
84ccee4d34
Rename up_switchcontext to arm_switchcontext
2020-04-30 22:09:51 +01:00
Gregory Nutt
6398a64e26
Rename up_saveusercontext to arm_saveusercontext
2020-04-30 22:09:51 +01:00
Gregory Nutt
3a82a20c90
Rename up_copyarmstate to arm_copyarmstate
2020-04-30 22:09:51 +01:00
Gregory Nutt
3d2cd1493f
Rename up_copyfullstate to arm_copyfullstate
2020-04-30 22:09:51 +01:00
Ouss4
bb4458b63f
include/sys/stat.h: Per the POSIX standard, the atime, ctime and mtime fields
...
have changed their type from time_t to struct timespec.
2020-04-30 12:10:22 -06:00
Xiang Xiao
b1e661e7db
sama5/sam_tsd: Fix error: 'ret' may be used uninitialized
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-30 11:43:29 -06:00
Gregory Nutt
a7558cf9b9
Run all .c and .h modified by the PR through nxstyle.
2020-04-30 18:38:32 +01:00
Gregory Nutt
e2a65ceb5f
Rename up_fullcontextrestore to arm_fullcontextrestore
2020-04-30 18:38:32 +01:00
Gregory Nutt
317a8a8942
arch/z16: Build update
...
Verfy build. Update to latest 2.2.2 toolchain.
2020-04-30 16:58:06 +01:00
liuhaitao
55ff12ad66
arch/arm/src/common/up_exit.c: _exit should call arm_fullcontextrestore for armv8-m
...
Since armv8-m now uses arm_fullcontextrestore instead of up_fullcontextrestore, _exit
should call arm_fullcontextrestore for armv8-m accordingly.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-30 08:47:10 -06:00
Marcelo Teider Lopes
40c990f4f3
Add missing Elf_Addr typedef
...
This fixes a compilation error when exceptions are enabled, as it
depends on the Elf_Addr symbol.
2020-04-30 08:46:21 -06:00
liuhaitao
bab61180db
sim: Add host mmap and perror support
...
Change-Id: I20bb8cba7ed6ab3e06c91f275fa2be6a633efe9e
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-30 20:20:32 +08:00
Oxore
aeebbd0803
fs_tmpfs.c: Shorten long lines according to codestyle
2020-04-30 01:04:33 -07:00
Oxore
1dcf2c7ca3
tmpfs: Fix tmpfs_foreach recursively removing files in directories
...
Fixes #912
2020-04-30 01:04:33 -07:00
Masayuki Ishikawa
e479a97aec
boards: spresense: Enable tcpblaster and udpblaster for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Masayuki Ishikawa
1e47d60032
boards: spresense: Improve memcpy/memset performance for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Masayuki Ishikawa
350ffb20ad
drivers: wireless: Improve packet receiving performance in gs2200m.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Masayuki Ishikawa
a5e4f0435d
drivers: wireless: Fix packet queue overflow in gs2200m.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Xiang Xiao
45c168c5ef
sched/paging: Fix error: variable 'result' set but not used
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 21:40:29 -06:00
Gregory Nutt
1aa9ff8af2
Run .c and .h files in this PR through nxstyle and fix complaints
2020-04-29 22:30:54 -03:00
Gregory Nutt
f23a756349
arch/z16: Correct file naming for coding standard
...
Rename all up_* files to conform to the name conventions of https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ
Rename all internal functions from up_* z16_
2020-04-29 22:30:54 -03:00
Ouss4
d0bb7c137a
Use NuttX's signal set functions inside the OS.
2020-04-29 16:40:27 -06:00
Xiang Xiao
5d12735f34
sama5d3x-ek/nxwm: Fix error: 'g_adcdev' undeclared
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 14:04:14 -06:00
Xiang Xiao
1692c90d15
Revert "sama5d3x-ek/nxwm: Fix error: 'g_adcdev' undeclared"
...
This reverts commit ab2e24b42b
.
2020-04-29 14:04:14 -06:00
Xiang Xiao
ddda00ea65
Kconfig: Refine BUILD_FLAT, BUILD_PROTECTED and BUILD_KERNEL usage
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 12:16:18 -06:00
Gregory Nutt
fd38623aac
mm/iob/iob_clone.c: Correct newline character
...
Another place where /n is used where \n was intended.
2020-04-29 18:11:00 +01:00
Yang Chung-Fan
bebc8875fb
arch: x86_64: add no-relax to the linker flags
2020-04-29 09:29:03 -07:00
Xiang Xiao
bf7dcbcfe2
sched/paging: Fix typo error in Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 10:26:29 -06:00
Xiang Xiao
36108d814e
lpc31xx/ea3131: Fix error: libboard.a can't find
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 10:26:29 -06:00
Xiang Xiao
1c483d8ed4
arm/up_allocpage: fix warning: "PG_POOL_MAXL1NDX" is not defined
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 10:26:29 -06:00
Xiang Xiao
5b839061f9
net/usrsock: fix error: variable 'pos' is used uninitialized
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
c82b446fa9
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
304ecb2552
mikroe-stm32f4/fulldemo: Fix undefined reference to `stm32_spi2register'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
ab2e24b42b
sama5d3x-ek/nxwm: Fix error: 'g_adcdev' undeclared
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
ed2b56799a
stm32/mikroe-stm32f4: Fix the several macros undefine issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
01ad7a82a3
stm32/mikroe-stm32f4: Fix nsh_romfsimg.h can't find
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
d2a262672c
tiva/cc13x0: fix error 'TIVA_GPIO_BASE' undeclared
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00
Xiang Xiao
e006054dfc
lpc31xx/ea3131: Fix ld-locked.inc can't find
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:10:44 -06:00