Commit Graph

2476 Commits

Author SHA1 Message Date
Gustavo Henrique Nihei
68c722c051 xtensa/esp32: Build patched IDFBoot for Protected Mode support
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00
Gustavo Henrique Nihei
27fc3c959d xtensa/esp32: Configure the PID controller for privilege separation
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00
Gustavo Henrique Nihei
76acfef5ec xtensa/esp32: Add support for Protected Mode
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00
Gustavo Henrique Nihei
83442aa70c boards: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 12:08:45 +08:00
Gustavo Henrique Nihei
9695659620 boards: Fix typo in "register" word
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-13 22:57:19 +03:00
Xiang Xiao
b1c72c023c libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG
and remove CONFIG_LIBC_LONG_LONG option to simplify the usage.
note: the size will increase 668
before change:
   text    data     bss     dec     hex filename
 168440     348    4480  173268   2a4d4 nuttx

after change:
   text    data     bss     dec     hex filename
 169108     348    4480  173936   2a770 nuttx

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-13 09:50:38 -03:00
Gustavo Henrique Nihei
cc0ea2689c esp32c3-devkit: Change output section identifiers to satisfy GDB
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Gustavo Henrique Nihei
c462ea6088 esp32c3-devkit: Improve documentation related to Protected Mode
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Gustavo Henrique Nihei
686c9f0ad7 esp32c3-devkit: Use prebuilt bootloader binaries on knsh defconfig
After #6400 the prebuilt bootloader may be used for loading the NuttX
images when BUILD_PROTECTED is enabled.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Abdelatif Guettouche
6de170b154 boards/xtensa: Remove outdated information.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-07-12 01:10:31 +08:00
Masayuki Ishikawa
2dfe88d759 boards: sabre-6quad: Add netknsh/defconfig
Summary:
- This commit adds sabre-6quad:netknsh config

Impact:
- None

Testing:
- Tested with qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-11 09:32:52 -03:00
raiden00pl
2192b8df2b boards: add initial support for stm32g071b-disco board 2022-07-10 21:02:23 -03:00
Xiang Xiao
76ccbc9a73 Fix warning: (NET_TCP_NO_STACK && NET_USRSOCK_TCP) selects NET_TCP which has unmet direct dependencies (NET && SCHED_WORKQUEUE)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-11 02:17:22 +08:00
raiden00pl
b3e11b605a boards: add initial support for stm32l0538-disco 2022-07-09 23:37:33 +08:00
Alan Carvalho de Assis
cd3e93ef17 esp32s3-devkit: Add support to ST7735 SPI LCD 2022-07-09 01:36:41 +08:00
Huang Qi
2e9fa4586b boards/sim/vncserver: Enable LPWORK to fix warning
Fix:
```
warning: (NET_TCP_NO_STACK && NET_USRSOCK_TCP) selects NET_TCP which has unmet direct dependencies (NET && SCHED_WORKQUEUE)
```

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-07-08 13:28:34 +08:00
Nathan Hartman
849f760b77 Fix various typos 2022-07-08 02:15:54 +08:00
curuvar
aa6ec6518c Added ADC to RP2040 2022-07-07 12:45:28 -03:00
Masayuki Ishikawa
7307b8b6d5 boards: stm32f4discovery: Add iperf to rndis/defconfig
- NOTE: This commit also removes CONFIG_HOST_WINDOWS=y

nsh> iperf -c 10.0.2.15
       IP: 10.0.2.20

 mode=tcp-client sip=10.0.2.20:5001,dip=10.0.2.15:5001, interval=3, time=30

           Interval         Transfer         Bandwidth

   0.00-   3.01 sec    2211840 Bytes    5.88 Mbits/sec
   3.01-   6.02 sec    4423680 Bytes    5.88 Mbits/sec
   6.02-   9.03 sec    6651904 Bytes    5.92 Mbits/sec
   9.03-  12.04 sec    8863744 Bytes    5.88 Mbits/sec
  12.04-  15.05 sec   11091968 Bytes    5.92 Mbits/sec
  15.05-  18.06 sec   13303808 Bytes    5.88 Mbits/sec
  18.06-  21.07 sec   15532032 Bytes    5.92 Mbits/sec
  21.07-  24.08 sec   17743872 Bytes    5.88 Mbits/sec
  24.08-  27.09 sec   19972096 Bytes    5.92 Mbits/sec
  27.09-  30.10 sec   22183936 Bytes    5.88 Mbits/sec
   0.00-  30.10 sec   22183936 Bytes    5.90 Mbits/sec

nsh> iperf -s
       IP: 10.0.2.20

 mode=tcp-server sip=10.0.2.20:5001,dip=0.0.0.0:5001, interval=3, time=0
accept: 10.0.2.15,59072

           Interval         Transfer         Bandwidth

   0.00-   3.01 sec    1780056 Bytes    4.73 Mbits/sec
   3.01-   6.02 sec    3566544 Bytes    4.75 Mbits/sec
   6.02-   9.03 sec    5350888 Bytes    4.74 Mbits/sec

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-07 11:40:33 +03:00
curuvar
178ba6fbb4 Add ws2812 bringup logic to all RP2040 boards. 2022-07-07 12:33:25 +08:00
Adam Kaliszan
caf92cdadf Esp32 lilygo tty t5v2 bugfix
E-ink initialization failed because small bug in the code (just 5 missing chars
2022-07-01 20:02:56 +08:00
curuvar
feb5c5307a fixed up defconfig files. 2022-06-30 22:13:49 -07:00
curuvar
0c3db448bb Added Adafruit Feather RP2040, Adafruit KB2040 and Added neopixel driver to support RP2040 2022-06-30 22:13:49 -07:00
Sergey Nikitenko
4285274c31 New stm32wb chip family 2022-07-01 12:13:58 +08:00
Adam Kaliszan
fafe91cec6 Nucleo Wl55JC board supports E-ink display
All works
SPI pinouts is arduino compatibile
Additional lines for display are configurable using make menuconfig
2022-06-30 15:36:25 +08:00
Gustavo Henrique Nihei
30636b3c97 esp32s3-devkit: Add support for BMP180 pressure sensor
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-30 00:32:17 +03:00
Gustavo Henrique Nihei
036e3375e8 esp32s3-devkit: Add support for I2C chardev driver
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-30 00:32:17 +03:00
Gustavo Henrique Nihei
43685aefc8 esp32s2-saola-1: Add support for BMP180 pressure sensor
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-30 00:32:02 +03:00
Gustavo Henrique Nihei
01b3ddd22f esp32s2-saola-1: Add support for I2C chardev driver
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-30 00:32:02 +03:00
Gustavo Henrique Nihei
31cddc922c xtensa/esp32s2: Sync GPIO driver implementation with ESP32-S3
Sync driver interfaces, also fixes the handling of special pin value for
esp32s2_gpio_matrix_in and esp32s2_gpio_matrix_out functions

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-30 00:10:41 +08:00
Adam Kaliszan
7e6d93da4d Support for 2.13 inch display v2 2022-06-28 23:41:11 +08:00
Adam Kaliszan
7df798991c Esp32 lilygo t5v2 fixed Data/Command line support. 2022-06-28 09:34:17 -03:00
zouboan
00e8e4fa28 boards/stm32f4discovery: add setup of pwm capture device
drivers/timers/capture.c: add support of pwm capture driver
2022-06-28 10:35:43 +08:00
Nimish Telang
4afd25b567 this flag is meaningless for the linker 2022-06-27 20:03:03 -03:00
Andrey
c6c0baa233 Added configuration files for usinf BMP280 with ESP32-DevkitC 2022-06-26 11:36:08 +03:00
Satoshi Togawa
667afb3b91 sama5: add config SAMA5_SYSTEMRESET in arch/arm/src/Kconfig
SAMA5D2 and SAMA5D4 does not support external reset.
Some SAMA5 board's Kconfig contain item SAMA5_SYSTEMRESET, but it is better in arch/arm/src/Kconfig.
2022-06-25 12:03:15 +08:00
Alan Carvalho de Assis
429c474aff esp32-devkit: As suggest by Gustavo, remove mmcsdspi
ESP32-Devkit doesn't have MMC/SD slot to put a card and it is basically
the same defconfig submitted to esp32-wrover-kit board that has that slot.
2022-06-24 21:32:40 -03:00
Alan Carvalho de Assis
d8e95284cb esp32: Add mmcsdspi config 2022-06-24 21:32:40 -03:00
Alan Carvalho de Assis
87a2f35c2c esp32: Remove hard-coded SPI port for MMC/SD SPI 2022-06-24 21:32:40 -03:00
curuvar
412539e66c Added PWM support to rp2040 2022-06-23 10:17:40 -03:00
curuvar
75facdee72 Added PWM support for rp2040 2022-06-23 10:17:40 -03:00
Huang Qi
9481456fde risc-v/esp32c3: Implement up_perf_xxx API
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-06-21 21:35:22 +08:00
Michael Jung
9140693567 Add lcd_dev_s pointer to lcd_planeinfo_s
In order to support multiple LCD instances per board, add a pointer from
lcd_planeinfo_s to the lcd_dev_s which it belongs to.  Also enhance the
putrun, getrun, putarea and getarea methods to pass through the
lcd_dev_s pointer to the respective device driver.

Port all LCD device drivers to this lcd_planeinfo_s extension.

Enhance SSD1306 driver to support multiple LCDs.

Signed-off-by: Michael Jung <michael.jung@secore.ly>
2022-06-21 21:33:23 +08:00
Richard Tucker
f68a5f0913 boards/risc-v/litex/arty_a7: add netnsh defconfig 2022-06-21 12:06:37 +03:00
chao.an
fbddae8813 wireless/bcm43xxx: add customized MAC address support
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-19 10:13:23 +08:00
Adam Kaliszan
615a296b30 Eps32 Lilygo t5v2 BSP
E-ink display is working
2022-06-18 08:03:45 +03:00
Jukka Laitinen
1c8a661c9f boards/risc-v/mpfs/m100pfsevp/include/board_liberodefs.h: Update memory initialization parameters
Sync some of the AXI configuration and DDR training parameters with the manufacturer's
defaults.

The TIP_CFG parameter correction helps with DDR training failures on some individual boards
The AXI end address values fix early random crash in power-on boot on some individual boards

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-06-17 15:40:21 +08:00
Alan Carvalho de Assis
faa1c3a74c esp32s3: Add basic support to ESP32-S3-EYE 2022-06-16 17:20:32 +03:00
Abdelatif Guettouche
db8b32cb07 boards/esp32: Increase the NTP deamon stack size as it was overflowing.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-06-15 13:07:28 -03:00
Eero Nurkkala
5683e020e8 risc-v/mpfs: update clock configuration parameters
Update PLL configuration parameters to match the values provided
by the vendor.

Also remove extra call to mpfs_pll_config() as it's already called
at mpfs_clockconfig().

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-06-15 21:29:45 +08:00