Dong Heng
2f4e1c02de
xtensa/esp32: Add WPA2 Enterprise and WPA3 support
2021-03-09 11:20:34 -03:00
Sara Souza
c885e718a7
risc-v/esp32-c3: complements serial driver
2021-03-09 11:17:10 -03:00
Sara Souza
85a93be5d7
risc-v/esp32-c3: Adds timer driver
2021-03-09 11:16:53 -03:00
Sara Souza
d00e97cbca
risc-v/esp32-c3:free cpu in case it was preallocated in wdt driver
2021-03-09 10:57:58 +00:00
Yuichi Nakamura
938b1daf02
arm/rp2040: RP2040 SPI DMA transfer support
2021-03-08 17:37:48 -03:00
Yuichi Nakamura
b69df289bd
arm/rp2040: Add RP2040 DMAC functions
2021-03-08 17:37:48 -03:00
Abdelatif Guettouche
9428ba9186
tools/esp32XX: Delete the Makefile that downloads IDF.
...
That was only to build the bootloader and partition table. Now we have
a repo with pre-built binaries and with instructions on how to
customize the bootloader.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-08 17:34:00 -03:00
Xiang Xiao
88e3231ed9
arch/sim: Don't remove OPOST in the raw mode
...
to ensure '\n' from host library output correctly(translate to '\r\n')
Change-Id: I9ce81adb04ca01cfd8a0ec8e8dc85c7fad848601
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-08 08:39:24 -08:00
Masayuki Ishikawa
5de82de889
boards: sabre-6quad: Add netnsh_smp configuration
...
Summary:
- This commit adds sabre-6quad:netnsh_smp configuration
Impact:
- None
Testing:
- Tested with telnetd, iperf (both -c and -s) with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-08 04:14:03 -08:00
Anthony Merlino
892b6393e3
stm32h7x7xx: Setup UART1 and UART6 clocks as part of APB2 bringup if enabled.
2021-03-08 01:51:54 -08:00
Anthony Merlino
3705202b85
Fix missing IO_CONFIG setting for STM32H747XI
2021-03-08 01:51:54 -08:00
Yuichi Nakamura
b9c5294226
boards/raspberrypi-pico: Support SPI and SD card
2021-03-08 17:06:07 +09:00
Yuichi Nakamura
2d7aabf13b
arm/rp2040: Add RP2040 SPI device support
2021-03-08 17:06:07 +09:00
Yuichi Nakamura
a8d269df98
arm/rp2040: Add rp2040_gpio_init/put/get/setdir()
2021-03-08 17:06:07 +09:00
Anthony Merlino
40217e644f
stm32h7: Allow custom clock configuration to use stdclockconfig
2021-03-07 23:40:29 -08:00
Masayuki Ishikawa
6ba23aabda
Revert "boards: sabre-6quad: The iperf works with CONFIG_NET_TCP_WRITE_BUFFERS"
...
Summary:
- Let me revert the commit because I noticed that performance
with iperf -s is much worth than before.
Impact:
- sabre-6quad:netnsh oly
Testing:
- Tested with iperf (both -c and -s) with QEMU
This reverts commit 07e7ccb80c
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 22:48:17 -08:00
Masayuki Ishikawa
44ed617ab5
Revert "Revert "libs: misc: Remove critical section in lib_filesem.c for SMP""
...
Summary:
- Previous Revert commit was done bacause spresense:rndis_smp was unstable.
- This commit revert the previous revert commit.
This reverts commit d412819160
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
Masayuki Ishikawa
a11764525d
boards: spresense: Update rndis_smp/defconfig
...
Summary:
- This commit adds following parameters to rndis_smp/defconfig
- CONFIG_LIB_SENDFILE_BUFSIZE=1024
- CONFIG_MEMCPY_VIK=y
- CONFIG_MEMSET_64BIT=y
- CONFIG_MEMSET_OPTSPEED=y
- CONFIG_MQ_MAXMSGSIZE=64
Impact:
- rndis_smp only
Testing:
- Tested with nxplayer
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
Masayuki Ishikawa
197187d826
arch: cxd56xx: Fix cxd56_usbdev.c for SMP
...
Summary:
- This commit fixes hardfault when running nxplayer with rndis_smp
Impact:
- SMP only
Testing:
- Tested with rndis_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
Anthony Merlino
67b9f5f9e3
Fix nxstyle issues.
...
# Conflicts:
# arch/arm/src/armv7-m/dwt.h
2021-03-07 02:35:56 -08:00
Anthony Merlino
afd6ad4ff5
arch/armv7-m: Adds dwt helper functions for controlling watchpoints in code.
...
In scenarios where there is suspicion that someone might be touching your data when you don't expect, you can setup a watchpoint, and then guard accesses that you know are valid. If the debugger halts due to the watchpoint, you'll see where the unexpected access is coming from.
2021-03-07 02:35:56 -08:00
ligd
70442d1f9d
net/socket_rpmsg: add net socket rpmsg support
...
Change-Id: Ie23ee4c0052cf2fc66972ea9bc5f11c070fbcf8a
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-07 01:45:51 -08:00
ligd
24cc83e46f
serial/serial_dma.c: fix warnnings
...
serial/serial_dma.c: In function ‘uart_recvchars_done’:
serial/serial_dma.c:407:7: warning: implicit declaration of function ‘nxsig_kill’ [-Wimplicit-function-declaration]
407 | nxsig_kill(dev->pid, signo);
| ^~~~~~~~~~
Change-Id: I9e1c0341ecce3033889d11fff9ec2b9e3dfe303b
2021-03-07 01:45:51 -08:00
ligd
64708ddc7a
drivers/serial/Kconfig: fix configure warnning
...
user should select the default action by self:
warning: (TTY_SIGINT) selects SIG_SIGKILL_ACTION which has unmet direct dependencies (SIG_DEFAULT)
Change-Id: Ied9899d18156742ce4998b40d53a481262dcd84a
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-07 01:45:51 -08:00
YAMAMOTO Takashi
cb9ff5ff99
tools/version.h: If the version is not available, use 0.0.0
...
It's useful when you only have shallow git history handy.
(eg. to save some network bandwidth)
The default value here was chosen to mirror the default of
tools/Makefile.win.
2021-03-06 20:17:44 -08:00
Gustavo Henrique Nihei
95c8c99a3f
tools/nxstyle: Verify relative path in the file header
2021-03-06 20:17:23 -08:00
David Sidrane
da2f9f1357
stm32h7:Ethernet Fixed hardfaults, from too big frames
2021-03-06 03:07:58 -08:00
David Sidrane
ac2e35bb0f
stm32f7:Ethernet Fixed hardfaults, from too big frames
2021-03-06 03:07:58 -08:00
David Sidrane
abda656076
stm32:Ethernet Fix too big frames
2021-03-06 03:07:58 -08:00
Peter Bee
e223f60c09
net/socket: move si_send/recv into sendmsg/recvmsg
...
Implement si_send/sendto/recvfrom with si_sendmsg/recvmsg, instead of
the other way round.
Change-Id: I7b858556996e0862df22807a6edf6d7cfe6518fc
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-03-05 04:46:13 -08:00
Xiang Xiao
90be95bb89
sched: Remove all group id related stuff
...
it is wrong to define a new grpid_t, but not reuse pid_t,
because it make getpid(parent) == getppid(child) impossible.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-05 20:35:22 +08:00
Alin Jerpelea
0a797f1e8b
boards: Makefile: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-05 04:08:55 -08:00
YAMAMOTO Takashi
e05762c488
esp32/memory_layout.h: Replace Gregory Nutt's copyright notice
...
The old copyright notice was inherited from esp32_allocateheap.c.
The new copyright notice was copy-and-pasted from sched_getcpu.c.
2021-03-05 10:15:52 +00:00
YAMAMOTO Takashi
3857d7491f
esp32: Extract memory layout definitions to a separate header
2021-03-05 10:15:52 +00:00
ligd
1d66d5c297
debug tools: add heap & stack check in idle thread
...
N/A
Change-Id: Iba6f5cdffb1336697096c71fca86c9ece584225f
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-04 18:38:05 -08:00
Alin Jerpelea
ccff570e6f
drivers: nxstyle fixes
...
nxstyle fixes to pass the CI.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-04 18:32:27 -08:00
Alin Jerpelea
e5b6305f4a
drivers: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-04 18:32:27 -08:00
Gustavo Henrique Nihei
49147fbe3c
include: Add iso646.h for alternative spellings
2021-03-04 18:32:12 -08:00
Xiang Xiao
d9cfeb0bc3
sched: Don't forward gettid to getpid directly
...
prepare to implement the right semantics:
getpid should return the main thread id
gettid should return the current thread id
2021-03-04 17:17:41 -06:00
Gustavo Henrique Nihei
cd02fd1700
xtensa/esp32: Add support for I2C tracing
2021-03-04 22:09:37 +00:00
Jiuzhu Dong
48493dac5b
telnet: fix crash about telnet client connect
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-05 06:55:17 +09:00
Gustavo Henrique Nihei
1aebe47c71
xtensa/esp32: Use OR operation when configuring pin driver
2021-03-04 16:36:48 +00:00
Gustavo Henrique Nihei
23f0d8c17b
xtensa/esp32: Fix default GPIO function when no option is provided
2021-03-04 16:36:48 +00:00
Gustavo Henrique Nihei
9c366aad94
xtensa/esp32: Allow pin to be configured as Input and Output simultaneously
2021-03-04 16:36:48 +00:00
Gustavo Henrique Nihei
210a77de93
xtensa/esp32: Configure GPIO as INPUT only when required
2021-03-04 16:36:48 +00:00
Gustavo Henrique Nihei
37ac70b7d9
xtensa/esp32: Add configuration for testing BMP180
2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
0735e8c2a7
xtensa/esp32: Fix BMP180 erroneously depending on I2C_DRIVER
2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
fa36897541
risc-v/esp32c3: Fix Kconfig file formatting
2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
f5342d00fc
xtensa/esp32: Fix Kconfig file formatting
2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
984e0f0ec9
xtensa/esp32: Add missing option for I2C reset
2021-03-04 16:31:51 +00:00