Gustavo Henrique Nihei
6c3223289f
xtensa/esp32: Add Secure Boot support on top of MCUboot
...
This adds the capabitlity of building signed images on NuttX.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-21 07:02:40 -06:00
Juha Niskanen
54b652235c
Update arch/Kconfig
...
Co-authored-by: Gustavo Henrique Nihei <38959758+gustavonihei@users.noreply.github.com>
2021-12-21 03:26:16 -06:00
Juha Niskanen
422ceec99b
Fix typos in comments and Kconfig files
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-12-21 03:26:16 -06:00
chao.an
1e83c83bf3
net/usrsock: increase the send/recv() length limit to UINT32_MAX
...
change request type to uint32_t to the impove the throughput
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-21 03:14:25 -06:00
chao.an
287348475c
sim/usrsock: increase the sim usrsock buffer size
...
1. Increase the sim usrsock buffer size:
arch/sim/src/sim/up_usrsock.c
2. Fix build break
arch/sim/src/sim/up_usrsock_host.c
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-21 00:53:31 -06:00
Simon Filgis
6cc48ff6ff
arch/arm/samv7: initial support for LIN bus communication
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-20 18:23:05 -03:00
chao.an
928426295f
input/ads7843e: complement critical section operation
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-20 12:35:03 -06:00
chao.an
ce1c8413a2
libc/lzfcompress: add lzf compress stream
...
compress stream based on lzf algorithm:
struct lib_rawoutstream_s rawstream;
struct lib_lzfoutstream_s lzfstream;
lib_rawoutstream(&rawstream, fd);
lib_lzfoutstream(&lzfstream, &rawstream);
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-20 08:39:33 -06:00
Petro Karashchenko
d445282566
fs/vfs: Add file descriptor based timers support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-20 04:00:20 -06:00
Xiang Xiao
187d9e58c9
Remove the unnecessary inclusion of assert.h and string.h from public header files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-20 10:30:08 +01:00
Petro Karashchenko
3e76c3266e
assert: unify stack and register dump across platforms
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-20 00:02:12 -03:00
Petro Karashchenko
67d8a82393
Kconfig: fix non-string default values uniformity
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-20 00:10:57 +01:00
Xiang Xiao
c562263205
net: Move if_nametoindex and if_indextoname to libc
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 10:08:57 -06:00
Xiang Xiao
882bc8639c
net: Add NET_SOCK_[FAMILY|TYPE|PROTOCOL] defintion to netconfig.h
...
to help create a general sock for ioctl operation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 10:08:57 -06:00
Xiang Xiao
0896d0680b
eventfd: Change mode_semaphore from uint8_t to bool
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 01:41:11 -06:00
Xiang Xiao
54e1c27e43
eventfd: Typedef eventfd_t to uint64_t on the supported platform
...
to compliant with Linux implementation as much as possible
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 01:41:11 -06:00
Xiang Xiao
76a4ca01a3
eventfd: Change minor type from size_t to unsigned int
...
to avoid the potential overflow devpath buffer on 64bit platform
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 01:41:11 -06:00
Xiang Xiao
8cb24a2964
eventfd: Fix the typo error
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 01:41:11 -06:00
Xiang Xiao
f9c1117c88
eventfd: Remove the unused and private eventfd_get_minor
...
since it isn't defined by Linux kernel too
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-12-19 01:41:11 -06:00
David Sidrane
e269b5fa28
Revert "stm32h7 sdmmc: set SDMMC_CK pin to high speed (50 MHz) mode. When it was in slow speed mode (by default), the output SDMMC_CK clock rise and fall times were about 13 ns each, that were very slow and prevented some SDIO devices from working."
...
This reverts commit 0aecfe8691
.
2021-12-19 01:40:35 -06:00
chao.an
c1c1882783
sim/usrsock: Reuse all addresses to avoid bind fail
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-18 13:15:46 -06:00
raiden00pl
87a8b1bed9
nrf52/Kconfig: NRF52_SDC_LE_CODED_PHY not available for nrf52832
2021-12-18 12:27:59 -06:00
raiden00pl
f3fdd5a019
arch/arm/src/nrf52/Kconfig: select IRQPRIO for SoftDevice
2021-12-18 09:13:36 -06:00
raiden00pl
a6c64795f4
arch/arm/src/nrf52/nrf52_sdc.c: raise error if BT device not selected
2021-12-18 09:13:36 -06:00
Ryan Abel
fd9ef2f6a2
fix: Correct issues with userled support on the Nucleo F4x1RE.
...
Remove space following left parenthesis.
Add space after comment.
Update stm32_bringup.c
2021-12-18 09:11:44 -06:00
raiden00pl
5ac469441e
wireless/bluetooth/bt_hcicore.c: allocated recv buffer must reserve BLUETOOTH_H4_HDRLEN for head
...
This was broken since 6c69b12000
.
The first byte in io_data buffer must be the BT H4 packet type.
Without this change an assertion in bt_netdev.c:535 is always raised and nimble host layer crash.
2021-12-18 09:11:29 -06:00
Diego Herranz
34c7bec0dc
drivers/sensors/hdc1008: fix formatting after decimal point
...
Modulo operation used to calculate digits after decimal point,
but if that result is <10, a leading zero wasn't added, giving a
wrong value.
2021-12-17 23:36:38 -06:00
Diego Herranz
1fe41381d5
drivers/sensors/hdc1008: include signal.h
...
Fix implicit declaration warning of nxsig_usleep.
2021-12-17 23:36:38 -06:00
Jiuzhu Dong
9fb130cdea
mm/circbuf: add sanity check for resize
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-12-17 23:36:07 -06:00
Jiuzhu Dong
153254a496
sensor: reset interval,latency and circbuf when sensor is closed
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-12-17 23:36:07 -06:00
raiden00pl
cf2dae8d79
arch/arm/src/nrf52/nrf52_sdc.c: nxstyle fixes
2021-12-17 12:35:17 -06:00
raiden00pl
af143c96fc
arch/arm/src/nrf52/nrf52_sdc.c: public device address and static device address support
2021-12-17 12:35:17 -06:00
raiden00pl
c7f6ac63b0
arch/arm/src/nrf52/nrf52_sdc.c: add option to register UART H4 device
2021-12-17 12:35:17 -06:00
raiden00pl
23ef3ea64c
arch/arm/src/nrf52/nrf52_sdc.c: remove nedless new lines
2021-12-17 12:35:17 -06:00
raiden00pl
26951f5018
arch/arm/src/nrf52/nrf52_sdc.c: print HCI opcode as hex
2021-12-17 12:35:17 -06:00
raiden00pl
07c9204fd6
arch/arm/src/nrf52/nrf52_sdc.c: fix status byte offset
2021-12-17 12:35:17 -06:00
raiden00pl
ab66800e13
arch/arm/src/nrf52/Kconfig: fix typos
2021-12-17 12:35:17 -06:00
raiden00pl
ba6e8696b2
arch/arm/src/nrf52/hardware/nrf52_ficr.h: add device address types
2021-12-17 12:35:17 -06:00
Jiuzhu Dong
f35c6d7ef1
syslog/rpmsg: using up_putc to force flush syslog_rpmsg buffer
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-12-17 11:43:08 -06:00
Jiuzhu Dong
5a22d33475
up_putc: do up_putc when enable CONFIG_ARCH_LOWPUTC
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-12-17 11:43:08 -06:00
anjiahao
9a53601ba9
sched:add holder in sem_trywait
...
Avoid priority rollover
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-12-17 11:28:27 -06:00
chao.an
b10dcf7c0d
net/udp: fix the invaild udp destination address
...
If the udp socket not connected, it is possible to have
multi-different destination address in each iob entry,
update the remote address every time to avoid sent to the
incorrect destination.
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-17 11:25:06 -06:00
raiden00pl
26c7ec5087
boards/arm/nrf52/nrf52832-dk: add sdc support
2021-12-17 11:24:48 -06:00
raiden00pl
4812f9f390
boards/arm/nrf52/nrf52840-dk: add sdc support
2021-12-17 11:24:48 -06:00
raiden00pl
2bb01b25bd
boards/arm/nrf52/nrf52832-dk: add procfs support
2021-12-17 11:24:48 -06:00
raiden00pl
ff25063c62
boards/arm/nrf52/nrf52840-dk: add procfs support
2021-12-17 11:24:48 -06:00
Gustavo Henrique Nihei
3eec9fcb9b
ci: Use GitHub Actions concurrency for cancelling duplicate jobs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-17 11:24:08 -06:00
raiden00pl
07d295b8db
add 5-Clause Nordic License barrier for Nordic SoftDevice Controller
2021-12-17 11:22:39 -06:00
Jiuzhu Dong
f04ca25f9d
tmpfs: support fsync always successful
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-12-17 13:27:21 -03:00
raiden00pl
e2c9f612c9
sched/init/nx_start.c: fix compile break when CONIFG_TASK_NAME_SIZE=0
2021-12-17 10:29:00 +01:00