Huang Qi
a97a6e1539
sim: Add a new config minmea to detect build break
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-29 18:08:53 +08:00
xiaoxiang
5548676ab5
sched: Fix macro "SCHED_NOTE_PRINTF" requires 3 argumnets, but only 1 given
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-29 12:04:50 +02:00
Xiang Xiao
8e895fee76
borads/z80: Remove the woraround for CHECK_[ALLOC|FREE]NODE_SIZE
...
since both macros are removed by:
https://github.com/apache/incubator-nuttx/pull/5585
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-28 06:35:16 +02:00
Xiang Xiao
c7f9d9b150
borads/z80: Remove the known issue about lib_strtof.c
...
since it's fixed by:
https://github.com/apache/incubator-nuttx/pull/6909
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-28 06:35:16 +02:00
Huang Qi
e0185faa78
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 03:07:58 +08:00
Xiang Xiao
38af5befad
bt_bridge: Fix error: address argument to atomic operation must be a pointer to _Atomic type
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-27 22:38:43 +08:00
chengkai
b352a625bf
arch/sim: add bth4 bridge codes
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-27 22:38:43 +08:00
raiden00pl
d7e2704dff
arch/stm32/stm32_adc.c: cosmetics
2022-08-27 20:40:06 +08:00
raiden00pl
b01ea50e44
arch/stm32/stm32_foc.c: cosmetics
2022-08-27 20:40:06 +08:00
raiden00pl
c563d8a993
arch/stm32/stm32_pwm.c: cosmetics
2022-08-27 20:40:06 +08:00
raiden00pl
9a85a0959a
stm32/Kconfig: remove the unnecessary option
2022-08-27 20:40:06 +08:00
ligd
51d31cc4a2
cpuload: fix cpuload error
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-08-27 20:39:41 +08:00
chengkai
40f7872668
wireless/bluetooth:add btsnoop for bt bridge
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-27 15:57:30 +08:00
chengkai
7a7b5e5779
wireless/bluetooth:add bt bridge codes
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-27 15:57:30 +08:00
zouboan
b933ea63c4
as5048b.c: change initialization of struct to C89 standard
2022-08-27 07:24:21 +02:00
Gustavo Henrique Nihei
a5fd1140cb
arch/xtensa: Remove non-existent ARCH_HAVE_TESTSET support for ESP32-S2
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-27 06:14:57 +02:00
Fotis Panagiotopoulos
4b6d4de972
sim: Added gcov dump on application exit.
2022-08-26 23:58:30 +08:00
yangxuan8282
9c0b71469c
fs/aio: fix typo ail
2022-08-26 20:58:45 +08:00
chao.an
162fcd10ca
net: cleanup pvconn reference to avoid confuse
...
More reference:
https://github.com/apache/incubator-nuttx/pull/5252
https://github.com/apache/incubator-nuttx/pull/5434
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 20:58:11 +08:00
chao.an
ea621599fd
net: remove pvconn reference from all devif callback
...
Do not use 'pvconn' argument to get the connection pointer since
pvconn is normally NULL for some events like NETDEV_DOWN.
Instead, the connection pointer can be reliably obtained from the
corresponding private pointer.
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 20:58:11 +08:00
Michael Jung
1ad066955f
Avoid assertion violation in case of kmm_free(NULL)
...
It is ok to call kmm_free with a NULL pointer. Thus adopt the
DEBUGASSERT statement to cover this case.
Signed-off-by: Michael Jung <michael.jung@secore.ly>
2022-08-26 20:47:05 +08:00
yangxuan8282
2d32ebe952
arch/arm/src/stm32f7/stm32_otghost.c: fix syslog formats
2022-08-26 20:46:50 +08:00
Huang Qi
a1afd66d19
boards/k210/maix-bit: Fix a typo in README
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-26 20:46:34 +08:00
yangxuan8282
448c53a6f6
boards/arm/stm32f7/nucleo-144/src/stm32_usb.c: fix CONFIG_STM32F4DISCO_USBHOST_PRIO && CONFIG_STM32F4DISCO_USBHOST_STACKSIZE
2022-08-26 20:46:18 +08:00
Masayuki Ishikawa
e68c975c41
boards: lm3s6965-ek: Fix to load ELF applications for qemu-protected
...
Summary:
- I noticed that error happens in loading nettest elf application.
- This commit fixes this issue by adding SYMTAB to the NSH
as well as adjusting some parameters in CONFIG_ELF_XXX
- Also, CONFIG_EXAMPLES_HELLO is changed from y to m for testing.
Impact:
- lm3s6965-ek:qemu-protected only
Tested:
- Tested with qemu-6.2
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-26 18:11:42 +08:00
chao.an
77a99acc98
net/icmpv6: fix build break "duplicate macro parameter"
...
Error: net/icmpv6/icmpv6.h:442:33: error: duplicate macro parameter "d"
# define icmpv6_setaddresses(d,d,p,p) (0)
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 10:00:22 +02:00
zhanghongyu
cc421e43e4
icmpv6: add NTOHL when parse ICMPV6 option MTU
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 10:00:22 +02:00
luojun1
00cf3e559d
update IPv6 NIC parameters unconditionally when ICMPv6 RA is received
...
Signed-off-by: luojun1 <luojun1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 10:00:22 +02:00
luojun1
7c2986bb34
finetune the RA parsing procedure
...
Signed-off-by: luojun1 <luojun1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-26 10:00:22 +02:00
Simon Filgis
423ee67554
Double the MMCSD_IDLE_DELAY from 50ms to 100ms because I found one card that needs this to work after initial CMD0.
2022-08-26 13:37:08 +08:00
Gustavo Henrique Nihei
2fb8af0c20
xtensa: Refactor up_fpucmp to only consider enabled coprocessors
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-26 11:57:06 +08:00
Gustavo Henrique Nihei
fe2d37aa33
xtensa: Fix allocation of FPU registers in exception context
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-26 11:57:06 +08:00
Gustavo Henrique Nihei
5ed2ee85c9
arch: Improve documentation for up_fpucmp function
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-26 11:57:06 +08:00
Gustavo Henrique Nihei
e31e69aa30
xtensa: Fix comparison result for up_fpucmp function
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-26 11:57:06 +08:00
Takayoshi Koizumi
ea5ba0113e
spresense/configs: Add fmsynth defconfig
...
Add a defconfig for using fmsynth audio utility library.
2022-08-26 11:12:15 +09:00
Eero Nurkkala
71ace555f2
risc-v/mpfs: ihc: fix performance issue
...
nxsig_usleep() will wait for the next timer tick which is way
too much here. It's not sleeping 100 us, but rather, near 1/60 s.
This causes severe performance problems. Fix this by polling the
register for a while if the remote end is busy.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-08-26 02:12:26 +08:00
Xiang Xiao
130b196876
Refine how to specify iob and ramlog data section
...
1.Remove the default value(.bss)
2.Remove !ARCH_SIM dependence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-25 14:05:17 +02:00
Fotis Panagiotopoulos
9bc47ecdce
Added lock in ifr ioctl calls.
2022-08-25 14:02:20 +02:00
chao.an
9cb17841d8
net/sockopt: move BINDTODEVICE to socket level
...
rename the UDP_BINDTODEVICE to SO_BINDTODEVICE to follow the linux
style to be compatible with non-UDP protocol binding requirements
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-25 17:56:52 +08:00
Masayuki Ishikawa
50177dbae1
arch: common: Fix arm_allocateheap.c for BUILD_KERNEL
...
Summary:
- I noticed that the kernel heap area overlaps the PGPOOL
- This commit fixes this issue
Impact:
- None
Testing:
- Tested with sabre-6quad:netknsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-25 13:38:47 +08:00
Huang Qi
e4e3208180
Replace all strncpy with strlcpy for safety
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-25 13:38:36 +08:00
Gustavo Henrique Nihei
96f77cb6a6
xtensa/esp32s3: Fix alignment of FPU registers in exception context
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-25 10:07:25 +08:00
Gustavo Henrique Nihei
1014c3e795
esp32s3: Fix Data allocation offset within shared Internal SRAM1
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-08-25 10:06:31 +08:00
Nathan Hartman
1d622b6f79
arch/tiva: Fix typo and minor code formatting
2022-08-24 21:29:18 +02:00
chao.an
da6d526e9c
arch/sim: fix visual studio Linker Tools Error LNK2019
...
nuttx_all.lib(up_initialstate.obj) : error LNK2019:
unresolved external symbol '___builtin_frame_addres' referenced in function '_up_getsp'
Return stack pointer from esp
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-24 21:59:07 +08:00
chengkai
d78ffeca71
serial/uart/h4: add ioctl interface
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-24 21:42:58 +08:00
chengkai
841d8f5b37
net:add btsnoop and snoop
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-24 21:42:30 +08:00
Jukka Laitinen
c7a904fa12
arch/risc-v/src/mpfs: Fixes for MSSIO GPIO configurations
...
- Clarify the macros MSSIO_EC_DEFAULT and MSSIO_EC_USB_DEFAULT
- Remove PULLDOWN bit from MSSIO_EC_DEFAULT, it was on by accident
- Fix some EC configuration macros; DRVSTR was wrong, clean up the others
- Define GPIO_PULLUP and GPIO_PULLDOWN like on many other platforms
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-08-24 19:25:05 +08:00
chengkai
4ee39f6e9a
libc: add lib_dump utils
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-24 16:58:10 +08:00
chao.an
a93b703994
arch/sim/wchar_t: fix visual studio Compiler Error C2371
...
type of 'wchar_t' confilt with vcruntime:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\vcruntime.h(228,28):
error C2371: 'wchar_t': redefinition; different basic types
D:\code\incubator-nuttx\include\sys/types.h(174): message : see decaration of 'wchar_t'
typedef wchar_t as unsigned char to compatible with vcrtuntime
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-24 16:52:03 +08:00