Abdelatif Guettouche
d85c432278
Few typos fixes in binfmt and libc/machine.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-11 10:35:40 +08:00
hotislandn
d898bc445c
arch:rv64:c906:enable DP FPU support.
...
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-11 10:34:47 +08:00
Abdelatif Guettouche
07b65d10f1
tools/esp32/Config.mk: Revert part of "Don't abort make when QEMU script
...
fails"
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-10 19:23:48 +08:00
hotislandn
5e50938726
arch:riscv64:basic porting for C906.
...
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-10 19:23:24 +08:00
Xiang Xiao
f292b67dce
arch/sim: Remove DRVLIB and reuse STDLIBS instead
...
Change-Id: I5f79eca9039a296eca705d25b3541199a7fbaf9e
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-09 23:33:16 -08:00
buyuer
097df2669c
drivers/sensor: fakesensor support batch.
...
Signed-off-by: buyuer <dingddding@163.com>
2021-03-10 14:16:38 +08:00
YAMAMOTO Takashi
16d3e787de
xtensa hostfs: Make host_stat populate st_size
...
A clumsy implementation using lseek.
This would allow more applications to use hostfs directly.
Tested lightly with CONFIG_EXAMPLES_STAT.
2021-03-10 14:15:24 +08:00
Masayuki Ishikawa
2c753be0df
Revert "arch: cxd56xx: Fix cxd56_usbdev.c for SMP"
...
Summary:
- The original commit was added to avoid hardfault but the
root cause was the stack corruption which has been fixed by
the previous commit. So let me revert the original commit.
Impact:
- SMP only
Testing:
- spresense:rndis_smp with nxplayer + telnet
This reverts commit 197187d826
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-10 14:14:52 +08:00
Masayuki Ishikawa
06a81db203
boards: spresense: Update rndis_smp/defconfig
...
Summary:
- This commit updates rndis_smp/defconfig
- Adjust stack size to avoid hardfault
- Remove CONFIG_NET_TCP_WRITE_BUFFERS temporarily to avoid
unstable behaviors with nxplayer + telnet
Impact:
- spresense:rndis_smp only
Testing:
- Tested with nxplayer, telnet
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-10 14:14:52 +08:00
Pedro Bertoleti
9b7d0a01e4
Add BMP180 sensor support.
2021-03-09 18:33:24 -03:00
Abdelatif Guettouche
05f1f3518b
tools/esp32: Continue the build if the QEMU script fails.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-09 18:05:35 -03:00
Abdelatif Guettouche
e94bf12929
tools/esp32xx/: Always flash with DIO.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-09 18:05:35 -03:00
Virus.V
c34667b450
risc-v/bl602:fix bl602_flash_erase to erase the wrong block
2021-03-09 07:56:00 -08:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
13535d8725
linkerfiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f
makefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
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