Alin Jerpelea
4ca25d8a4d
net: usrsock: Haltian Ltd: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Haltian Ltd has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-11-15 06:49:32 -06:00
Xiang Xiao
2262ddfa6d
arch: Remove fflush(stdout) from driver code
...
it's wrong to call stdio function inside driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-15 00:04:12 +01:00
asanchez
94af888c66
add board_reset function
2021-11-14 15:46:21 +01:00
Abdelatif Guettouche
6cbcbd5481
arch/risc-v&xtensa/Kconfig: Don't select LIBC_ARCH_MEMCCMP. The Kconfig
...
option doens't exist and we are not providing any external
implementation.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-13 11:54:42 -03:00
Abdelatif Guettouche
a01cb867ce
esp32c3_rom.ld: Add some of the string.h functions to the linker
...
script.
These functions are strongly declared and thus will be used instead of
any other implementation. Furthermore, necessary Kconfig options are
selected to avoid building those function from NuttX's C library.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-13 11:54:42 -03:00
zhuyanlin
c6c534f27b
xtensa:mpu:use WRITEBACK attribute for intsram & extsram
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-13 05:59:10 -06:00
Dong Heng
fed7808d80
esp32 & esp32c3: Partition supports BIO cmd
2021-11-13 05:58:30 -06:00
anjiahao
edaa8a0ce9
fix sim_x11fb compile error
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-11-13 05:58:01 -06:00
Abdelatif Guettouche
9b1d4de3be
drivers/note: Fix typos.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 16:50:41 -03:00
Dong Heng
f5c5d77744
risc-v/esp32c3: Add hardware brownout check and reset
2021-11-12 16:50:19 -03:00
Chery Dan
8d799f2148
Fix IOB functions
...
The operations of struct iob_queue_s in qh_head & qh_tail are performed with interrupts disabled.
change iflags to flags
add header file ref
update for check
2021-11-11 08:47:03 -06:00
ligd
87c47b8758
procfs: fix ps can't log out Group id
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-11 11:13:12 -03:00
Eero Nurkkala
876b39914b
mpfs: uart: add a way to configure uart3 and uart4
...
Currently configuring the uart3/4 as the serial console
doesn't work. Apply proper changes in mpfs_config.h that
enables the following configuration options:
- CONFIG_UART3_SERIAL_CONSOLE
- CONFIG_UART4_SERIAL_CONSOLE
Also, fix a typo in mpfs_lowputc.c that gives a compile
error if defined.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-11-11 06:02:27 -06:00
Alexander Lunev
1e07b6d528
net/tcp(unbuffered): retransmit only one the earliest not acknowledged segment
...
(according to RFC 6298 (5.4)).
2021-11-10 12:21:07 -06:00
Xiang Xiao
bec1b0bc92
Revert "libc: Implement fesetround & fegetround for arm"
...
Since the toolchain provide the implementation now.
This reverts commit fe992a5b6c
.
2021-11-10 14:35:53 -03:00
Xiang Xiao
69d35455c7
clock.h: Remove the unnecessary L from macro
...
It's safe for the number <= 32767 since C standard require int at least 16bit
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 14:32:16 -03:00
zhuyanlin
407bc04934
tools: add gdbplugin for JLinkGDBServer nuttx thread aware
...
Use `JLinkGDBServer -rtos libnuttxplugin` to add this plugin.
Then in gdb can use command:
- `info threads` to show all threads infos
- `thread (id) ` to switch thread.
- `bt` to show thread backtrace.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-10 14:31:10 -03:00
zhuyanlin
e53aeea60e
fs:procfs: add tcbinfo procfs interface
...
Add tcbinfo in procfs system.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-10 14:31:10 -03:00
zhuyanlin
012bd1494c
arch:debug: add struct for task aware debug.
...
When enable DEBUG_TCBINFO config, a global struct will
provide, then debuggers can aware nuttx task infomation.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-10 14:31:10 -03:00
Juha Niskanen
201c67acbd
stm32l4 dfumode: enable for STM32L4+ chips
2021-11-10 11:18:37 -06:00
Xiang Xiao
e3bcfe5cfa
boards: Fix warning: selects CANUTILS_LIBCANUTILS which has unmet direct dependencies (NET_CAN && ALLOW_GPL_COMPONENTS)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:17:19 +01:00
Xiang Xiao
7c5c77ff7b
boards/imx6: Fix symbol value '' invalid for TESTING_OSTEST_FPUSIZE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:17:19 +01:00
Xiang Xiao
0aeb132d15
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:16:35 +01:00
Xiang Xiao
e57203eca4
sched: Disable message queue by default when DEFAULT_SMALL equals y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-10 09:16:35 +01:00
Alan C. Assis
b8c33e585e
esp32c3: Fix GPIO Output on pins 18 and 19 USB/JTAG
2021-11-09 20:54:34 -06:00
Gustavo Henrique Nihei
5dfb2713f6
include: Add __socklen_t_defined for compatibility to other C libraries
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-09 08:19:27 -06:00
Abdelatif Guettouche
00befc4ec6
Documentation/esp32c3: Document the CDC console defconfig.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Abdelatif Guettouche
044508c979
boards/esp32c3-devkit: Add a defconfig for the USB CDC Console.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Abdelatif Guettouche
23039c92cf
esp32c3/Make.defs: Alawys build esp32c3_serial.c
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Abdelatif Guettouche
ebd94961c7
arch/riscv/esp32c3: Add the USB-Serial Driver.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Abdelatif Guettouche
17cf3edf46
arch/risc-v/esp32c3: Add register definitions for the USB Serial/JTAG
...
controller.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Xiang Xiao
1f371581c8
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 13:09:40 +01:00
Xiang Xiao
086b09cc84
sched: Reduce the default preallocated buffer when DEFAULT_SMALL=y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-09 13:09:40 +01:00
ligd
3f94828f6b
netdb: fix access within misaligned address error
...
netdb/lib_dnsquery.c:444:14: runtime error: member access within misaligned address 0xef2f5a1b for type 'struct dns_question_s', which requires 2 byte alignment
0xef2f5a1b: note: pointer points here
63 6f 6d 00 00 01 00 01 c0 0c 00 05 00 01 00 00 00 1c 00 1a 05 6d 75 73 69 63 06 6e 74 65 73 35
^
netdb/lib_dnsquery.c:445:14: runtime error: member access within misaligned address 0xef2f5a1b for type 'struct dns_question_s', which requires 2 byte alignment
0xef2f5a1b: note: pointer points here
63 6f 6d 00 00 01 00 01 c0 0c 00 05 00 01 00 00 00 1c 00 1a 05 6d 75 73 69 63 06 6e 74 65 73 35
^
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-08 21:57:27 -06:00
futerigele
7381245159
input/touchscreen: separate the interface for user interaction
...
Separate the interface for user interaction, touch upper half
provides the interface uniformly.
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-11-08 21:56:03 -06:00
Gustavo Henrique Nihei
ad4a42189f
ci: Use actions/checkout@v2 on build-html job
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-08 21:37:24 -06:00
Abdelatif Guettouche
dee1726a35
Documentation/esp32c3: List the supported ESP32-C3 boards.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-08 14:58:54 -03:00
Gustavo Henrique Nihei
57cba0e088
ci: Freeze pipenv version for avoiding issue on documentation generation
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-08 18:53:18 +01:00
Xiang Xiao
df44aca932
sim/btuart: Remove the unnecessary config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:13:47 +01:00
Dong Heng
a59aae6927
esp32/esp32c3: Fix MMU pages number calculation error
2021-11-07 21:59:54 -06:00
Michal Lenc
3db9549fce
boards/arm/samv7/same70-xplained: add support for AFEC (ADC) driver
...
This commit adds board level support for Analog Front End driver to
SAME70 Xplained boaed. Example application can be run via adc
configuration.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-11-07 21:04:56 -06:00
Michal Lenc
e0cef411e1
arch/arm/src/samv7: add support for AFEC (ADC) driver
...
This commit adds microcontroller support for Analog Front End driver to
samv7 MCUs. Only software trigger via IOCTL is currently supported,
averaging can be set by configuration option CONFIG_SAMV7_AFECn_RES.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-11-07 21:04:56 -06:00
Xiang Xiao
eee85faab1
tools/mkconfig: Remove the redundant skip_space
...
the same thing is already done at line 136
and remove the redundant cast too
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 18:47:14 +01:00
Xiang Xiao
e81182df14
tools/mkconfig: Handle string with escape character correctly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 18:47:14 +01:00
Xiang Xiao
3847539f3d
board: Run ./tools/refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-07 13:19:15 +01:00
Yuichi Nakamura
3a0cd56623
rp2040: support I2C_RESET
2021-11-07 03:43:22 -08:00
Yuichi Nakamura
c109262a7f
rp2040: add rp2040_gpio_get_function_pin()
2021-11-07 03:43:22 -08:00
raiden00pl
f2405ccc57
boards/b-g431b-esc1: register Qenco index pin
2021-11-07 03:52:48 -06:00
raiden00pl
7b595ab73a
arch/arm/stm32/stm32_qencoder: add support for Qenco index pin
2021-11-07 03:52:48 -06:00
raiden00pl
bf23abfbd5
drivers/qencoder: add an interface to configure the encoder index pin position
2021-11-07 03:52:48 -06:00