Commit Graph

2011 Commits

Author SHA1 Message Date
Jari van Ewijk
177acf57c2 S32K1XX boards: Implement userled_getall function 2021-10-18 12:30:18 -07:00
Matheus Castello
5c15fe6ec1 boards: k210: Add initial gpio user space support
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2021-10-17 17:29:59 +09:00
Abdelatif Guettouche
1de17c364f esp32.ld: Force some of libsched.a symbols to internal SRAM. They are used
when the cache is disabled.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-16 22:56:21 -07:00
Abdelatif Guettouche
d1ecb8b2e6 esp32.ld: Force some of libarch.a symbols to internal SRAM. They are used
when the cache is disabled.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-16 22:56:21 -07:00
Alan C. Assis
e0389ce1fb build: Replace 'make download' with 'make flash' 2021-10-14 16:33:27 -03:00
Matheus Castello
1bc3ab513d boards: risc-v: k210: Fix -march and -mabi
-march=rv64gc -mabi=lp64 does not resolve lib paths for
riscv64-unknown-elf-gcc resulting in lib not found errors.
Changing it to -march=rv64imafc -mabi=lp64f that is the default
used in Sipeed repositories.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2021-10-14 15:50:20 +09:00
Alin Jerpelea
c3617d021a author: Elfaro Lab SL : update licenses to Apache
Gregory Nutt has submitted the SGA
Elfaro Lab SL has submitted the SGA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-10-13 04:52:53 -07:00
Gustavo Henrique Nihei
2739f86654 boards/esp32: Remove SPI Flash encryption test
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-11 09:06:02 -07:00
jsun
c58fddb915 Open ble controller adaptation code
N/A

Signed-off-by: jsun <jsun@bouffalolab.com>
2021-10-08 02:30:27 -07:00
Alan C. Assis
04d63cf8b0 Add example to use BLE and WiFi at same time 2021-10-06 07:48:10 -07:00
P.Brier
f6fdc81c2d Added reset code to allow the teensy to compile with CONFIG_BOARDCTL_RESET and be able to reset the board in code 2021-10-06 10:18:14 -03:00
Gustavo Henrique Nihei
0a1b3c1331 risc-v/esp32c3-devkit: Add BLE defconfig
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-05 08:45:40 -03:00
Gustavo Henrique Nihei
47e804b167 risc-v/esp32c3: Make BLE adapter code compliant to nxstyle
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-05 08:45:40 -03:00
Alan C. Assis
867c6d0636 esp32: Add initial support to Bluetooth Low Energy
Co-authored-by: saramonteiro <saramonteirosouza44@gmail.com>
Co-authored-by: Gustavo Henrique Nihei <gustavonihei@gmail.com>
2021-10-04 15:10:37 -03:00
Abdelatif Guettouche
284c6f50e4 esp32s2_rom.ld: Add a strong declaration of some libgcc functions that are
ROM resident.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-01 10:09:04 -03:00
Abdelatif Guettouche
ee20d0f545 esp32c3_rom.ld: Add a strong declaration to some libgcc function that
are ROM resident.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-01 10:09:04 -03:00
Abdelatif Guettouche
a0488a31b3 boards/esp32: Strongly declare libgcc symbols that exist in the ROM
linker script, so that we can link them instead of those present in
libgcc.a

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-01 10:09:04 -03:00
Masayuki Ishikawa
43de6cce13 boards: spresense: Add charger/defconfig
Summary:
- This commit adds charger/defconfig

Impact:
- None

Testing:
- Build only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-09-29 23:37:41 -07:00
P.Brier
b9d1fcb232 Use ethernet MAC programmed in imxrt OCOTP MAC0/MAC1 (teemsy board has this) 2021-09-29 20:45:14 -07:00
Alin Jerpelea
2984a4dcb6 boards: Omni Hoverboards: update licenses to Apache
Gregory Nutt has submitted the SGA
Omni Hoverboards has submitted the SGA
Paul Alexander Patience  has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-28 04:37:38 -07:00
Alin Jerpelea
1e8d0e02ef boards: Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA
as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-28 04:37:38 -07:00
Gustavo Henrique Nihei
548f2b6eab boards/esp32c3-devkit: Add mcuboot_confirm defconfig
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:22:29 -07:00
Gustavo Henrique Nihei
3c63cb522c risc-v/esp32c3: Enable booting from MCUboot bootloader
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:22:29 -07:00
Gustavo Henrique Nihei
75dd460f79 boards/esp32s2-saola-1: Add example defconfig for booting from MCUboot
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:21:53 -07:00
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
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
Sara Souza
962059f843 xtensa/esp32-s2: Adds oneshot device driver support 2021-09-22 22:53:54 -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
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
Alan C. Assis
f9b322567c boards/esp32c3: Remove "return ret" from bringup 2021-09-21 10:34:55 -03:00
Alan C. Assis
7edb39f880 boards/esp32: Remove "return ret" from bringup function
During the lcd1602 tests on our internal CI we noticed that the
lcd1602 was failing because there is not a I2C display in the
emulated board on QEMU. It is better to remove the "return ret"
from the bringup because the user will see the error anyway.
2021-09-21 10:34:55 -03:00
Alan C. Assis
63a17f5cdd esp32c3-devkit: Add board profile to use LVGL on GC9A01 display 2021-09-18 20:58:30 -05:00
Janne Rosberg
e022ea1283 mpfs/icicle/configs/hwtest: enable SD card 2021-09-18 12:18:09 -03:00
Eero Nurkkala
812f504c16 mpfs: emmcsd: add Kconfig/Makefile and board files
Add necessary Kconfig, Make.defs, Makefile and board
file changes.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-09-18 12:18:09 -03:00
Jari van Ewijk
9bbfd31b25 UCANS32K146 board: Add CAN configuraton 2021-09-17 09:28:50 -05:00
Jari van Ewijk
887c508866 UCANS32K146 board config: cleanup & update 2021-09-17 09:28:50 -05:00
Jari van Ewijk
456b4ed584 Remove RDDRONE-UAVCAN144 board 2021-09-17 09:28:50 -05:00
Jari van Ewijk
7c8515e21c Rename RDDRONE-UAVCAN146 board to UCANS32K146 2021-09-17 09:28:50 -05:00
Peter Bee
a7a3d8bec7 boards/esp32c3: add ESP32C3 LCD drivers
Add board driver for ST7735, ST7789 and GC9A01

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-09-17 09:35:10 -03:00
Alin Jerpelea
48f92e6f1d author: Bill Gatliff : update licenses to Apache
Gregory Nutt has submitted the SGA
Bill Gatliff has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-16 21:56:08 -05:00
SPRESENSE
050ee011e5 boards: cxd56xx: Add VIDEO configuration to mpy defconfig
New CISIF which supports rearchitected video driver needs VIDEO configuration.
Add VIDEO configuration because mpy defconfig includes CISIF.
2021-09-15 07:06:35 +02:00
SPRESENSE
a4fcd654a4 boards: cxd56xx: Update defconfig of camera example
Add LCD and NX configurations to camera example as apps/examples/camera changes.
2021-09-15 07:06:35 +02:00
SPRESENSE
74df4b70b3 drivers: video: Rearchitect video driver
Rearchitect video driver:
- Define two video I/F(struct imgsensor_ops_s and struct imgdata_ops_s),
  and support them.
- CISIF driver supports new video I/F struct imgdata_ops_s.
- ISX012 driver supports new video I/F struct imgsensor_ops_s.
- Move ISX012 driver to general driver directory.
2021-09-15 07:06:35 +02:00
Jari van Ewijk
df06b30f2c S32K148EVB cleanup 2021-09-15 12:05:45 +08:00
Jari van Ewijk
e7ee848466 S32K146EVB cleanup 2021-09-15 12:05:45 +08:00
Jari van Ewijk
02a84469a4 S32K144EVB cleanup 2021-09-15 12:05:45 +08:00
Jari van Ewijk
6cb29053a0 S32K118EVB cleanup 2021-09-15 12:05:45 +08:00
Alan C. Assis
60d4ee11ee esp32-wrover: Add support to LCD1602 with I2C Backpack 2021-09-15 12:02:26 +08:00
Alin Jerpelea
004918999a author: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis. has submitted the ICLA
as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 11:56:41 +08:00
Juha Niskanen
3d5e6b07b4 boards/arm/stm32l4/nucleo-l496zg: add LPUART gpio defines
Also update obsolete instructions.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-09-14 08:57:25 -07:00
Gustavo Henrique Nihei
aacbe981be boards/esp32s2-saola-1: Add implementation for BOARDIOC_RESET interface
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-13 18:32:02 -03:00
Alan C. Assis
099e9fb4f7 boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS 2021-09-13 08:58:25 +08:00
Janne Rosberg
d361a9ded8 boards/icicle: add hwtest config
This config enables all peripherals and some tools.
Also useful for CI build check.
2021-09-11 23:33:01 +08:00
Gustavo Henrique Nihei
87496972a2 boards/esp32: Fix init thread stack size when ESP32_WIFI_SAVE_PARAM=y
Previous default value was not sufficient and was resulting in
unexpected behavior when some log domains were enabled

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-10 13:29:05 +08:00
Sara Souza
acf18bd82d risc-v/esp32-c3: refactor the Wi-Fi board logic.
This commit moves the Wi-Fi initialization to
Wi-Fi specific file and to spiflash initialization.

It also reserves one partition for Wi-Fi use and for general use,
and makes it possible to me mounted by several FS.
2021-09-09 20:14:04 +08:00
Sara Souza
11068fad1b risc-v/esp32-c3: Enable the allocation of multiple MTD SPI Flash partitions 2021-09-09 20:14:04 +08:00
Harri Luhtala
d4e59b7e8d arch/arm/src/stm32l4: add control for Vddio2 independent I/Os supply valid
Signed-off-by: Harri Luhtala <harri.luhtala@haltian.com>
2021-09-09 08:26:08 -03:00
Gustavo Henrique Nihei
310a2dd0e4 tools/esp32c3: Create option for merging all binaries into a single file
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Gustavo Henrique Nihei
12b4d22757 tools/esp32s2: Create option for merging all binaries into a single file
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Gustavo Henrique Nihei
cc36712ea4 boards: Include Kconfig for configs common to ESP32-S2 chips
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Gustavo Henrique Nihei
c0344d2273 tools/esp32: Create option for merging all binaries into a single file
This is only useful when the path to binary files (e.g. bootloader) is
provided via the ESPTOOL_BINDIR variable.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
YAMAMOTO Takashi
c4216d062f Revert "Make: fix use of gcc as LD for modules and ELF executables builds"
This reverts commit 6c2c70c61e.
2021-09-08 09:40:48 +08:00
YAMAMOTO Takashi
a461256aef nucleo-g431kb: Update after the revert of "Make: use gcc as LD"
Remove -Wl, in LDFLAGS.
2021-09-08 09:40:48 +08:00
YAMAMOTO Takashi
58bdcbab9b Revert "Make: use gcc as LD"
This reverts commit 45672c269d.

Because:

* It's very confusing to have cc as LD.
* I don't see what "-nostartfiles -nodefaultlibs" in LDFLAGS are
  supposed to do when we use LD directly. It would be simpler to
  remove them from our LDFLAGS.
2021-09-08 09:40:48 +08:00
YAMAMOTO Takashi
d300558639 Revert "boards/sim/sim/sim: correct LDLINKFLAGS after migrating from ld to gcc":
This reverts commit 6545b95088.
2021-09-08 09:40:48 +08:00
YAMAMOTO Takashi
e4f8cd06ad Revert "sim: Use cc as linker, which usually aliases to either GCC or Clang"
This reverts commit ba1f730528.
2021-09-08 09:40:48 +08:00
YAMAMOTO Takashi
5ad1cba338 Revert "arch: Replace ar and nm with gcc-ar and gcc-nm"
This reverts commit b05737d78f.

Because it broke clang-based builds.
2021-09-07 10:54:15 +08:00
Alin Jerpelea
df088c39f0 author: Anthony Merlino : update licenses to Apache
Verge Aero has submitted the SGA

Anthony Merlino has submitted the SGA

Gregory Nutt has submitted the SGA

Sebastien Lorquet has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-06 20:38:14 +08:00
Sara Souza
26397c6695 xtensa/esp32: Wi-Fi board logic refactoring.
This commit removes the initialization of the Wi-Fi partition
from the Wi-Fi board logic and moves it to the SPI Flash board code.

It creates 2 different partition (one for Wi-Fi and one for general
use).

It also allows these partitions to be mounted over several FSs.
2021-09-04 14:30:02 +08:00
liucheng5
fdb9576d7a feature: driver: Add a Linux SPI into simulator.
When SIM_SPI is valid, a specified Linux SPI device ‘spidevN.P’(N is bus number and P is CS number) is attached to nuttx simulator, shown as 'spi0' under /dev. One may type spi command (need SPITOOL valid) in NSH to control the Linux SPI and exchange data, other devices such sensors can use it to debug in simulator on a Ubuntu PC. Note that a USB<>SPI module (e.g. CH341A/B) should be plugged in to achieve Linux SPI ports.

Change-Id: I275b2c2bbf6d14bcdf514c89efb9a2264d69e9a3
Signed-off-by: liucheng5 <liucheng5@xiaomi.com>
2021-09-03 18:15:25 +08:00
Alin Jerpelea
dda6733178 defconfig: allow use of BSD components
several configs are used for testing and need the BSD components

more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
be9a0debf2 defconfig: allow use of BSD components
several configs are used for testing and need the BSD components

more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Xiang Xiao
b05737d78f arch: Replace ar and nm with gcc-ar and gcc-nm
to make enable LTO easily

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-02 10:02:14 -03:00
Alin Jerpelea
9d870e1502 defconfig: allow use of BSD components
several configs are used for testing and need the BSD components

more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 09:00:43 -03:00
Alin Jerpelea
2ab9e7fef0 Revert "esp32: remove FS_SPIFFS from defconfigs"
This reverts commit 35a004bdd0.
2021-09-02 09:00:43 -03:00
Alin Jerpelea
cf884b7460 Revert "defconfig: remove NFS from defconfig"
This reverts commit ff07cb8b2f.
2021-09-02 09:00:43 -03:00
Gustavo Henrique Nihei
54d436116e boards/esp32-ethernet-kit: Add config for MCUboot API usage example 2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
5bc3586b20 boards/esp32-ethernet-kit: Add config for MCUboot-based FW update agent 2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
efbabfad04 boards/esp32-devkitc: Add config for MCUboot API usage example 2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
509008cfbe boards/esp32-devkitc: Add config for MCUboot-based FW update agent 2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
c61399cca5 boards/esp32-wrover-kit: Add config for MCUboot API usage example
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
57bde4ff89 boards/esp32-wrover-kit: Add config for MCUboot-based FW update agent
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Sara Souza
8081228556 xtensa/esp32-s2: Adds support to the timer driver
Only one more support for ESP32-S2 chip.
2021-09-01 14:10:01 -03:00
Alan C. Assis
afc0e2f0f4 sim/lvgl: Add CONFIG_INPUT_MOUSE to get GUI working 2021-09-01 13:54:36 -03:00
Alan C. Assis
ad83e7bc88 open1788/fb: Fix CONFIG_MQ_MAXMSGSIZE 2021-09-01 11:58:22 +08:00
Michal Lenc
e180f32020 boards/arm/imxrt/teensy-4.x: add option to have CAN3 as can0
This commit adds option for Teensy 4.x board to initialize CAN3 as can0.
The reason of this is the CAN FD capability of CAN3. This commit also
disables tickless mode support for pikron-bb configuration as this option
started causing hard faults which are yet to be solved.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-08-31 14:47:41 -03:00
Alin Jerpelea
fd3b87e115 boards: author: Gregory Nutt: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-31 12:38:47 -03:00
Masayuki Ishikawa
9020c077f9 boards: qemu-intel64: Update defconfigs
Summary:
- Add CONFIG_DEBUG_SYMBOLS=y (nsh, ostest)
- Add CONFIG_TESTING_OSTEST=y (nsh)

Impact:
- None

Testing:
- Tested with osetst

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-31 17:06:59 +08:00
Alin Jerpelea
ff07cb8b2f defconfig: remove NFS from defconfig
NFS uses BSD license and should not be enabled by default

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
35a004bdd0 esp32: remove FS_SPIFFS from defconfigs
FS_SPIFFS uses BSD license and should not be enabled by default

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
f74cbb7774 sim: spiffs: allow BSD components for testing purposes
SPIFFS is BSD and we should allow BSD components for testing purposes

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alan C. Assis
e89933d02a esp32/ttgo_lora_esp32: Add support to SSD1306 OLED display 2021-08-29 10:48:35 +08:00
Xiang Xiao
b0c782255c libxx: Change CXX_LIBSUPCXX to LIBSUPCXX
align with other Kconfig(e.g. LIBCXXABI, LIBCXX, UCLIBCXX)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:14:48 -03:00
Xiang Xiao
e3ab1179fa board: Enable CONFIG_LIBCXXABI when CONFIG_LIBCXX is enabled
to avoid link libsupc++.a which is provided by toolchain

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
Xiang Xiao
ceb8bd4bce libxx: Disable CXX_EXCEPTION by default to save the code space
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1b1fafa95f0e385a615dba78f43858b797c5ce69
2021-08-28 17:13:43 -03:00
Alan C. Assis
5df1a544cf boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32
Link to this board's project: https://github.com/LilyGO/TTGO-LORA32
2021-08-26 18:51:15 -03:00
Alin Jerpelea
a43650648e risc-V: remove ble defconfigs
By default the components with BSD license should be disabled

NOTE:
the BLUETOOTH components was enabled in a non bluetooth config

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
5bc10ba9a6 nrf52832-mdk: remove sdc defconfig
By default the Bluetooth configuration is disabled due to BSD license

Please enable the use of BSD licenses and the Bluetooth config

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
c29cc7e241 stm32f4discovery: hciuart: remove hciuart defconfig
By default the components with BSD license should be disabled

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
8119e1e8e0 sim: enable BSD components
By default the components with BSD license are disabled.

NOTE:
We are making an exception and enable the BSD components for
Simulator build to be able to thest the functionality.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Masayuki Ishikawa
2b61c8491a boards: lm3s6965-ek: Update qemu-flat/defconfig
Summary:
- Add CONFIG_STACK_COLORATION=y
- Change CONFIG_TASK_NAME_SIZE from 0 to 24
- Add CONFIG_TESTING_OSTEST=y

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-24 12:07:34 +08:00
Masayuki Ishikawa
4413a976eb boards: lm3s6965-ek: Update qemu-protected/defconfig
Summary:
- Add CONFIG_STACK_COLORATION=y
- Change CONFIG_TASK_NAME_SIZE from 0 to 24
- Add CONFIG_TESTING_OSTEST=y

Impact:
- None

Testing:
- Tested with ostest
- NOTE: ostest seems to finish successfully but the victim
  task still exists

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-24 12:07:34 +08:00
Xiang Xiao
af72376773 fs: Remove magic field from partition_info_s
since it is wrong and impossible to return file
system magic number from the block or mtd layer.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-20 09:19:52 -03:00
Antti Vähälummukka
6eb73ced51 arch/risc-v/src/mpfs: Add CorePWM driver
Add a driver for CorePWM block, which can be instantiated on PolarFire SOC FPGA

This supports 2 CorePWM blocks on the FPGA. One CorePWM block provides 8 PWM output signals
2021-08-20 08:56:30 -03:00
raiden00pl
06cf12617c nucleo-f446re: add 3-phase Hall effect sensor support 2021-08-19 08:19:38 -07:00
raiden00pl
dbe4cd88dd boards/stm32/common: add 3-phase Hall effect sensor common logic 2021-08-19 08:19:38 -07:00
Xiang Xiao
7dc31637aa sama5d3x-ek/ov2640: Enable CONFIG_ALLOW_GPL_COMPONENT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-18 13:48:45 +02:00
Abdelatif Guettouche
52f32cb367 boards/xtensa/esp32: Don't include esp32_cpuint.h, it's not needed.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 04:42:18 -07:00
Alin Jerpelea
2d254eb7fb boards: rx65n: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
1175b7f5b5 boards: or1k: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
05944b0992 boards: lm32: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
38be55301f boards: tiva: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
0686bba9b0 boards: stm3214: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
77b427c470 boards: stm32h7: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
7b6b9241f5 boards: stm32f7: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
13d66c8130 boards: stm32f0l0g0: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
c481a5b7ac boards: stm32: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
f79e254898 boards: sam5e5: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
05653c39ff boards: sam34: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
a6365cfb61 boards: moxart: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
cbbcdd2393 boards: lpc43xx: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
7f458a8cb2 boards: lpc17xx_40xx: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
2d395fae31 boards: kinetis: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Alin Jerpelea
4fdeea8f4b boards: imxrt: update licenses to Apache
Alan Carvalho de Assis has submitted the ICLA

Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 07:11:32 -07:00
Xiang Xiao
71269811ca mtd: Implement BIOC_PARTINFO for all drivers
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-16 10:08:26 -03:00
Gustavo Henrique Nihei
1dfcc6ab49 xtensa/esp32: Enable boot from Espressif's port of MCUboot
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-13 08:44:20 -03:00
raiden00pl
610ac21240 nucleo-f302r8: add qenco example configuration 2021-08-11 09:30:12 -03:00
raiden00pl
736bcf035e nucleo-g431rb: add qenco example configuration 2021-08-11 09:30:12 -03:00
raiden00pl
f0b377f434 nucleo-f446re: add qenco example configuration 2021-08-11 09:30:12 -03:00
raiden00pl
8cb58213e5 nucleo-f103rb: add qenco example configuration 2021-08-11 09:30:12 -03:00
Alan C. Assis
3309b8eee6 boards/sim: Add smartfs profile example 2021-08-10 09:08:25 -07:00
Xiang Xiao
b12f588140 Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
since boardctl isn't a libc feature

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
Pedro Bertoleti
b399c509c8 Add BMP180 and INA219 headers. Fix rp2040_ina219.h last comment format 2021-08-05 20:08:09 -03:00
Xiang Xiao
5025fbef8d Rename LIB_ to LIBC_ for all libc Kconfig
follow other libc component naming convention

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 19:45:24 +02:00
Daniel P. Carvalho
91264ba704 nucleo-g431kb: modify COMP example
COMP example was changed to use DAC3CH2 signal on COMP INM input.
2021-08-04 20:22:58 +02:00
Xiang Xiao
700a51f4af board/sim: Enable locale related setting in nsh
to extend the daily build cover the locale code

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-03 12:14:07 -03:00
YAMAMOTO Takashi
7e449c8a61 esp32-devkitc/wapi: Some config tweaks
When trying to reproduce a reported issue with telnetd,
it took me a bit to find out a working config with telnetd.
I don't want to repeat the process again in future.
OTOH, I don't feel it's worth to have a separate config for this.

Enable a few things convenient for testing network stuff
- telnetd
- iperf
- NET_STATISTICS
- Bump NET_NACTIVESOCKETS

Stack related
- Enable interrupt stack
- Tweak stack sizes
- STACK_COLORATION
- SYSTEM_STACKMONITOR

Debug stuff
- Enable assertions
- Enable some WARN/ERROR logs

Misc
- Disable C++ as it does nothing for the rest of the config and
  it's expensive (involving a download of the library)
2021-08-02 23:12:17 -07:00
Masayuki Ishikawa
59bff123e6 boards: spresense: Update rndis_smp/defconfig
Summary:
- I noticed that the RNDIS networking is unstable when running
  nxplayer + command execution via telnet
- This commit is a workaround to fix this issue by disabling
  CONFIG_TCP_WRITE_BUFFERS. Also, CONFIG_SENDFILE_BUFSIZE is
  increased to improve the webserver performance.

Impact:
- spresense:rndis_smp only

Testing:
- Tested with nxplayer, telnetd and webserver

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-01 20:49:13 -07:00
Alexander Lunev
95abf562f4 boards: added a basic support for chipKIT Wi-FIRE board;
added Sourcery CodeBench Lite for MIPS ELF Toolchain option;
corrected inaccuracies in Photon board and EMW3162 board README.txt files.
2021-08-01 08:45:02 -07:00
Peter Bee
84480d760b raspberrypi-pico: add support for lcd_dev
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Change-Id: I5cf9fa40cae6ddfe5c8041145f19e5058b76193f
2021-07-30 14:08:05 -03:00
Gustavo Henrique Nihei
ae714baae5 board/ctrl: Add BOARDIOC_BOOT_IMAGE for booting a new application image
This command enables the application to perform the final steps of the
booting process prior to finally switching the execution to another
firmware image.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-30 09:47:46 -07:00
Masayuki Ishikawa
b9757ff811 boards: esp32-devkitc: Update wapi_smp/defconfig
Summary:
- This commit adds RTC and NTP client to wapi_smp/defconfig

Impact:
- None

Testing:
- Tested with ntpcstart & date

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-29 21:00:01 -07:00
Xiang Xiao
440ca48778 Replace all __attribute__((packed)) with [begin|end]_packed_struct
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-29 21:55:21 -03:00
Xiang Xiao
007adc7736 Replace all __attribute__((section(x)) with locate_data(x)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-29 21:55:21 -03:00
Xiang Xiao
b3f9ffbe72 Replace all __attribute__((aligned(x)) with aligned_data(x)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-29 21:55:21 -03:00
Sara Souza
9c3799f130 xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1. 2021-07-29 17:21:32 -03:00
Gustavo Henrique Nihei
a7a922611b xtensa/esp32: Enable the allocation of multiple SPI Flash partitions
Currently the "esp32_spiflash_alloc_mtdpart" allocates a
statically-defined partition from "offset" and "size" set via
Kconfig.
This commit changes the function interface to receive those information
as arguments, enabling the creation of multiple MTD partitions with
different offsets and sizes.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-29 20:17:13 +02:00