Commit Graph

1986 Commits

Author SHA1 Message Date
Dong Heng
698f1f76ff risc-v/esp32c3: Refactor SPI Flash to support umask interrupt when R/W/E SPI Flash
This can fix BLE assert when erase SPI Flash.
2021-12-06 13:13:11 +09:00
raiden00pl
59786bf208 boards/nucleo-f302r8: add 3ph Hall sensor support 2021-12-04 08:51:25 -06:00
ligd
4dfefb4e06 boards/sim: update sim for 'merge hostfs_rpmsg to rpmsgfs'
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-12-04 01:04:18 -06:00
Petro Karashchenko
d4a5003376 board/same70-xplained: MCUboot related improvements
- simplify LDSCRIPT file name selection
- rename CONFIG_SAME70XPLAINED_APP_FORMAT_MCUBOOT to
  CONFIG_SAME70XPLAINED_FORMAT_MCUBOOT
- fix usage of SAME70XPLAINED_PROGMEM_OTA_PARTITION
  config option

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-29 23:53:46 -06:00
Petro Karashchenko
4b2b7d1d91 boards/same70-qmtech: add support of SAME70 QMTECH board
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-29 11:17:47 -06:00
Petro Karashchenko
31809724e1 boards/same70-xplained: disable systick before loading MCUboot application
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-28 20:33:53 -06:00
Gerson Fernando Budke
5c1cefd09d boards/arm/samv7/samv71-xult: Set console at usart1
Set default console port to USART1. This allows easy access to serial
console by embedded debug CDC-ACM driver.

The README is updated with correct information about PB04 use once
samv71-xult can only be debugged using SWD mode. This means that it is
safe use CDC-ACM as default serial console.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-11-28 20:32:13 -06:00
Petro Karashchenko
919aeced30 boards/same70-xplained: fix usage of SAMV71XULT instead of SAME70XPLAINED
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-27 16:06:48 -03:00
Petro Karashchenko
7ba330dff1 boards/same70-xplained/scripts: fix memory region size for MCUboot app
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-27 16:06:31 -03:00
Michal Lenc
500738757f boards/arm/samv7/same70-xplained: update adc defconfig with DMA support
Updates defconfig for example application to take the advantage of DMA
support and Timer/counter trigger.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-11-27 06:17:45 -06:00
Petro Karashchenko
510154299b boards/same70-xplained: initial support of MCUboot
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>

Co-authored-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-11-26 14:55:34 -03:00
Xiang Xiao
e30a5f3790 arch/sim: Add new option to enable arch specific hostfs
we have many different hostfs implementation now, so it's better
to select the implementation explicitly, just like what we have
done for arm(FS_HOSTFS vs. ARM_SEMIHOSTING_HOSTFS).

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-25 14:42:23 +01:00
Jukka Laitinen
ac5a228d89 boards/risc-v/mpfs: Enable CONFIG_SPI_CS_CONTROL
Enable CS control via register write for the mpfs hwtest target

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-24 06:50:32 -06:00
Xiang Xiao
e6e3cc7e02 boards/sim: Automatically run ostest for asan and kasan config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-23 17:17:24 +01:00
Masanari Iida
627eb08942 boards/raspberrypi-pico: Fix some typos in README.txt
This patch fixes some spelling typos in README.txt
2021-11-22 22:34:19 -06:00
Yuichi Nakamura
dda73393d9 boards/raspberrypi-pico: Update README to fix Pico SDK version 2021-11-22 01:39:36 -06:00
Xiang Xiao
ea0aadff1e boards/mpfs: Fix the icicle build break
src/mpfs_emmcsd.c: In function 'mpfs_board_emmcsd_init':
Error: src/mpfs_emmcsd.c:72:40: error: 'SDIO_SLOTNO' undeclared (first use in this function)
   finfo("Initializing SDIO slot %d\n", SDIO_SLOTNO);
                                        ^~~~~~~~~~~
src/mpfs_emmcsd.c:72:40: note: each undeclared identifier is reported only once for each function it appears in
Error: src/mpfs_emmcsd.c:83:55: error: 'SDIO_MINOR' undeclared (first use in this function); did you mean 'SHRT_MIN'?
   finfo("Bind SDIO to the MMC/SD driver, minor=%d\n", SDIO_MINOR);

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-18 11:45:50 -06:00
Jani Paalijarvi
6dd4d5de15 risc-v/mpfs: Add support for Aries M100PFSMVP board
- Add defconfig and board specific files
- Create mpfs/common for code which is shared between MPFS boards.
- Add support for GPIO driven EMMCSD mux.
- Move DDR Libero definitions from arch to boards.

Signed-off-by: Jani Paalijarvi <jani.paalijarvi@unikie.com>
2021-11-18 10:59:44 -03:00
Dong Heng
779a29fea5 boards/Kconfig: set BOARD_ASSERT_RESET_VALUE default value to be 1
The board code should separate the reset reason, so it had better
make "BOARD_ASSERT_RESET_VALUE" not be equal to "EXIT_SUCCESS".
2021-11-16 10:44:54 -03:00
Dong Heng
92eedd93a7 risc-v/esp32c3: Fix reset triggering crash nested when crash 2021-11-16 10:44:54 -03:00
Alin Jerpelea
e27b59456e boards: 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
asanchez
94af888c66 add board_reset function 2021-11-14 15:46:21 +01: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
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
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
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
df44aca932 sim/btuart: Remove the unnecessary config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:13:47 +01: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
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
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
David Sidrane
040a04241e drivers/spi:Define SPI_~CS~_DELAY_CONTROL to support other delays 2021-11-06 05:14:05 -05:00
YAMAMOTO Takashi
37141bb5e8 Refresh configs after the removal of NET_TCP_SPLIT 2021-11-04 13:32:57 -05:00
raiden00pl
2d125d33d3 boards/nucleo-f302r8: disable NSH commands for FOC configs to save FLASH 2021-11-04 13:05:31 -05:00
ChenWen
440787c0c1 risc-v/esp32c3: Fix Wi-Fi & BLE coexist issue
1. Wi-Fi and BLE use common PHY functions.
  2. Fix Wi-Fi & BLE coexist adapter error.
  3. Update esp-wireless-drivers-3rdparty, provide coexist protection for connection.
2021-11-04 11:02:05 -03:00
Eero Nurkkala
8e43f39141 mpfs: cache: provide L1/L2 cache enablers
E51 may configure the L1 and L2 caches. Once configured,
no reconfiguration is possible after hardware reset is
issued.

L2 is 16-way set associative with write-back policy. The
size 2 MB, from which 1 MB is utilized with the values
provided here. That's a total of 8 ways. The rest of the
L2 is left out for the bootloader usage.

mpfs_enable_cache() first checks the bootloader usage
doesn't overlap with the cache itself, thus providing a
set of functional values.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-11-04 11:00:55 -03:00
Xiang Xiao
c52a099197 sim: Add more config to asan/kasan for testing
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 21:02:43 +01:00
Xiang Xiao
3e967f784e sim: Split SIM_SANITIZE to SIM_ASAN and SIM_UBSAN
align the naming style with MM_ASAN

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 21:02:43 +01:00
raiden00pl
1c28126670 boards/b-g431b-esc1: add Hall and Qenco support 2021-11-02 11:54:08 -05:00
Xiang Xiao
df877a8a91 boards/sim: Add new config for KASan
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 13:32:47 -03:00
Jani Paalijarvi
a16a9f80e2 mpfs: i2c: Add support for adaptive I2C bus frequency
Select the closest possible frequency which is smaller
than or equal to requested in I2C msg
2021-11-02 04:10:08 -05:00
Abdelatif Guettouche
860370284e esp32c3_dma: Remove the DMA test included in the driver along with its
defconfig.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-01 13:49:59 -05:00
raiden00pl
99b7ae5207 boards/stm32: Normalize FOC related project 2021-10-31 08:22:49 -05:00
Xiang Xiao
a7a7ba50ac boards/stm32: Normalize FOC related project
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-31 12:54:19 +01:00
raiden00pl
6aeeb8a7c5 boards/sim/foc: fix configuration 2021-10-30 13:50:40 -05:00
raiden00pl
d862cbd7c8 boards: rename CONFIG_EXAMPLES_FOC_VEL_ADC to CONFIG_EXAMPLES_FOC_SETPOINT_ADC for all example/foc configurations 2021-10-30 13:50:40 -05:00
yinshengkai
ee17ae5ba1 tool: add code coverage tool 2021-10-29 19:21:23 +02:00
chao.an
c1e2fd9014 boards/sim: refresh the defconfig since SIM_NETDEV changed
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-10-26 08:01:50 -05:00