Xiang Xiao
81e63e3a63
serial: Remove the unnecessary critical section in uart_pollnotify
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-02 15:46:53 -07:00
David Sidrane
9b29641bf5
s32k1xx:eeprom fix missing debug.h
2021-06-02 17:36:06 -03:00
Sara Souza
7dd131b4c1
xtensa/esp32: Fixes support for HW flow control
2021-06-02 09:55:50 -05:00
Jiuzhu Dong
ed6b257fa4
syslog: support ramlog, up_putc, rpmsg_syslog coexist
...
N/A
Change-Id: Ia58c7e195da7ad48f3018a131a78b2f01f94e741
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-02 08:45:20 -05:00
Jiuzhu Dong
01ff3604b0
syslog/Kconfig: support config multi syslog channel
...
delete choice for select syslog log device
Change-Id: Ifc02e687526506afac46febec375062949869356
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-02 08:45:20 -05:00
Jiuzhu Dong
e21fddbb34
syslog/emerg: fix bug about printing LOG_EMERG log from iob buffer
...
The patch is related to: commit 5f7c98b6e1b6da9f4765572a63ac678d407c8095
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Mon May 17 22:38:22 2021 +0800
drivers/syslog: Remove emergstream implementation and caller
since emergstream always call syslog_force, but syslog_force is designed
for the interrupt context, and then doesn't mean any emergency thing.
On the other hand, emergstream has other bad side effect:
1.Can't output to file or dev channel
2.Can't work well with the interrupt buffer
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-02 10:25:19 -03:00
tobias2johansson
57d823b69d
pcm_decode: correction to RAW format support
...
corrects misplaced preprocessor directives for CONFIG_AUDIO_FORMAT_RAW
2021-06-02 02:27:36 -05:00
tobias2johansson
ac32d1a68e
libs/libc/audio/libsrc: update header location
...
update Make.defs with the correct path to the library header and
make sure it can be found
2021-06-02 02:27:36 -05:00
Masayuki Ishikawa
4d492104a7
binfmt: Introduce a separate text memory for ELF
...
Summary:
- This commit introduces a separate text memory for ELF
- The logic is similar to modlib
Impact:
- None
Testing:
- Tested with spresense:elf
- NOTE: needs separate commits
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-02 02:27:04 -05:00
Xiang Xiao
bebdbc5c87
binfmt: Remove filename/exports/nexports from binary_s
...
to simplify the life cycle management
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-02 15:20:38 +09:00
Xiang Xiao
cf78a5b6cf
binfmt: Move argv copy into exec_module
...
and remove the related fields from struct binary_s
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-02 15:20:38 +09:00
Sara Souza
a54fe4ee1e
xtensa/esp32-s2: Add support for serial HW flow control.
2021-06-01 21:37:37 -05:00
Sara Souza
b54be4e946
risc-v/esp32-c3: Add support for HW flow control.
2021-06-01 21:37:27 -05:00
Gustavo Henrique Nihei
24c206b3f8
risc-v/esp32c3: Add DMA support for the SPI Slave controller
2021-06-01 21:37:09 -05:00
Gustavo Henrique Nihei
15a93ae974
risc-v/esp32c3: Remove Master-only settings on SPI Slave driver
2021-06-01 21:37:09 -05:00
Jiuzhu Dong
aeb7ed8c53
syslog/ramlog: initialize g_sysdev based on the current ramlog buffer
...
by ramlog_initbuf();
Algorithm: Scan the entire ramlog buffer, the position of the head
is the first byte is not empty and second byte is empty. The position
of the tail is the first byte is empty and second byte is not empty.
Change-Id: Ieb9161bd670481cd335e9a901287cd5e589f0849
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-01 15:16:45 -03:00
Jiuzhu Dong
ec38d0ce98
syslog/ramlog: save ramlog to fixed section
...
we can reload ramlog after hot reboot.
Change-Id: Iee7c105a2358075302121d6bf0047bc54d07e9a6
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-01 15:16:45 -03:00
Jiuzhu Dong
4ae6862bbe
syslog: fix bug about syslog_default_write
...
Change-Id: I6d8b5bce8071f11b1903fe1fa0fe8dbc34bf3a09
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-06-01 12:44:17 -05:00
Abdelatif Guettouche
2004acdeb1
boards/esp32s2: Remove anything that has to do with QEMU since it's not
...
supported.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 12:43:15 -05:00
Abdelatif Guettouche
672b8000f5
boards/xtensa/esp32s2/esp32s2-saola-1/scripts/.gitignore: Ignore the
...
generated linker script file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 10:31:26 -05:00
Abdelatif Guettouche
9f4a5e67da
docker/linux: Add ESP32-S2 toolchain and binaries.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 09:08:52 -05:00
Alan C. Assis
929a4a7278
Fix dangling whitespace at the end of line
2021-06-01 07:49:54 +02:00
Sara Souza
f1d653c08c
xtensa/esp32-s2: Adds support for serial driver, lowputc and termios.
2021-06-01 07:49:54 +02:00
Alan C. Assis
06795a221a
Clean ESP32S2 Xtensa files
2021-06-01 07:49:54 +02:00
Abdelatif Guettouche
8347a56bc0
Improve and remove not necessary board configuration
2021-06-01 07:49:54 +02:00
Abdelatif Guettouche
fccd5fbdd2
esp32s2_allocateheap.c: Use the address of the ROM data from the ROM linker script.
2021-06-01 07:49:54 +02:00
Alan C. Assis
1201777457
Add support to the esp32s2-saola-1 board
2021-06-01 07:49:54 +02:00
Alan C. Assis
7767acd24a
Add initial ESP32S2 Xtensa support
2021-06-01 07:49:54 +02:00
Nakamura, Yuuichi
85f9b893b2
Add new config nsh_trace for spresense
2021-06-01 00:48:59 -05:00
Xiang Xiao
ae216cf9e9
sched/task: Simplify the syscall handling of task_spawn
...
It's better to save one argument by returning pid directly.
This change also follow the convention of task_create.
BTW, it is reasonable to adjust the function prototype a
little bit from both implementation and consistency since
task_spawn is NuttX specific API.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 12:45:10 +09:00
Nakamura, Yuuichi
72d2fc547e
tools/mksyscall: Fix build break of syscall instrumentation wrapper
2021-05-31 22:36:50 -05:00
Masayuki Ishikawa
ab7ceb26e0
drivers: wireless: Remove ASSERT() in _check_pkt_q_empty() in gs2200m.c
...
Summary:
- During Wi-Fi stress test, sometimes ASSERT() happens in gs2200m.c
- This commit removes the ASSERT() but calls _remove_all_pkt()
for a workaround.
Impact:
- None
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-31 21:27:28 -05:00
Gregory Nutt
b991f30b82
syscall/syscall.csv: Correct ordering of entries
...
OS functions in syscall.csv are ordered alphabetically. However, two recently added functions are not in the correct location. This PR simply corrects that ordering.
The ordering of one entry was also corrected in libs/libc/libc.csv. Same issue.
This change is only cosmetic.
Verified only by CI
2021-05-31 21:15:36 -05:00
Xiang Xiao
d7f96003cf
Don't include debug.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
Gustavo Henrique Nihei
8a41d849df
drivers/spi: Change prefix to a more intuitive "spislave"
2021-05-31 07:54:08 -07:00
Gustavo Henrique Nihei
1530b0f639
risc-v/esp32c3: Fix overwriting of registered-but-disabled interrupts
2021-05-31 09:15:40 -05:00
Gustavo Henrique Nihei
da78cf78eb
risc-v/esp32c3: Remove useless parameter from DMA macro
2021-05-31 09:14:14 -05:00
chao.an
99bfd355c7
serial/uart/h4: add bt h4 uart serial driver
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
chao.an
6c69b12000
wireless/bluetooth: decoupling bt_driver_s and bt_buf_s
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
chao.an
6837d4e1ba
arch/sim: remove BT uart implement
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
chao.an
1965485167
wirelss/bluetooth/bt_buf: add ISO buffer type
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
Gustavo Henrique Nihei
8914646c27
board/esp32c3-devkit: Add support for SPI Slave chardev driver
2021-05-31 12:54:15 +01:00
Gustavo Henrique Nihei
7e15d897bd
risc-v/esp32c3: Add driver for SPI Slave controller
2021-05-31 12:54:15 +01:00
chenwen
1d1dd8512f
esp32&esp32c3/wifi: Support specific channel and bssid scan
2021-05-31 11:09:19 +01:00
Alin Jerpelea
13e4f9b6b2
drivers: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-05-31 02:58:08 -05:00
chao.an
70f6eb232a
net/dev: link the net device as order of registration
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 01:38:38 -05:00
YAMAMOTO Takashi
7ac6c0a8de
tcp_data_event: Add a comment
2021-05-31 01:37:51 -05:00
YAMAMOTO Takashi
70d215b11f
devif_poll_tcp_connections: Fix a comment typo
2021-05-31 01:37:51 -05:00
YAMAMOTO Takashi
92328792fd
tcp_data_event: Fix an indent
2021-05-31 01:37:51 -05:00
YAMAMOTO Takashi
2ce0457edb
tcp_get_recvwindow: Add a comment
2021-05-31 01:37:51 -05:00