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
zhuyanlin
5a4140f020
arch:xtensa: add setjmp xtensa function
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-06 07:39:27 -05:00
zhuyanlin
cfcff5f570
libc:machine:xtensa:add xtensa libc implement
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-06 07:39:27 -05:00
zhuyanlin
580d17cc02
arch:xtensa: make xtensa_abi.h global include and usage
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-06 07:39:27 -05:00
David Sidrane
4b96c28ed4
stm32h7:Support SPI SPI_DELAY_CONTROL
2021-11-06 05:14:05 -05:00
David Sidrane
040a04241e
drivers/spi:Define SPI_~CS~_DELAY_CONTROL to support other delays
2021-11-06 05:14:05 -05:00
Eero Nurkkala
f8832f7d86
mpfs: emmcsd: fix uninitialized value
...
cppcheck reports the following:
arch/risc-v/src/mpfs/mpfs_emmcsd.c:2375:22: error: Uninitialized variable: waitbits [uninitvar]
while (!(status & (waitbits | MPFS_EMMCSD_SRS12_EINT))
The finding is positive and this patch initializes it to
zero properly.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-11-05 11:47:49 +01:00
YAMAMOTO Takashi
37141bb5e8
Refresh configs after the removal of NET_TCP_SPLIT
2021-11-04 13:32:57 -05:00
YAMAMOTO Takashi
ecd6a3572b
net/tcp/Kconfig: Remove NET_TCP_SPLIT
...
While it's a neat idea, it doesn't work well in reality.
* Many of modern tcp stacks don't obey the "ack every other packet"
rule these days. (Linux, macOS, ...)
* Even if a traditional TCP implementation is assumed, we can't
predict/control which packets are acked reliably. For example,
window updates can easily mess up our strategy.
2021-11-04 13:32:57 -05:00
YAMAMOTO Takashi
28d168e1b8
tcp_send_unbuffered.c: Fix nxstyle errors
2021-11-04 13:32:57 -05:00
YAMAMOTO Takashi
1550a525e9
tcp_send_unbuffered.c: unifdef -UCONFIG_NET_TCP_SPLIT
2021-11-04 13:32:57 -05:00
ligd
022c06766a
socket_rpmsg: use ns_bound to send SYNC packet
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
ligd
883d66b906
socket_rpmsg: fix save rp_name error when accept
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
ligd
00ef4fca51
rpmgs_socket: set RPMSG_SOCKET_NAME_SIZE to 16 for handing prefix
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
ligd
59ae421314
socket_rpmsg: support SOCK_SEQPACKET
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
ligd
bb41af3935
rpmsg_socket: move rpmsg_send out of lock
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
ligd
163109c80f
openamp: notify the user when the remote address is received
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
David Sidrane
c077361a8a
imxrt:usb Fix EP type allocation
2021-11-04 13:23:25 -05:00
David Sidrane
95f7f4b9e6
imxrt:usb DMA cache aligned Buffers for Endpoints
2021-11-04 13:23:25 -05:00
David Sidrane
bd2bc1e351
imxrt:usbdev Clean up cache maintainence
2021-11-04 13:23:25 -05:00
David Sidrane
c3d10ad0aa
imxrt:usbdev formatting cleanup
2021-11-04 13:23:25 -05:00
David Sidrane
532635129c
imxrt:usdhc add proper support for dcache (wb)
2021-11-04 13:23:25 -05:00
David Sidrane
5022244339
imxrt mpuinit:Set Data and Code Type to Normal
...
Strongly-Ordered requires aligned access unless
caching is enabled.
Normal memory
Accesses to normal memory region are idempotent...
- unaligned accesses can be supported
2021-11-04 13:23:25 -05:00
David Sidrane
34c3efcb91
imxrt mpuinit:Remove duplicate entry for ITCM (0x0)
2021-11-04 13:23:25 -05:00
David Sidrane
08d0434bad
imxrt:mpu init handle dcache setting in MPU config
...
With CONFIG_ARMV7M_DCACHE the cache maintenance operation
are not present. Or if CONFIG_ARMV7M_DCACHE_WRITETHROUGH
is on then buffering operations are no-ops.
This change enables MPU_RASR_C and MPU_RASR_B if
CONFIG_ARMV7M_DCACHE is only set.
if CONFIG_ARMV7M_DCACHE_WRITETHROUGH is set then only
MPU_RASR_C is enabled.
N.B When caching is disalbed unaligned access may cause hard faults
so add -mno-unaligned-access
It is always safe to enable Buffering in FLASH to achive unaligned
access leniency, as it is not written to.
2021-11-04 13:23:25 -05:00
Jukka Laitinen
7e9e8a817d
libs/libc/wqueue/work_usrthread.c: Correct time calculation in work_process
...
This fixes busylooping in work_usrthread, due to incorrect time spec given to sem_timedwait
_SEM_TIMEDWAIT works on absolute time stamps, using CLOCK_REALTIME
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-04 13:19:01 -05:00
Jukka Laitinen
c79d2067c7
Move timespec calculations from sched into libc/sched
...
Allow using these functions also outside sched, where systick
related calculations are performed
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-04 13:19:01 -05:00
raiden00pl
2d125d33d3
boards/nucleo-f302r8: disable NSH commands for FOC configs to save FLASH
2021-11-04 13:05:31 -05:00