Commit Graph

1868 Commits

Author SHA1 Message Date
Masayuki Ishikawa
129229f430 boards: sabre-6quad: Update netnsh/netnsh_smp defconfigs
Summary:
- Add the following configs
  +CONFIG_CODECS_HASH_MD5=y
  +CONFIG_NETUTILS_CODECS=y
  +CONFIG_NFS=y

Impact:
- None

Testing:
- Tested with NFS server on Ubuntu 18.04 (x86_64)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-13 22:33:12 -03:00
Xiang Xiao
2f65c3dd74 boards/sim: Remove the hardcode platorm config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Xiang Xiao
11ef8a3201 board: Enable CONFIG_BOARDCTL_ROMDISK
to fix build break by commit 3156aa7532

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Michal Lenc
1856a85b28 Documentation/platforms: added documentation for imxrt10xx boards 2021-05-12 11:47:32 -03:00
chenwen
16667930cb risc-v/esp32c3: Support ESP32-C3 PM standby and sleep 2021-05-12 10:15:06 -03:00
Tanushree Baindur
3156aa7532 Apps Issue #246: Replace romdisk_register() with boardctl(BOARDIOC_ROMDISK)
C file changes:
examples/bastest/bastest_main.c, examples/elf/elf_main.c,
examples/module/module_main.c, examples/posix_spawn/spawn_main.c,
examples/romfs/romfs_main.c, examples/sotest/sotest_main.c,
examples/unionfs/unionfs_main.c

Corresponding defconfig files added/modified to test above changes:
       new file:   boards/sim/sim/sim/configs/bastest/defconfig
       new file:   boards/sim/sim/sim/configs/elf/defconfig
       modified:   boards/sim/sim/sim/configs/module/defconfig
       new file:   boards/sim/sim/sim/configs/posix_spawn/defconfig
       new file:   boards/sim/sim/sim/configs/romfs/defconfig
       modified:   boards/sim/sim/sim/configs/sotest/defconfig
       modified:   boards/sim/sim/sim/configs/unionfs/defconfig
       modified:   boards/sim/sim/sim/configs/module32/defconfig
       modified:   boards/sim/sim/sim/configs/sotest32/defconfig
2021-05-12 04:42:18 -07:00
Abdelatif Guettouche
df7bd125f8 boards/risc-v/esp32c3: Convert the README.txt to the new Documentation.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-12 04:40:41 -07:00
Raman Gopalan
9b4014d048 avr32dev1: USART1 RX: Reassign pin 2021-05-10 17:11:05 -03:00
Juha Niskanen
abcb67a292 Remove final remaining CONFIG_DISABLE_SIGNALS and CONFIG_DISABLE_SIGNAL 2021-05-10 17:04:38 -03:00
Nathan Hartman
8af9d39667 Documentation, comments: Minor improvements and typos fixed 2021-05-09 19:12:13 -07:00
Dong Heng
bd8e37bb4b risc-v/esp32c3: Add ESP32-C3 (G)DMA driver and testing 2021-05-07 16:46:41 -03:00
Raman Gopalan
649e680f75 avr32dev1: Suppress linker error: Placeholder for board_app_initialize() 2021-05-06 11:25:38 -03:00
Max Kriegleder
8bcef02324 boards/nucleo-h743zi2: added netnsh config 2021-05-05 18:21:44 -03:00
Gustavo Henrique Nihei
534c058d93 spi: Adopt CPHA as the abbreviation for clock phase 2021-05-05 16:56:07 -03:00
Brennan Ashton
2c91805d8f boards/stm32f7: Add i2c and mpu60x0 support to nucleo-144 2021-05-04 10:17:44 -03:00
Max Kriegleder
d1d4237ac7 boards/nucleo-h743zi2: Fixed pin and color of board LED LD2 2021-05-01 21:25:59 -07:00
Michal Lenc
2dcd41f2ab boards/arm/stm32/nucleo-f446re: added support for PWM
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-05-01 15:18:24 -03:00
Gustavo Henrique Nihei
4f08f43a6d boards/esp32c3-devkit: Increase MAX_TASKS to 16 on nsh/ostest configs
This fixes the barrier test from ostest application
2021-04-30 17:55:30 +01:00
Masayuki Ishikawa
f4089ab528 boards: sim: Remove CONFIG_NETDEV_IFINDEX=y
Summary:
- This commit fixes the warnings reported by the CI

Impact:
- None

Testing:
- Build only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-29 03:20:43 -05:00
Gregory Nutt
27e0725a4e Remove CONFIG_NET_UDP_BINDTODEVICE from DHCPC configurations
CONFIG_NET_UDP_BINDTODEVICE is now selected by default if DHCPC is enabled.

This change will not build without apps PR 696
2021-04-28 21:22:40 -05:00
Dong Heng
fcd5648bca riscv/esp32c3: Fix SPI Flash driver internal chip data address error
"g_rom_flashchip" is not in fixed address between all ESP32-C3's different versions.
2021-04-28 09:58:16 -05:00
Gustavo Henrique Nihei
66a15a6f83 risc-v/esp32c3: Fix wrong references to ESP32 2021-04-28 15:41:30 +01:00
Gustavo Henrique Nihei
d9f2289d30 boards/esp32: Allocate .noinit in a dedicated section 2021-04-28 15:40:49 +01:00
Gustavo Henrique Nihei
ba23526e39 boards/esp32c3-devkit: Allocate .noinit in a dedicated section
Previously it was being allocated into .bss section after the _ebss
address. Although functional, this is not intuitive.
2021-04-28 15:40:49 +01:00
Gustavo Henrique Nihei
2fd98c99d7 boards/esp32c3-devkit: Add SPI character device driver 2021-04-26 20:50:32 -03:00
Gustavo Henrique Nihei
e0f514171b boards/esp32c3-devkit: Add board-specific SPI functions 2021-04-26 20:50:32 -03:00
Masayuki Ishikawa
1bded73f9f boards: raspberrypi-pico: Add CONFIG_STACK_COLORATION=y to smp/defconfig 2021-04-25 03:19:24 -05:00
Masayuki Ishikawa
05f743aa3a Revert "boards: lc823450-xgevk: Workaround to avoid an ostest crash with rndis"
This reverts commit 65274d5fdf.
2021-04-23 03:25:14 -05:00
Masayuki Ishikawa
b17ee3fe29 boards: maix-bit: Add smp2 configuration
Summary:
- This commit adds maix-bit:smp2 configuration to test different
  sched parameters such as CONFIG_SCHED_CHILD_STATUS=y

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-23 03:25:14 -05:00
Sara Souza
0c440cfdfe xtensa/esp32: Reorganize the timer logic for wireless use 2021-04-22 21:38:16 -05:00
Dong Heng
fecdd27df3 esp32 & esp32c3: Update Wi-Fi BT and Wi-Fi libraries to fix some issues 2021-04-22 07:34:06 -03:00
Sara Souza
7a80cbf93f risc-v/esp32-c3: Adds oneshot timer driver. 2021-04-22 09:13:58 +01:00
Alan C. Assis
ae42005712 esp32/mcp2515: Enable irq after attaching to the pin irq 2021-04-21 22:26:52 -05:00
Abdelatif Guettouche
f43f066018 boards: Update the iperf configs.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-21 13:44:18 -05:00
Masayuki Ishikawa
1a9e7efde5 smp: Remove CONFIG_SMP_IDLETHREAD_STACKSIZE
Summary:
- The CONFIG_SMP_IDLETHREAD_STACKSIZE was introduced to optimize
  the idle stack size for other than CPU0
- However, there are no big differences between the idle stacks.
- This commit removes the config to simplify the kernel code

Impact:
- All SMP configurations

Testing:
- Tested with ostest with the following configs
- spresense:smp, spresense:rndis_smp
- esp32-devkitc:smp (QEMU), maix-bit:smp (QEMU)
- sabre-6quad:smp (QEMU), sabre-6quad:netnsh_smp (QEMU)
- raspberrypi-pico:smp, sim:smp (x86_64)

Signed-off-by: Masayuki Ishikawa <asayuki.Ishikawa@jp.sony.com>
2021-04-19 21:46:39 -05:00
Abdelatif Guettouche
c1b0ee436c arch/xtensa/src/esp32/Kconfig: Make bank switching default to disabled.
This config is only useful when there is a > 4MB PSRAM and thus needs to
be selected by the user explicitly.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-19 07:48:35 -05:00
Abdelatif Guettouche
792f53b4ac boards/esp32-devkitc: Remove useless configs from PSRAM defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-19 07:48:35 -05:00
Masayuki Ishikawa
1e6fd0871f boards: maix-bit: Add _default_stack_limit to the linker script
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-19 01:09:22 -05:00
Masayuki Ishikawa
17149fbb38 boards: hifive1-revb: Add _default_stack_limit to the linker scripts
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-19 01:05:40 -05:00
Yuichi Nakamura
7fb73dba1c boards/raspberrypi-pico: Pico Audio Pack (I2S) support 2021-04-19 09:39:51 +09:00
hotislandn
60b56121b6 boards:rv64:c906:add sotest demo for smartl-c906.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-04-17 19:07:13 +01:00
David Sidrane
c3cbe673ad nucleo-h743zi:Use Serial RX/DX DMA 2021-04-17 09:56:41 +02:00
Masayuki Ishikawa
65274d5fdf boards: lc823450-xgevk: Workaround to avoid an ostest crash with rndis
Summary:
- This is just a workaround to avoid a crash in signest_test
- The commit should be reverted once we find the root cause of the issue

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-16 03:53:13 -05:00
Xiang Xiao
2335b69120 arch: Allocate the space from the beginning in up_stack_frame
arch: Allocate the space from the beginning in up_stack_frame

and modify the affected portion:
1.Correct the stack dump and check
2.Allocate tls_info_s by up_stack_frame too
3.Move the stack fork allocation from arch to sched

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-16 12:41:41 +09:00
Xiang Xiao
8640d82ce0 arch: Rename g_intstackbase to g_intstacktop
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-16 12:41:41 +09:00
hotislandn
d0c31f09e7 arch:rv64:c906:add configuration for kernel module test.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-04-15 11:04:51 -05:00
raiden00pl
0ada35faeb nucleo-g431rb: add support for IHM16M1 2021-04-15 06:38:39 -05:00
raiden00pl
25240d9114 boards/stm32/common: add support for IHM16M1 2021-04-15 06:38:39 -05:00
raiden00pl
5e59d3753a nucleo-g431rb: fixes for button 2021-04-15 06:38:39 -05:00
YAMAMOTO Takashi
d1307aa34f esp32-devkitc: Add a config to run apps/examples/sotest 2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
c62173375d esp32-devkitc: Add a config to run apps/examples/module
Right now, these seems to be no config in tree with
CONFIG_ARCH_USE_MODULE_TEXT.
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
1748ca42cd esp32: Ensure the alignment of _smodtext 2021-04-15 12:18:52 +01:00
jturnsek
7813b4f88a Refreshing default configs 2021-04-14 14:57:26 -07:00
jturnsek
61b0e530b0 Default config without flexspi and mtd 2021-04-14 14:57:26 -07:00
jturnsek
c12ccfc80b Copy .ARM.exidx together with .text to make linker happy 2021-04-14 14:57:26 -07:00
jturnsek
e32d186739 Removing MMCEN pin setting from LPSPI1 2021-04-14 14:57:26 -07:00
jturnsek
e250006b1e FlexSPI NOR missing config and pin iomux 2021-04-14 14:57:26 -07:00
jturnsek
0c4d66dcf0 FlexSPI NOR driver added 2021-04-14 14:57:26 -07:00
jturnsek
2f92ecc7d6 Fixed comment lengths 2021-04-14 14:57:26 -07:00
jturnsek
a4857d78b9 Removing some none existing initialization. 2021-04-14 14:57:26 -07:00
jturnsek
f5d22ccd03 Change ALL copyright from Greg and David to apache since they already sign SGA or ICLA 2021-04-14 14:57:26 -07:00
jturnsek
4e50ba14e8 Removing some none existing configurations from the default 2021-04-14 14:57:26 -07:00
jturnsek
33b071ecb9 MIMXRT1064-EVK support 2021-04-14 14:57:26 -07:00
Gustavo Henrique Nihei
0030c2020f boards/esp32-wrover-kit: Remove deprecated README documentation 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
890ce34626 boards/esp32-wrover-kit: Add configuration for running LVGL demo 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3fbca90700 boards/esp32-wrover-kit: Add configuration for testing NX graphics 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3ae2a2965f boards/esp32-wrover-kit: Add support for Framebuffer character driver 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
ee636c5fe2 boards/esp32-wrover-kit: Add support for LCD character driver 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
856bed2966 boards/esp32-wrover-kit: Add LCD support via ILI9341 controller 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
71f9aca371 boards/esp32: Refactor SPI hooks to be shared among ESP32 devkits 2021-04-14 16:29:32 -03:00
raiden00pl
d19994139f nucleo-g431rb: add ADC example 2021-04-14 05:02:39 -05:00
Marco Krahl
aea0135273 stm32f103-minimum: Adds custom initializing for sensors
This adds initializing for the following sensor types:
- HYT271 humidity and temperature sensor
- DS18B20 temperature sensor

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-14 02:49:28 -05:00
Barry Xu
099980efb5 Support different hardware version of Wi-Fi add-on board (iS110B)
Signed-off-by: Barry Xu <barry.xu@sony.com>
2021-04-14 16:10:51 +09:00
raiden00pl
f467a741fb nucleo-g431rb: add PWM example 2021-04-13 13:07:38 -07:00
Michal Lenc
0719976722 Documentation: added documentation for i.MX RT series and Teensy 4.x board
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-04-13 13:18:47 -05:00
Abdelatif Guettouche
ad43d9e8f3 boards/esp32c3-devkit: Add an OSTest defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-13 12:07:56 -03:00
raiden00pl
fd754f88b7 nucleo-g431rb: add button support 2021-04-13 05:29:32 -05:00
raiden00pl
5dd19f8072 nucleo-g431rb: refactor bringup logic for consistency with other boards 2021-04-13 05:29:32 -05:00
Alin Jerpelea
20d315abfe NuttX: Falker Atomacao Agrícola Ltda: update licenses to Apache
Falker Atomacao Agrícola Ltda has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-13 05:28:28 -05:00
Masayuki Ishikawa
0d1d42ec5f boards: spresense: Update defconfigs for rndis and rndis_smp
Summary:
- Update spresense:rndis_smp
  - Remove CONFIG_MAX_TASKS=16
  - Enable CONFIG_RTC_ALARM and CONFIG_RTC_HIRES
- Update spresense:rndis
  - Follow rndis_smp configuration except for SMP

Impact:
- spresense:rndis and spresense:rndis_smp

Testing:
- Tested with nxplayer

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-12 23:19:30 -05:00
jturnsek
f57ff30545 Removing FLexSPI NOR driver 2021-04-12 17:22:14 -03:00
jturnsek
177ff946b8 Missing nl 2021-04-12 11:35:44 -03:00
Dong Heng
31854ca135 riscv/esp32c3: Fix heap end address 2021-04-12 01:36:11 -05:00
raiden00pl
4972153ee6 nucleo-f103rb: add FOC example based on IHM07M1 expansion board (only fixed16) 2021-04-11 03:52:21 -05:00
raiden00pl
ad6c4ff0cd nucleo-f103rb: refactor bringup logic for consistency with other boards 2021-04-11 03:52:21 -05:00
raiden00pl
5eadd8b3a9 nucleo-f446re: add ADC example 2021-04-10 15:48:06 -05:00
raiden00pl
155770b1e7 nucleo-f446re: fix compilation error when ADC is enabled and FOC is disabled 2021-04-10 15:48:06 -05:00
Xiang Xiao
3f67c67aaf arch: Fix the stack boundary calculation and check
All supported arch uses a push-down stack:
The stack grows toward lower addresses in memory. The stack pointer
register points to the lowest, valid working address (the "top" of
the stack). Items on the stack are referenced as positive(include zero)
word offsets from sp.
Which means that for stack in the [begin, begin + size):
1.The initial SP point to begin + size
2.push equals sub and then store
3.pop equals load and then add

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 08:39:54 -07:00
raiden00pl
2b309349fe nucleo-f446re: add FOC example based on IHM08M1 expansion board 2021-04-10 08:19:14 -07:00
raiden00pl
0186ec1e05 nucleo-f302r8: add FOC example based on IHM07M1 expansion board 2021-04-10 08:19:14 -07:00
Alin Jerpelea
aa7c1dc67f boards: stm32l4: Fix nxstyle warning
Port from a0fae8c4d6

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:46:32 -05:00
raiden00pl
8da07e853e boards/sim: add support for FOC example 2021-04-10 06:43:53 -05:00
Alin Jerpelea
eac1d28aae NuttX: Janne Rosberg: update licenses to Apache
Janne Rosberg has submitted the ICLA and we can migrate the licenses
 to Apache.

David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Ivan Ucherdzhiev has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:42:19 -05:00
Alin Jerpelea
231b8518b7 NuttX: Ken Pettit: update licenses to Apache
Ken Pettit has submitted the ICLA and we can migrate the licenses
 to Apache.

Sebastien Lorquet has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:42:19 -05:00
Xiang Xiao
0fdde5be26 arch/esp32: Fix error: Mixed case identifier found
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 12:00:06 +01:00
Gustavo Henrique Nihei
6c05b2479e boards/xtensa: Avoid multiple inclusion of the common Kconfig
Also added a condition (!ARCH_BOARD_CUSTOM) for preventing that
out-of-tree ESP32-based custom boards carry out the in-tree common
directory.
2021-04-10 00:32:21 -05:00
Gustavo Henrique Nihei
8218d5ea76 boards/xtensa: Fix Kconfig style issues 2021-04-10 00:32:21 -05:00
Michal Lenc
4b8df9f835 boards/arm/stm32/nucleo-f446re: added support for ili9225 display
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-04-09 22:41:56 -03:00
Gustavo Henrique Nihei
1473c12403 boards: Remove useless comment from Kconfig 2021-04-09 20:17:30 -03:00
Masayuki Ishikawa
f2a57b612a boards: maix-bit: Add knsh_smp
Summary:
- This commit adds knsh_smp for maix-bit

Impact:
- None

Testing:
- Tested with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-09 03:12:50 -05:00
Alin Jerpelea
d2e7ea05c6 NuttX: typo fix
Yype fix for Public Functions reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00
Gustavo Henrique Nihei
c4ed7361b7 boards/sama5d3-xplained: Fix a typo on the EINTR error code 2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
ada84cacda drivers/input: Rename AJOYSTICK configs to INPUT_AJOYSTICK 2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
3054237d2e drivers/input: Rename DJOYSTICK configs to INPUT_DJOYSTICK 2021-04-08 14:41:22 -03:00
Gustavo Henrique Nihei
2efae6928d drivers/input: Rename BUTTONS configs to INPUT_BUTTONS 2021-04-08 14:41:22 -03:00
Alin Jerpelea
b1581efacc boards: nrf52: remove empty files
Remove the empty files from the board folder (reported by nxstyle tool).

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Alin Jerpelea
8bdcca039e boards: stm32f334-disco: remove empty files
Remove the empty files from the board folder (reported by nxstyle tool).

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Alin Jerpelea
413f11c598 boards: nucleo-f334r8: remove empty files
Remove the empty files from the board folder (reported by nxstyle tool).

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 09:20:35 -03:00
Matias N
ab206687bb Replace wrong inclusion of sys/errno.h (toolchain provided) with errno.h 2021-04-07 21:27:06 -05:00
Matias N
bc8a6772f6 Documentation: migrate ESP32DevKit README into docs 2021-04-07 22:34:33 +01:00
Matias N
d88b5aac97 esp32: move common XTAL and RUN_IRAM configs to ESP32 KConfig 2021-04-07 21:45:48 +01:00
Anthony Merlino
028aca433c Removes STM32_BOARD_HCLK from all board.h files. It is now unneccessary. Use STM32_HCLK_FREQUENCY instead. 2021-04-06 22:42:06 -05:00
Abdelatif Guettouche
b198c63512 boards/xtensa/esp32: Update some old information in README.txt files.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Abdelatif Guettouche
19f3523499 boards/xtensa/esp32: Update Kconfig helps when it comes to running from
IRAM.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Alin Jerpelea
21190ab90d boards: Mixed Case fixes
fixes for Mixed Case Identifiers reported by nxstyle tool

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-06 12:50:41 -05:00
Alin Jerpelea
f8420a9e47 boards: nxstyle fixes
fixes for nxstyle errors reported by the tool.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-06 12:50:41 -05:00
Alin Jerpelea
72041911ce NuttX: Marco Krahl: update licenses to Apache
Marco Krahl has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt, S.A has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-06 12:50:41 -05:00
Alan C. Assis
cd08694698 esp32 boards: BUTTON_BOOT should use PULLUP instead PULLDOWN 2021-04-05 23:06:03 -05:00
Alin Jerpelea
c336a792b2 boards: arm: stm32f7: nxstyle fixes
Fix for errors reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:32:18 -05:00
Alin Jerpelea
5b7405356b boards: Philippe Coval: update licenses to Apache
Philippe Coval has submitted the ICLA and we can migrate the licenses
 to Apache.

Alan Carvalho de Assis has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt, S.A has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:32:18 -05:00
Alan C. Assis
87fe0e6072 stm32f4discovery: Add Modbus Slave example 2021-04-05 01:24:21 -05:00
Xiang Xiao
9097244cb8 build: Makefile should reference CONFIG_HOST_xxx
instead to detect the host through uname

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 23:20:35 -07:00
Xiang Xiao
e7bce54fa9 build: Fix build break for renesas/rx65n
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 15:51:48 -03:00
Xiang Xiao
661d597d19 stm32/nucleo-g431rb-esc1: Normalize nsh config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 13:56:39 -03:00
Alan C. Assis
6481eb6523 esp32-devkitc: Add BMP180 sensor support 2021-04-04 10:54:02 -05:00
Xiang Xiao
6fb0fd6825 stm32/nucleo-g431rb: Normalize nsh config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 11:54:21 -03:00
Xiang Xiao
5f3a98b5a8 libc/assert: Reference the expression in all case
to avoid the warning "defined but not used"

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I55b7c092d0f2e5882fc1784987657c10cdf2d90b
2021-04-03 21:00:41 +01:00
Alan C. Assis
ec1b89e264 esp32-wrover-kit: Don't use User GPIO Subsystem to control LED
The GPIO_LEDx are already used by esp32_userleds.c, they shouldn't
be used by esp32_gpio.c. This patch also includes the GPIO Input
example (GPIN) that was missing.
2021-04-03 09:37:38 -05:00
Alin Jerpelea
015a205ec6 arch: arm: David Sidrane: update licenses to Apache
David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Mateusz Szafoni has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 09:36:43 -05:00
Alin Jerpelea
6ceb0d8d9b arch: arm: imxrt: Actia Nordic AB: update licenses to Apache
Actia Nordic AB has submitted the SGA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 09:36:43 -05:00
Sungwoo Kim
4bb624b8a1 boards/**/defconfig: Remove explict disables for mb, mh, and mw
Since https://github.com/apache/incubator-nuttx-apps/pull/647 disables
them by default.
See:
- https://github.com/apache/incubator-nuttx/issues/3011
-
https://github.com/apache/incubator-nuttx-apps/pull/647#issuecomment-812818855

Co-authored-by: Gisu Yeo <wcharcode@gmail.com>
Co-authored-by: Taegyu Kim <tgkim@purdue.edu>
2021-04-03 09:36:08 -05:00
Alan Carvalho de Assis
b4129f8989 esp32c3-devkit: Add random example board config 2021-04-03 07:20:03 -05:00
Alin Jerpelea
26fef3f6a1 NuttX: Fix nxtyle errors
Fix errors reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 04:20:31 -07:00
Alin Jerpelea
08e5378b11 NuttX: Gregory Nutt: update licenses to Apache
Several licenses were missed in the initial work

David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 04:20:31 -07:00
Gustavo L F Walbon
b10c6d69c4 board/arm/lpc17xx_40xx/mbed: userled defconfig
Added a simple defconfig to support the userled driver and its application
for testing in the nsh.

Signed-off-by: Gustavo L F Walbon <gwalbon@linux.ibm.com>
2021-04-02 08:50:39 -05:00
Nathan Hartman
c869bc5348 docs and comments: Update stale references to COPYING
Since 7a046358d9 the top-level COPYING
file has been deleted and replaced by DISCLAIMER, LICENSE, and NOTICE
files. However, some references to the old COPYING file remained in
Kconfig help text and documentation.

Documentation/contributing/coding_style.rst:
Documentation/introduction/about.rst:
boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt:
boards/arm/sam34/arduino-due/README.txt:
boards/arm/sam34/sam4l-xplained/README.txt:
boards/arm/sama5/giant-board/README.md:
boards/arm/sama5/sama5d2-xult/README.txt:
boards/arm/sama5/sama5d4-ek/README.txt:
boards/arm/samd2l2/samd20-xplained/README.txt:
boards/arm/samd2l2/samd21-xplained/README.txt:
boards/arm/samd2l2/saml21-xplained/README.txt:
boards/arm/stm32/hymini-stm32v/README.txt:
boards/arm/stm32/stm3210e-eval/README.txt:
fs/fat/Kconfig:
libs/libc/string/Kconfig:

    * Updates stale references to the old top-level COPYING file to
      either LICENSE or NOTICE (or both), as appropriate in each
      instance.
2021-04-01 21:10:56 -05:00
raiden00pl
5bff5dc971 motor/foc: use motor debug messages in FOC files 2021-04-01 15:43:49 -03:00
Abdelatif Guettouche
f07b64d1af boards/xtensa/esp32/*/esP32_bringup.c: Remove unused comments blocks and
garbage at the end of the files.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-01 12:15:34 -05:00
Abdelatif Guettouche
b925c73110 boards/xtensa/esp32: Move the WLAN initialization to the common
directory.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-01 12:15:34 -05:00
Alin Jerpelea
7a29e1f5fb drivers: Nxstyle fixes
Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
b1ca7cf3ce boards: Nxstyle fixes
Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
3d96d5f2ce arch: esp32: Mixed Case identifier fix
Fix Mixed Case Identifier reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
190582c764 boards: stm32: Laurent Latil: update licenses to Apache
Laurent Latil has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
deadd73f63 boards: arm: stm32: Gwenhael Goavec: update licenses to Apache
Gwenhael Goavec has submitted the ICLA and we can migrate the licenses
 to Apache.

David Sidranec has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
9c3010348b boards: arm: stm32: Jacob Dahl: update licenses to Apache
Jacob Dahl has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
447d22da84 NuttX: Bob Feretich: update licenses to Apache
Bob Feretich has submitted the ICLA and we can migrate the licenses
 to Apache.

David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
303aadfe24 boards: arm: stm32l4: Goden Freemans: update licenses to Apache
Goden Freemans has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
a9bc5732bc NuttX: Ivan Petrov Ucherdzhiev: update licenses to Apache
Ivan Petrov Ucherdzhiev has submitted the ICLA and we can migrate the licenses
 to Apache.

David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
8f3ed4e25d arch: arm: am335x: Petro Karashchenko: update licenses to Apache
Petro Karashchenko has submitted the ICLA and we can migrate the licenses
 to Apache.

Ivan Petrov Ucherdzhiev has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
78ccf7cb91 NuttX: Neil Hancock: update licenses to Apache
Neil Hancock has submitted the ICLA and we can migrate the licenses
 to Apache.

Mateusz Szafoni has submitted the ICLA and we can migrate the licenses
 to Apache.

David Sidrane has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
f8aed9864d NuttX: Max Holtzberg: update licenses to Apache
Max Holtzberg has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
1631ad25c1 arm: stm32xx: Michael Jung: update licenses to Apache
Michael Jung has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
dade0c36ca NuttX: Mateusz Tomasz Szafoni: update licenses to Apache
Mateusz Tomasz Szafoni has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Alin Jerpelea
b84f45812e NuttX: Abdelatif Guettouche: update licenses to Apache
Abdelatif Guettouche has submitted the ICLA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
raiden00pl
1033ee3f79 boards/stm32/common: ihm07m1/ihm08m1 add missing debug.h 2021-04-01 08:34:42 -03:00
raiden00pl
befd5639e0 boards/stm32/common: add support for X-NUCLEO-IHM07M1 and X-NUCLEO-IHM08M1 tree-phase brusheless DC motor expansion boards for STM32 Nucleo 2021-04-01 08:34:42 -03:00
raiden00pl
bf88e6d250 stm32f334-disco/src/stm32_smps.c: fix compilation error 2021-04-01 01:24:12 -05:00
raiden00pl
4ad8f85555 boards/arm/stm32/stm32f334-disco/src/stm32_smps.c: update according to the previous change in the PI controller 2021-04-01 01:24:12 -05:00
Abdelatif Guettouche
8ee22db3d9 boards/arm/olimex-stm32-p407: Add MQTT-C defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-31 10:01:08 -05:00
Abdelatif Guettouche
fcf5c1501e boards/xtensa/esp32-devkitc: Add MQTT-C defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-31 10:01:08 -05:00
Gustavo L F Walbon
a6e963a965 board/arm/lpc17xx_40xx/mbed: Add userleds driver support
lpc17_40_userleds.c: Adds the support of Userleds driver which
provides a device to manipulate the 4 leds of the board through the
/dev/userleds.

lpc17_40_leds.c: Removes not used definitions, eg. MBED_LED3_ON.

Board LED Status support(CONFIG_ARCH_LED=y) and Device Drivers/Led
Support(CONFIG_ARCH_USERLED=y) can not be enable together.

Signed-off-by: Gustavo L F Walbon <gwalbon@linux.ibm.com>
2021-03-31 01:05:47 -05:00
Jiuzhu Dong
7df171eef7 rpserver/rpproxy: support set/get rtc time by rpmsg
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-30 22:41:12 -05:00
Nathan Hartman
4716fc929d arch/stm32h7 - Fix HEAP clobbering static data in SRAM4
Normally, statically allocated data goes in .bss, followed by the
initial stack, followed by HEAP. However, any data that is statically
allocated in SRAM4 with __attribute__ ((section (".sram4"))) will
clobber, and be clobbered by, the HEAP.

On STM32H7, BDMA can only access SRAM4. Therefore any BDMA buffers (or
any other data) placed in SRAM4 will expose this problem. In one case,
this manifested as a failure of NSH to start, because the SPI6 BDMA
buffers clobbered the /dev/console inode structs, which the OS
allocated earlier.

This PR ensures that only the rest of SRAM4, after any static data, is
added to the heap. This PR also allows SRAM4 to be completely excluded
from the heap by a new Kconfig, CONFIG_STM32H7_SRAM4EXCLUDE, similar
to what CONFIG_STM32H7_DTCMEXCLUDE does for the DTCM region.

Change required in linker scripts:

Every STM32H7 linker script must replace this:

    .sram4 :
    {
    } > sram4

with this:

    .sram4_reserve (NOLOAD) :
    {
        *(.sram4)
        . = ALIGN(4);
        _sram4_heap_start = ABSOLUTE(.);
    } > sram4

or link will fail with: undefined reference to '_sram4_heap_start'.

The Release Notes should document this for users with out-of-tree
boards.

arch/arm/src/stm32h7/Kconfig:

    * Add config STM32H7_SRAM4EXCLUDE to allow excluding all of SRAM4
      from the HEAP.

arch/arm/src/stm32h7/stm32_allocateheap.c:

    * Only when including SRAM4 in the heap, define HAVE_SRAM4,
      SRAM4_START, SRAM4_END, and SRAM4_HEAP_START.

    * Add "Private Data" section.

    * Add extern for_sram4_heap_start, which must be defined in the
      board's linker script.

    * arm_addregion(): Only add SRAM4 to the heap when configured to
      do so, i.e., unless CONFIG_STM32H7_SRAM4EXCLUDE is defined, and
      only add the portion of SRAM4 that is past any static data.

boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld:
boards/arm/stm32h7/nucleo-h743zi/scripts/kernel.space.ld:
boards/arm/stm32h7/nucleo-h743zi2/scripts/flash.ld:
boards/arm/stm32h7/stm32h747i-disco/scripts/flash.ld:
boards/arm/stm32h7/stm32h747i-disco/scripts/kernel.space.ld:

    * Update all in-tree STM32H7 board linker scripts as described in
      "Change required in linker scripts" above.

Testing:

    * Successfully built all of the following configurations:

      nucleo-h743zi2:jumbo
      nucleo-h743zi2:nsh
      nucleo-h743zi:nxlines_oled
      nucleo-h743zi:elf
      nucleo-h743zi:otg_fs_host
      nucleo-h743zi:nsh
      nucleo-h743zi:netnsh
      nucleo-h743zi:pwm
      stm32h747i-disco:nsh

    * Tested with custom board.

    * nxstyle.

References:

[1] See the dev@nuttx.a.o mailing list discussion started 2021/03/25:
    "How to ensure HEAP will not overlap static DMA buffer?"
    https://lists.apache.org/thread.html/recf2bb9043f8c9f53c10917e2adb2ec64fe35dc5e6f9a695a7ac6ecc%40%3Cdev.nuttx.apache.org%3E

[2] See arm_addregion() in arch/arm/src/stm32h7/stm32_allocateheap.c

Thanks to Gregory Nutt and David Sidrane for suggestions and reviews.
2021-03-30 17:22:46 -03:00
chenwen
91eb70b5ef risc-v/esp32c3: Support ESP32-C3 wireless ioctl cmd 2021-03-30 12:29:11 -05:00
Gustavo Henrique Nihei
d89b2b4092 boards/esp32-wrover-kit: Disable unnecessary SPI driver from nsh config 2021-03-30 04:11:31 -05:00
Gustavo Henrique Nihei
6d93d948de boards/esp32-ethernet-kit: Disable unnecessary SPI driver from nsh config 2021-03-30 04:11:31 -05:00
Gustavo Henrique Nihei
6949ec1074 boards/esp32-devkitc: Disable unnecessary SPI driver from nsh config 2021-03-30 04:11:31 -05:00
raiden00pl
eced2779b6 boards/nucleo-f446re: register button 2021-03-30 01:15:23 -05:00
raiden00pl
ae28e5785b boards/Kconfig: fix typo 2021-03-30 01:15:23 -05:00
Virus.V
f9997bdfb3 risc-v/bl602: fix _heap_start not word align 2021-03-30 01:11:09 -05:00
Roberto Bucher
590ee65fa7 Integration of pysimCoder with NUTTX 2021-03-29 21:38:58 -03:00
raiden00pl
05cf8b8ff5 boards/sim: remove dsptest configuration 2021-03-29 21:36:36 -03:00
Brennan Ashton
4851d232c0 usbhost: Do not disable usb monitor if usb host is enabled but dev is not 2021-03-28 23:34:01 -05:00
Brennan Ashton
ffe5ac7c45 board: Add support for nucleo-h743i2 2021-03-28 23:28:49 -05:00
Brennan Ashton
0a3b20e546 syslog: Drop extra carriage return from syslog calls 2021-03-28 21:24:00 -05:00
Alin Jerpelea
e699b6f85f misc: : Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Several files were missed in the past

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 13:34:50 -07:00
Alin Jerpelea
32894cda1c arch: arm: sam: fix Mixed Case Errors
fix Mixed Case Errors to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 13:34:50 -07:00
Alan C. Assis
7e9faa9725 esp32-devkitc: Add GPIO board support 2021-03-28 13:33:48 -07:00
hotislandn
6aa86b469c arch:rv64:c906:add PMP, change mem map for protect build.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-28 09:02:48 -05:00
Abdelatif Guettouche
04b9b8f6db esp32-devkitc: Make nsh the entry-point of the ostest config.
This makes it consistent with other configs and helps with scripting.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 12:14:16 -05:00
Alan Carvalho de Assis
76c02afc48 esp32c3-devkit: Add board support for SPIFlash
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 09:19:25 +01:00
Alan Carvalho de Assis
4f8ff0765f risc-v/esp32c3: Add SPIFlash support
Co-Authored-By: Dong Heng <dongheng@espressif.com>
Co-authored-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 09:19:25 +01:00
Cis van Mierlo
ab38af02e9 boardctl: added pm_checkstate() function to BOARDIOC_PM_CONTROL 2021-03-25 19:14:44 -03:00
Virus.V
7c80826c21 risc-v/bl602: Add wifi and ble support
tcpip ok

update wifi demo configuration

fix tcpip input cause misalign fault

change some api definetions in nuttx

fix wifi manager strlen copy without suffix null character

fix 602 network buf allocation issue

wifi scan works

[ble] Add controller code

[BLE] Add nuttx adapt code for blecontroller .

[BLE] modified include file path, to fix cflag is too long.

[ble]Test ble peripheral pass, save code.

[ble] Organize the code

[BLE] Add blecontroller config for nuttx

[BLE] Add config for ble example

fix tcp lost packet when rx

support wpa3.

Copy default config from wifi default config. Create ble for local test and ble tester for autopts.

Add config for local test.

Add pts teset config for host test

Add config for mesh test

Create task to init blecontroller

Delete blecontroller rx thread.

using idle task to receive hci command from host

Set ble device name to /dev/ble, and fix code.

1.fix a ke schedule risk 2. CFG_HOST is enabled only in the case that CONFIG_BLE_HOST_DISABLE is not enabled, by lanlan

rm _sp_main stack.

change h/l workq_stack_size 6K

change l workq_stack_size 3K.

[ble] delete file_detach

color idle stack.

clear bl602 netdev code

SCAN is sorted according to RSSI

enlarge nsh command line buffer

fixup stack overflow check checkfail when startup

arch/risc-v/BL602:fix reboot cause crash

reboot default use romapi.

riscv/bl602:netdev support defered input, remove wifi_tx function

risc-v/bl602:fix sem_timedwait usage error in bl_cmds

risc-v/bl602:fix memory access out of bounds when copy ssid

remove ble and wifi source, download when build

add bl602 blob gitignore

risc-v/bl602:remove ble-pts defconfig

Fix some typos in NuttX style naming

Fix the replacement of tab to space

fix wlan interface down still receive packet

fix wapi crash, rx when ifdown,and ble_hci_rx_do

change system reset to rom dirver

change ble hci interval to 50ms

NuttX support wifi enable/disable log via KConfig

support country code configuration in Kconfig

fix ap tx not work
2021-03-25 01:38:45 -07:00
Sara Souza
59313c86d1 xtensa/esp32: Adds oneshot timer driver. 2021-03-24 16:01:26 -03:00
Cis van Mierlo
dc31b4f1c1 boardctl: added the option to change the pm state 2021-03-23 21:20:05 -07:00
Abdelatif Guettouche
ed8fb9d96e boards: Refresh configs to add CONFIG_BCH when necessary.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-23 21:01:56 -03:00
Roberto Bucher
9a2cb311a3 File for the integration of pysimCoder with NUTTX 2021-03-23 20:37:56 -03:00
chenwen
f54aef9977 xtensa/esp32: Support esp32 wireless ioctl cmd 2021-03-23 16:29:52 -03:00
Gustavo Henrique Nihei
ca05ff5ffb boards/esp32-ethernet-kit: Add configuration for testing Button device 2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
72d98e645a boards/esp32-ethernet-kit: Add Button support via the BOOT button 2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
c759f7e30e boards/esp32-devkitc: Add configuration for testing Button device 2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
fca65f08cf boards/esp32-devkitc: Add Button support via the BOOT button 2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
d8073c2fd8 boards/esp32-wrover-kit: Add configuration for testing Button device 2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
c29770cde1 boards/esp32-wrover-kit: Add Button support via the BOOT button 2021-03-23 16:29:15 -03:00
Xiang Xiao
0bbb720be2 boards/arm/imxrt: Fix nxstyle warning in imxrt1060-evk/src/imxrt_boot.c
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-23 13:57:31 +01:00
YAMAMOTO Takashi
1821352993 sim: Enable the sanitizers in HOSTLDFLAGS as well
This fixes the following error with CONFIG_SIM_SANITIZE=y on macOS.

```
CP:  /Users/yamamoto/git/nuttx/nuttx/include/nuttx/config.h
CC:  nettest_host.c
CC:  nettest_server.c
LD:  tcpserver
Undefined symbols for architecture x86_64:
  "___asan_handle_no_return", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_init", referenced from:
      _asan.module_ctor in nettest_host.hobj
      _asan.module_ctor in nettest_server.hobj
  "___asan_option_detect_stack_use_after_return", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_register_image_globals", referenced from:
      _asan.module_ctor in nettest_server.hobj
  "___asan_report_load1", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_report_load4", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_report_store1", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_report_store2", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_report_store4", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_stack_malloc_1", referenced from:
      _nettest_server in nettest_server.hobj
  "___asan_unregister_image_globals", referenced from:
      _asan.module_dtor in nettest_server.hobj
  "___asan_version_mismatch_check_apple_clang_1100", referenced from:
      _asan.module_ctor in nettest_host.hobj
      _asan.module_ctor in nettest_server.hobj
  "___ubsan_handle_add_overflow", referenced from:
      _nettest_server in nettest_server.hobj
  "___ubsan_handle_builtin_unreachable", referenced from:
      _nettest_server in nettest_server.hobj
  "___ubsan_handle_pointer_overflow", referenced from:
      _nettest_server in nettest_server.hobj
  "___ubsan_handle_shift_out_of_bounds", referenced from:
      _nettest_server in nettest_server.hobj
  "___ubsan_handle_sub_overflow", referenced from:
      _nettest_server in nettest_server.hobj
  "___ubsan_handle_type_mismatch_v1", referenced from:
      _nettest_server in nettest_server.hobj
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
2021-03-23 02:48:50 -07:00
Abdelatif Guettouche
cc23bdeca4 boards/xtensa/esp32: Add a section in external memory to hold some BSS
data.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-23 16:39:01 +09:00
Masayuki Ishikawa
9cce09e58a boards: Remove SCHED_INSTRUMENTATION from all SMP related configs
Summary:
- This commit removes SCHED_INSTRUMENTATION which has been used
  to debug NuttX SMP kernel

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-22 19:47:56 -07:00
Alin Jerpelea
fe64ed54b9 boards: arm: stm32: fix Mixed case identifier
Mixed case identifier fix to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
ee0861ae7a arch: arm: fixes for nxstyle errors
Nxstyle error fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
1863dca88a boards: Author David Sidrane: update licenses to Apache
David Sidrane has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
mage1
6ff11d8c76 mm: add heap policy and anta logic to support mm debug on sim platform
since atan tool will enhance memory debug operation.

Change-Id: Ic953755faff156832e84b6a764452751dc14f0e3
2021-03-22 11:02:20 -07:00
Xiang Xiao
e14c458747 mm/heap: Move semaphore related declaration to private header
since other subsystem doesn't need call these function anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Idfb217c412db62d9f17f427310b75bb78785dc50
2021-03-22 15:35:32 +01:00
Abdelatif Guettouche
04dffb551d boards/xtensa/esp32: Delete the QEMU generated image on distclean.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-22 09:51:49 +09:00
Alin Jerpelea
b8175f2841 boards: nxstyle fixes
nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Alin Jerpelea
8843d0f55b boards: Author Sebastien Lorquet: update licenses to Apache
Sebastien Lorquet has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Alin Jerpelea
e8e2a0875a boards: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Alin Jerpelea
1ad3a22ad5 board: stm32: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
raiden00pl
8bf3c5efb9 boards/stm32: add initial support for b-g431b-esc1 board 2021-03-20 21:07:20 -03:00
Abdelatif Guettouche
fb0fd36a5c arch/risc-v: Internal functions should be prefixed by "riscv_" instead
of "up_"

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-20 13:02:54 -03:00
Xiang Xiao
a0fae8c4d6 boards/arm/stm32l4: Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-20 09:58:01 +01:00
Gregory Nutt
2775cadcd2 Increase the system timer rate:
-CONFIG_USEC_PER_TICK=10000
+CONFIG_USEC_PER_TICK=1000

A system timer with a 10 MS period is not sufficient to run the dual thread sporadic scheduler test since the timings in that test are also around 10 MS.  Apparently there is a race condition when both sporadic thread's budgets complete on the same clock time.  This change does not eliminate the race, but reduces its effect greatly.
2021-03-19 23:18:28 -07:00
Alin Jerpelea
aa66d91604 boards: nxstyle fixes
nxstyle fixes to pass CI.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
a255a2794b boards: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis has submitted the SGA and we can migrate the
 licenses to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
b8b7144041 boards: stm32f7: fix Mixed case identifier errors
Fix the Mixed case identifier errors found on stm32f7 family

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
66d312985c boards: sama5: fix Mixed case identifier errors
Fix the Mixed case identifier errors found on sama5 family

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
3ce3b1e1c5 boards: lpc54xx: fix Mixed case identifier error
Fix the Mixed case identifier errors found on lpc54xx family

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Alin Jerpelea
c2dd3832b3 boards: lpc31xx: fix Mixed case identifier error
Fix the Mixed case identifier errors found on lpc31xx family

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-19 23:01:46 -07:00
Xiang Xiao
2e887a1c22 board/arm/mbed: Fix the typo error
regression by:
commit 6f14299dd0
Author: Alin Jerpelea <alin.jerpelea@sony.com>
Date:   Thu Mar 18 09:57:48 2021 +0100

    boards: nxstyle fixes

    nxstyle fixes to pass the CI check

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-19 08:49:59 -07:00
Gregory Nutt
ca3925e531 Add configuration for testing the Sporadic Scheduler.
This PR is the companion to #apache/incubator_nuttx_apps/620 .  See that PR for further information.

No impact is anticipated

Tested using the (new) stm32f4discovery:sporadic configuration.
2021-03-19 16:31:35 +01:00
Alin Jerpelea
6f14299dd0 boards: nxstyle fixes
nxstyle fixes to pass the CI check

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-18 22:58:27 -07:00
Alin Jerpelea
40cd67eee6 boards: arm: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-18 22:58:27 -07:00
Michael Jung
2dbfa54150 stm32l5: Optional LSE xtal drive strength ramp-up
Ported from stm32f7/h7: If configured this way, ramp-up the LSE crystal
oscillator driving strength until the LSE starts up.

Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-18 19:59:41 -07:00
Alin Jerpelea
02f6b80336 boards: mips: pic32mx_lcd1602.c: fix Mixed case identifier
Fix nxstyle compain about Mixed case identifier

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
a26faec2ec boards: z80: ez80_leds.c: fix Mixed case identifier
Fix nxstyle compain about Mixed case identifier

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
9d708917bb boards: z80: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
9dd7f90e0e boards: z16: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
6c18b3e185 boards: x86: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
70ca0014bd boards: sim: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
06a0059d87 boards: renesas: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
1051d0ab63 boards: or1k: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
b5ea69ee78 boards: mips: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
9ced5cae84 boards: avr: nxstyle fixes
Fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
3fd1126580 boards: z80: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
3db45070a5 boards: z16: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
bdfe696b9a boards: xtensa: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
d9e3582e89 boards: x86: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
4e0202c659 boards: sim: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
c0b0cc9d46 boards: renesas: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
543302d04f boards: or1k: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
f082b813c8 boards: misoc: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
e8c8286f78 boards: mips: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
bfdeccff4d boards: hc: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
586f458a46 boards: avr: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Jiuzhu Dong
e96c8b9283 fs: allocate file/socket dynamically
Change-Id: I8aea63eaf0275f47f21fc8d5482b51ffecd5c906
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Jiuzhu Dong
59eb4fa8d6 fs: delete NFILE_DESCRIPTORS for allocating dynamically
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
YAMAMOTO Takashi
3c0c8e5c1f boards/z80/ez80/z20x/src/ez80_w25.c: CONFIG_BCH 2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
4494a2a501 boards/arm/samv7/samv71-xult/src/sam_bringup.c: CONFIG_BCH 2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
dd86f7d461 boards/arm/samv7/same70-xplained/src/sam_bringup.c: CONFIG_BCH 2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
ed10984e06 boards/arm/sama5/sama5d4-ek/src/sam_at25.c: CONFIG_BCH 2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
19edcab554 boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c: CONFIG_BCH 2021-03-17 01:25:16 -07:00
Gustavo Henrique Nihei
a93d538f3b boards/esp32c3-devkit: Use nx_mount to avoid overriding errno 2021-03-16 19:49:21 -07:00
Gustavo L F Walbon
f616c72ee2 lpc17xx_40xx/mbed : refresh defconfig
The toolchain used was the buildroot instead of the current the GNU as
default.

Signed-off-by: Gustavo L F Walbon <gustavowalbon@gmail.com>
2021-03-16 19:40:24 -07:00
Michael Jung
b3ab373f3a stm32l5: Fix findings with latest nxstyle
Fix some incorrect relative file paths in ASF headers found with the
latest version of nxstyle.

Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
9b679a7860 stm32l562e-dk: Board Support
Support for the STMicroelectronics STM32L562E-DK development board. This
is a proof-of-concept port that demonstrates running NuttX as the
Non-Secure TrustZone domain companion to TrustedFirmware-M.

Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
70c9d38437 nucleo-l552ze: Board Support
Support for the STMicroelectronics NUCLEO-L552ZE-Q development board.

Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
hotislandn
fb7a5b86ca arch:rv64:c906:demo protect build without PMP.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-16 11:43:10 -03:00
Dong Heng
458caf2732 riscv/esp32c3: Add ESP32-C3 WLAN netcard driver 2021-03-16 10:42:32 -03:00
Dong Heng
b2f5031e96 xtensa/esp32: Refactor ESP32 WiFi driver to support station and softAP coexistence 2021-03-16 10:20:59 -03:00
Yuichi Nakamura
5699dd86eb boards/raspberrypi-pico: Pico Display Pack (ST7789 LCD) support 2021-03-16 06:35:04 -03:00
Abdelatif Guettouche
28160823b6 arch/xtensa/esp32: ~6KB of memory at address 0x3ffae6f0 is not used by
the ROM bootloader, add that to the heap as well.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
cba44928d2 arch/xtensa/esp32: Part of the ROM regions in middle of DRAM are not
used, retrieve them as heap.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Gustavo Henrique Nihei
4cde8dab5a boards/esp32-wrover-kit: Mount tmpfs on bring up 2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
31816d2726 boards/esp32-ethernet-kit: Mount tmpfs on bring up 2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
a3f6a5fbb6 boards/esp32-devkitc: Mount tmpfs on bring up 2021-03-15 19:59:49 -07:00
raiden00pl
8cf752db55 nucleo-f446re: refactor bringup logic for consistency with other boards 2021-03-15 09:12:29 -07:00
raiden00pl
16a0b8ab94 nucleo-f446re: move clock configuration to board.h for consistency with other boards 2021-03-15 09:12:29 -07:00
raiden00pl
dab6140082 nucleo-f302r8: refactor bringup logic for consistency with other boards 2021-03-15 09:12:29 -07:00
Masayuki Ishikawa
d6badc32b3 boards: sam4cmp-db: Fix style warnings in sam4cmp-db.h
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Masayuki Ishikawa
2b1b0a188d boards: arm: Author Masayuki Ishikawa: Update license to Apache
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Alan C. Assis
837fa3c0ac stm32f4discovery: Add support to LCD1602 2021-03-14 20:14:40 -07:00
Alan C. Assis
0fb2059fd9 stm32/common: Common LCD1602 based on PCF8574 Backpack 2021-03-14 20:14:40 -07:00
Alan C. Assis
43bce6d9b0 stm32f4discovery: Add support to LCD ST7789 2021-03-14 20:05:33 -07:00
Michal Lenc
d889350822 boards/arm/stm32/nucleo-f446re: added support for CAN driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-03-14 20:18:27 -03:00
Alin Jerpelea
d72081df78 boards: Makefile: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis has submitted the SGA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
Masayuki Ishikawa
d90f868b60 boards: risc-v: Author Masayuki Ishikawa: Update license to Apache
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-12 16:15:44 +08:00
Gustavo Henrique Nihei
8517168336 boards/esp32c3-devkit: Add support for BMP180 sensor 2021-03-11 19:32:03 -03:00
Gustavo Henrique Nihei
4099c1d75d boards/esp32c3: Create configuration for I2C testing 2021-03-11 19:32:03 -03:00
Gustavo Henrique Nihei
abab83b216 boards/esp32c3-devkit: Add support for I2C on board bringup 2021-03-11 19:32:03 -03:00
Yuichi Nakamura
a657357640 boards/raspberrypi-pico: Support ENC28J60 SPI ethernet board 2021-03-11 19:31:17 -03:00
Xiang Xiao
c047c1412f Remove all gap8(risc-v) arch and board source code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-11 10:51:11 -08:00
Xiang Xiao
c54d617f2c Remove nr5m100(risc-v) arch and board source code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-11 10:51:11 -08:00
hotislandn
f71c5e5324 board:rv64:c906:support ELF apps.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-11 14:37:30 -03:00
Masayuki Ishikawa
c3ace7a999 boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY=y to rndis_smp and wifi_smp
Summary:
- This commit adds CONFIG_ARCH_LEDS_CPU_ACTIVITY=y to rndis_smp and wifi_smp

Impact:
- spresense:rndis_smp and spresense:wifi_smp configurations

Testing:
- Tested with smp and ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Masayuki Ishikawa
d4d996cc28 boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY to board.h and cxd56_leds.c
Summary:
- This commit adds CPU activity LEDs feature to spresense

Impact:
- CONFIG_ARCH_LEDS_CPU_ACTIVITY=y only

Testing:
- Arch specific code and defconfigs will be commited later

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Masayuki Ishikawa
70836182f0 boards: Kconfig: Introduce CONFIG_ARCH_LEDS_CPU_ACTIVITY
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Pedro Bertoleti
a063974df2 Add INA219 support. 2021-03-11 10:41:52 +08:00
hotislandn
d898bc445c arch:rv64:c906:enable DP FPU support.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-11 10:34:47 +08:00
hotislandn
5e50938726 arch:riscv64:basic porting for C906.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-10 19:23:24 +08:00
Masayuki Ishikawa
06a81db203 boards: spresense: Update rndis_smp/defconfig
Summary:
- This commit updates rndis_smp/defconfig
- Adjust stack size to avoid hardfault
- Remove CONFIG_NET_TCP_WRITE_BUFFERS temporarily to avoid
  unstable behaviors with nxplayer + telnet

Impact:
- spresense:rndis_smp only

Testing:
- Tested with nxplayer, telnet

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-10 14:14:52 +08:00
Pedro Bertoleti
9b7d0a01e4 Add BMP180 sensor support. 2021-03-09 18:33:24 -03:00
Gustavo Henrique Nihei
330eff36d7 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
13535d8725 linkerfiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f makefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Sara Souza
85a93be5d7 risc-v/esp32-c3: Adds timer driver 2021-03-09 11:16:53 -03:00
Yuichi Nakamura
938b1daf02 arm/rp2040: RP2040 SPI DMA transfer support 2021-03-08 17:37:48 -03:00
Masayuki Ishikawa
5de82de889 boards: sabre-6quad: Add netnsh_smp configuration
Summary:
- This commit adds sabre-6quad:netnsh_smp configuration

Impact:
- None

Testing:
- Tested with telnetd, iperf (both -c and -s) with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-08 04:14:03 -08:00
Yuichi Nakamura
b9c5294226 boards/raspberrypi-pico: Support SPI and SD card 2021-03-08 17:06:07 +09:00
Masayuki Ishikawa
6ba23aabda Revert "boards: sabre-6quad: The iperf works with CONFIG_NET_TCP_WRITE_BUFFERS"
Summary:
- Let me revert the commit because I noticed that performance
  with iperf -s is much worth than before.

Impact:
- sabre-6quad:netnsh oly

Testing:
- Tested with iperf (both -c and -s) with QEMU

This reverts commit 07e7ccb80c.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 22:48:17 -08:00
Masayuki Ishikawa
a11764525d boards: spresense: Update rndis_smp/defconfig
Summary:
- This commit adds following parameters to rndis_smp/defconfig
- CONFIG_LIB_SENDFILE_BUFSIZE=1024
- CONFIG_MEMCPY_VIK=y
- CONFIG_MEMSET_64BIT=y
- CONFIG_MEMSET_OPTSPEED=y
- CONFIG_MQ_MAXMSGSIZE=64

Impact:
- rndis_smp only

Testing:
- Tested with nxplayer

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
ligd
70442d1f9d net/socket_rpmsg: add net socket rpmsg support
Change-Id: Ie23ee4c0052cf2fc66972ea9bc5f11c070fbcf8a
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-07 01:45:51 -08:00
Alin Jerpelea
0a797f1e8b boards: Makefile: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-05 04:08:55 -08:00
Gustavo Henrique Nihei
37ac70b7d9 xtensa/esp32: Add configuration for testing BMP180 2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
0735e8c2a7 xtensa/esp32: Fix BMP180 erroneously depending on I2C_DRIVER 2021-03-04 16:31:51 +00:00
Alan C. Assis
29af35faef esp32: Add board config to support MCP2515 2021-03-04 14:57:56 +00:00
Jiuzhu Dong
3c0354aba6 net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
N/A

Change-Id: I7d10ec460c351e4fbcdc19b3a8284dcb77073722
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-03 19:01:41 -08:00
Yuichi Nakamura
81d917f741 boards/raspberrypi-pico: Add new config ssd1306 2021-03-03 09:35:45 -03:00
Yuichi Nakamura
599e5b1bb2 boards/raspberrypi-pico: Fix board settings to support i2c and ssd1306 2021-03-03 09:35:45 -03:00
Alan C. Assis
b1dc2199be stm32f103-minimum: Update README.txt to use MCP2515 module 2021-02-28 20:02:29 -08:00
Xiang Xiao
151cf49562 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Xiang Xiao
9473434587 Ensure the kernel component don't call userspace API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Masayuki Ishikawa
59a5d03842 boards: raspberrypi-pico: Update defconfigs
Summary:
- Adjust CONFIG_BOARD_LOOPSPERMSEC in all defconfigs
- Add CONFIG_TESTING_GETPRIM to nsh and nshsram
- Add CONFIG_SYSTEM_TASKSET to smp
- NOTE: CONFIG_SCHED_WAITPID is removed because it is selected

Impact:
- The smp app will take longer than before but it's a correct behavior

Testing:
- Tested with getprime, ostest, smp
2021-02-26 22:23:55 -06:00
Michal Lenc
3b219fb2da boards/arm/imxrt/teensy-4.x: allow configuration of all CANs
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-25 22:31:04 -08:00
Gustavo Henrique Nihei
7fe096c65e risc-v: Fix typos reported by codespell 2021-02-25 16:25:47 +00:00
Gustavo Henrique Nihei
ed0a1b724b xtensa/esp32: Fix typos reported by codespell 2021-02-25 15:02:15 +00:00
Yuichi Nakamura
01699e00e0 arm/rp2040: Raspberry Pi Pico SMP support 2021-02-25 07:20:59 +09:00
YAMAMOTO Takashi
ce6f6d4241 esp32 Kconfig: Move ESP32_SPIFLASH_xxx configs to the common place
These are referenced by other boards than esp32-devkitc as well.
2021-02-24 08:19:25 +00:00
Abdelatif Guettouche
fb68a4b777 esp32c3: Add system reset.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-23 18:13:02 -08:00
Gustavo Henrique Nihei
07900cdce9 Fix typo in "repetitions" word 2021-02-23 07:18:33 -08:00
Dong Heng
7c9c9907ef boards/esp32c3: Add tmpfs mounting when bringing up 2021-02-23 00:41:08 -08:00
Pedro Bertoleti
a4f422a801 This commit enables BMP180 suport for ESP32.
As ESP32 has 2 I2C interfaces and BMP180 is a I2C sensor, the criterias to use BMP180 in I2C0 or I2C1 are:

1- First, bring-up routines search for BMP180 in I2C0.
   If BMP180 is found in I2C0, then /dev/press0 is created.
2- If BMP180 cannot be registered in I2C0, bring-up routines search for it in I2C1.
   If BMP180 is found in I2C1, then /dev/press0 is created.

It means only one BMP180 could be suported in Nuttx. In my tests I've observed
that BMP180 example application doesn't seem to work with /dev/press1 BMP180 device,
therefore even BMP180 is found in I2C1, it'll be registered as /dev/press0 device.
2021-02-22 21:45:16 -03:00
Gustavo Henrique Nihei
291a5755cc risc-v/esp32c3: Add support for MWDT0 and MWDT1 2021-02-22 17:18:01 +00:00
Yuichi Nakamura
7b8c72ec1b boards: raspberrypi-pico: Add nshsram defconfig for SRAM build 2021-02-22 09:11:09 -08:00
Masayuki Ishikawa
1f61c58e43 boards: raspberrypi-pico: Normalize nsh/defconfig
Summary:
- This commit normalizes nsh/defconfig

Impact:
- None

Testing:
- None
2021-02-22 12:14:47 +00:00
Pedro Bertoleti
79e8a52d86 This commit implements I2C support for ESP32 (wrover kit).
It was missing and it wasn't possible to enable I2C (0 and/or 1)
before this fix.
To sum up, this fix implements a I2C register function in ESP32
bring-up routines (esp32_bringup.c) and call if for I2C0 and/or
I2C1 during ESP32 bringup (these function callings are conditioned
by CONFIG_ESP32_I2C (to check if I2C support has been configured),
CONFIG_ESP32_I2C0 (to check if I2C0 support has been configured)
and CONFIG_ESP32_I2C1 (to check if I2C1 support has been configured).

Once this fix is implemented, /dev/i2c0 and/or /dev/i2c1 interfaces
become available and work fine.
2021-02-21 23:33:21 +00:00
Abdelatif Guettouche
10fca18b55 boards/*/esp32: Add instructions on how to use the configs with QEMU.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 09:57:01 -08:00
Abdelatif Guettouche
067da56d0c esp32c3: Some cosmetics and style fixes.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 10:29:43 -03:00
Abdelatif Guettouche
10822799fb esp32c3: Add GPIO IRQ support.
The GPIO example was also extended to include testing an interrupt pin.

Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
Co-authored-by: Alan Carvalho <alan.carvalho@espressif.com>
2021-02-21 10:29:43 -03:00
Alan Carvalho
4a42998f36 esp32-c3: Add the GPIO driver.
This commits adds support for the ESP32-C3 IO Mux and GPIO Matrix.  It
also includes necessary board logic to run the GPIO example with 2
outputs.

Co-authored-by: Alan Carvalho <alan.carvalho@espressif.com>
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 10:29:43 -03:00
Masayuki Ishikawa
706740bfc3 boards: raspberrypi-pico: Introduce rp2040_reset.c to support reboot
Summary:
- This commit introduces rp2040_reset.c to support reboot

Impact:
- None

Testing:
- Tested with both BOOTSEL=ON and OFF
2021-02-21 13:22:35 +00:00
Masayuki Ishikawa
d68bfe1e1a boards: raspberrypi-pico: Introduce rp2040_bringup() to mount procfs
Summary:
- This commit introduces rp2040_bringup() to mount procfs

Impact:
- None

Testing:
- Tested with raspberrypi-pico:nsh
2021-02-21 13:22:35 +00:00
Yuichi Nakamura
b753eeabf1 boards/arm: Add Raspberry Pi Pico board support 2021-02-20 03:45:24 -08:00
Gustavo Henrique Nihei
4a6cdc8255 risc-v/esp32c3-devkit: Clean-up NSH configuration 2021-02-19 21:19:22 +00:00
Gustavo Henrique Nihei
303326bb52 risc-v/esp32c3: Enable stdio buffering for esp32c3-devkit NSH configuration 2021-02-19 21:19:22 +00:00
Gustavo Henrique Nihei
424a838021 esp32c3/nsh: Use Readline for NSH cmdline editor 2021-02-19 06:32:27 -08:00
Abdelatif Guettouche
adae5083ba esp32-dekitc:wapi_smp: Select the NETDEVICES dependency.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-19 03:29:10 -08:00
Masayuki Ishikawa
f344e7b5bf boards: esp32-devkitc: Add CONFIG_STACK_COLORATION=y to wapi_smp/defconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-18 19:05:07 -08:00
Abdelatif Guettouche
5562f08369 boards: Add the ESP32-C3 DevKit board
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-18 01:21:53 -08:00
Masayuki Ishikawa
74c56f53aa boards: esp32-devkitc: Add wapi_smp to test Wi-Fi in SMP mode
Summary:
- This commit adds wapi_smp to test Wi-Fi in SMP mode

Impact:
- None

Testing:
- Tested with wapi, telnetd, ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-18 09:11:27 +00:00
Brennan Ashton
9f1017feb3 board/freedom-k64f: Add usbdev support with cdcacm example 2021-02-14 19:51:34 -08:00
David Jablonski
41bddc8461 litex: fix mtime and mtimecmp register address 2021-02-13 15:24:28 -08:00
David Jablonski
11167857c3 litex: nsh working 2021-02-13 15:24:28 -08:00
liang
5914af84c7 arch/risc-v/bl602: spi_master support. 2021-02-13 10:31:25 -08:00
hotislandn
256b83ef8a arch:risc-v:bl602:add support for elf file apps.
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-02-13 10:29:12 -08:00
YAMAMOTO Takashi
702bc95cac tiva/lm3s6965-ek: Add a few configs for qemu
Mainly for me. I keep forgetting how to run this on qemu.
Hopefully this can be useful for others too.
2021-02-13 07:31:46 -08:00
YAMAMOTO Takashi
7df273baf9 boards/arm/tiva/lm3s6965-ek/README.txt: Replace a few non-ascii characters
0xae -> (R)
0x99 -> removed
0x96 -> -
2021-02-13 07:31:46 -08:00
Jeonghyun Kim
830ec0c371 board: nucleo-l432kc: Add missing i2c_master_s definition
i2c_master_s definition of each i2c device is necessary but it's missing on past commit. so correct it.
2021-02-12 04:31:07 -08:00
YAMAMOTO Takashi
aed24f1255 esp32: Retire XTENSA_IMEM_PROCFS
Now /proc/meminfo has the equivalent.
2021-02-12 03:16:03 -08:00
Alan C. Assis
f56ff40101 Add esp32_gpio_matrix_in/out to replace ROM functions 2021-02-11 20:39:51 +00:00