Gustavo Henrique Nihei
800678ca78
xtensa/esp32s2: Enable booting from MCUboot bootloader
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:21:53 -07:00
Huang Qi
e72680bb46
sched/signal: Correct kill with cancellation
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-09-27 18:17:40 -07:00
futerigele
a264fd9541
input/touch: add io command for touch firmware version
...
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-09-27 18:17:17 -07:00
Jari van Ewijk
62c41a723b
s32k1xx_eeeprom.c - fix compiler warnings
2021-09-27 06:02:59 -07:00
Abdelatif Guettouche
5336704c77
esp32_start.c: Initialize the SPI RAM before enabling its cache.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-27 05:13:51 -07:00
Alexander Lunev
ea42f84d9a
stm32f746g-disco, stm32f769i-disco: "ifconfig: Could not open /proc/net (is procfs mounted?): 20":
...
In case of "netnsh" configuration network adapter did not work and ifconfig reported the error.
2021-09-26 20:12:13 -07:00
FASTSHIFT
649f99ce30
libc/misc: add lib_glob.
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2021-09-25 07:54:39 -03:00
Abdelatif Guettouche
44268bac1f
tools/ci/Docker: Download the latest ESPxx Xtensa toolchain
2021-09-24 18:17:22 -03:00
Abdelatif Guettouche
6526966987
tools/ci/cibuild.sh: Update the downloaded ESP Xtensa toolchain.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-24 18:17:22 -03:00
Gustavo Henrique Nihei
c23986ec63
xtensa/esp32: Select ARCH_HAVE_BOOTLOADER for ESP32 chips
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-24 10:48:19 -07:00
Gustavo Henrique Nihei
86518bdf25
tools: Trigger clean_bootloader on distclean for supported chips
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-24 10:48:19 -07:00
chao.an
1b5d6aa068
net/local: add socket message control support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-24 08:09:28 -07:00
chao.an
ea82a0b638
net/local: add local_peerconn helper
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-24 08:09:28 -07:00
chao.an
1e078795fb
net/local: split the waiter node from lc_node
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-24 08:09:28 -07:00
chao.an
1ba922a826
net/local: replace the listener list to global
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-24 08:09:28 -07:00
Jani Paalijarvi
b7a5b248e0
Add support for MT25Q1G SPI NOR
2021-09-24 01:09:51 -07:00
zhuyanlin
a41f92d1f6
sched:tcb_s:rearrange sched_priority/int_priority to word align
...
As pid_t is uint16_t,this could save space for many archs.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-09-23 23:08:51 -07:00
chao.an
c132e5bed4
net/tcp: sanity check for the listen address
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-23 23:07:57 -07:00
Gustavo Henrique Nihei
4ac3044cc3
xtensa/esp32: Enable build system to download or build bins from source
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-23 20:52:25 -07:00
Gustavo Henrique Nihei
8816f21ba2
tools: Add new make targets for handling bootloader-related operations
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-23 20:52:25 -07:00
chao.an
5a2510d48d
net/dup: only start tcp monitor on INET domain
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-23 19:02:03 -07:00
Sara Souza
9c2c5d3919
risc-v/esp32-c3: fix pid initiatialization on esp32c3_rt_timer.c
...
pid variable was initialized to -EINVAL to prevent rt_timer_deinit
from delete an invalid kthread. But priv->pid was being overwritten in the
rt_timer_init, so in case of failure to create a kthread, it would
call rt_timer_deinit with a non expected initialization value.
2021-09-23 19:01:27 -07:00
Sara Souza
d0e7d7b77f
risc-v/esp32-c3: Remove _s of non static variables from esp32c3_rt_timer.c
2021-09-23 19:01:27 -07:00
Abdelatif Guettouche
f2f2040c44
esp32_spiram/psram/himem: Add and fix the files' sections.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-23 02:49:11 -07:00
Abdelatif Guettouche
3d8a6fb676
esp32_spiram.c: Remove esp_himem_reserved_area_size from esp32_spiram.c
...
file. This function is already defined in esp_himem and is used only
when that file is built. We don't need another weak function.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-23 02:49:11 -07:00
Abdelatif Guettouche
2834d2a46f
esp32_spiflash.c/esp32_spiram.c: Remove some unused macros/functions/variables.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-23 02:49:11 -07:00
Xiang Xiao
47c60b2de8
arch/arm: Remove -march and -mtune
...
since -mcpu is enough https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58869
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-23 11:48:11 +02:00
Jari van Ewijk
bbb2f1f8c7
S32K1XX: Add LPI2C slave support
2021-09-22 19:36:34 -07:00
Sara Souza
962059f843
xtensa/esp32-s2: Adds oneshot device driver support
2021-09-22 22:53:54 -03:00
David Sidrane
6d299ce802
stm32h7:DMA_TRBUFF is DMA_SCR_TRBUFF
2021-09-22 22:48:10 -03:00
Sara Souza
fba6fa2dc1
xtensa/esp32-s2: Adds support to rt_timer and systimer to ESP32-S2.
2021-09-22 17:18:24 -03:00
Pedro Bertoleti
64e8322974
Add LCD backpack support for ESP32 (devkit-c).
2021-09-22 16:58:36 -03:00
Sara Souza
2cd4f4af79
xtensa/esp32-s2: Adds freerun timer wrapper
2021-09-22 09:38:10 -03:00
FASTSHIFT
f3477a86d2
libc/string: add lib_strchrnul.
2021-09-22 09:20:06 -03:00
Gustavo Henrique Nihei
e651ef0969
arch/risc-v: Remove CODE qualifier for RISC-V-specific files
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Gustavo Henrique Nihei
06f4ee850a
arch/risc-v: Remove FAR qualifier for RISC-V-specific files
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Gustavo Henrique Nihei
e9c17c9332
risc-v/rv32m1: Fix wrong position for ++ operator on serial driver
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Gustavo Henrique Nihei
eca1f86294
arch/xtensa: Remove CODE qualifier for Xtensa-specific files
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Gustavo Henrique Nihei
e13dd7dab9
arch/xtensa: Remove FAR qualifier for Xtensa-specific files
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Gustavo Henrique Nihei
58f87ef443
xtensa/esp32: Fix wrong position for ++ operator on I2C driver
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-22 08:16:01 -03:00
Jari van Ewijk
e5f17f6604
S32K1XX: Add FlexIO registers
2021-09-22 03:15:42 -07:00
David Sidrane
a9ff808dd1
stm32xx:sdmmc/sdio remove redundant GPIO config
...
The stm32_gpiosetevent calls stm32_configgpio. So
the pin is infact restored to the SDMMC/SDIO D0.
The seconday init, dropped interrupts in a debug
build with HW stack checking on after the GPIO glich
fixes and that was how it was detected.
2021-09-21 18:25:16 -07:00
David Sidrane
a8d5f21f81
stm32H7:Etablish device before enabling outputs
...
This prevents gliches on changing to an output mode.
If not the ALT mux can be selecting a IP block that
is drving the line to say 0. Then the output is connected
to that source, then swithced to the correct source.
2021-09-21 18:25:16 -07:00
David Sidrane
5e19ebb818
stm32F7:Etablish device before enabling outputs
...
This prevents gliches on changing to an output mode.
If not the ALT mux can be selecting a IP block that
is drving the line to say 0. Then the output is connected
to that source, then swithced to the correct source.
2021-09-21 18:25:16 -07:00
David Sidrane
d5e306e6f3
stm32:Etablish device before enabling outputs
...
This prevents gliches on changing to an output mode.
If not the ALT mux can be selecting a IP block that
is drving the line to say 0. Then the output is connected
to that source, then swithced to the correct source. This
produced a 430 nS glich on a F4 @168 Mhz. It was a enough
to corrupt an I2C device with a bus monitor.
2021-09-21 18:25:16 -07:00
Sara Souza
0504e1d5f6
esp32-devkitc/wifinsh: Adds missing dependency on defconfig
2021-09-21 15:16:47 -03:00
Jari van Ewijk
107e80b61f
UCANS32K146 board: s32k1xx_userleds.c style fix
2021-09-21 07:22:06 -07:00
Jari van Ewijk
4b24eca0cf
S32K1XXEVB boards: Fix RGB LED output and add comments
2021-09-21 07:22:06 -07:00
Sara Souza
fc12d6888b
risc-v/esp32-c3: Group static variables into a struct and prevent an unitialized thread to be deleted
2021-09-21 15:45:59 +02:00
Alan C. Assis
f9b322567c
boards/esp32c3: Remove "return ret" from bringup
2021-09-21 10:34:55 -03:00