Commit Graph

2070 Commits

Author SHA1 Message Date
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
raiden00pl
68a345e248 nucleo-g431rb: add CORDIC example 2021-07-28 20:02:40 -03:00
Alexander Lunev
ff2dd12c3c bcm43xxx: fixed issues with unaligned buffers for DMA transfers.
This fixes the following errors:
- "stm32_dmacapable: stm32_dmacapable: burst crosses 1KiB
up_assert: Assertion failed at file:chip/stm32_sdio.c line: 2890 task: init"

- "stm32_dmacapable: stm32_dmacapable: burst crosses 1KiB
up_assert: Assertion failed at file:chip/stm32_sdio.c line: 2808 task: bcmf"

bcm43xxx: replaced all occurrences of "__attribute__((packed))" by
compiler independent "begin_packed_struct / end_packed_struct".
2021-07-28 13:47:04 -03:00
Sara Souza
857414e95d xtensa/esp32: expose SPI2 as a char driver 2021-07-27 09:55:49 -07:00
Xiang Xiao
5e01fe050a arch/sim: Copy include/nuttx/config.h to the local folder
so the source code compiled by host environment can include config.h
directly and then avoid pass Kconfig option through Makefile manually

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic9fe6f846082cef2d0808dc717df8ae6ed929edf
2021-07-27 07:44:33 +09:00
Nathan Hartman
b92aeb8209 Fix various typos
arch/arm/src/eoss3/eoss3_serial.c:
arch/arm/src/imxrt/hardware/imxrt_flexcan.h:
arch/arm/src/imxrt/imxrt_flexcan.c:
arch/arm/src/imxrt/imxrt_flexpwm.c:
arch/arm/src/imxrt/imxrt_lpi2c.c:
arch/arm/src/kinetis/kinetis_flexcan.c:
arch/arm/src/nrf52/hardware/nrf52_rtc.h:
arch/arm/src/nrf52/nrf52_clockconfig.c:
arch/arm/src/nrf52/nrf52_radio.c:
arch/arm/src/nrf52/nrf52_tim.c:
arch/arm/src/rtl8720c/amebaz_depend.c:
arch/arm/src/s32k1xx/Kconfig:
arch/arm/src/s32k1xx/s32k1xx_flexcan.c:
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c:
arch/arm/src/sama5/hardware/sam_sdmmc.h:
arch/arm/src/sama5/sam_gmac.c:
arch/arm/src/samd5e5/sam_wdt.c:
arch/avr/src/avr32/up_exceptions.S:
arch/avr/src/avr32/up_fullcontextrestore.S:
arch/renesas/src/rx65n/rx65n_dtc.c:
arch/renesas/src/rx65n/rx65n_usbhost.c:
arch/risc-v/src/esp32c3/esp32c3_tickless.c:
boards/arm/stm32h7/stm32h747i-disco/include/board.h:
include/nuttx/lcd/ili9225.h:
libs/libc/stdio/lib_fgetpos.c:
libs/libc/stdio/lib_fseek.c:
libs/libc/stdio/lib_fsetpos.c:

    * Fix typos.
2021-07-25 18:36:53 -07:00
Alan C. Assis
5500dcdf64 Fix typo on HT16K33 name 2021-07-25 09:00:39 -07:00
Alan C. Assis
5b465345c7 Fix typo on esp32-devkitc 2021-07-25 09:00:39 -07:00
Alan C. Assis
6bc07944d5 Add nsh console through telnet over Wi-Fi 2021-07-25 02:45:19 -07:00
jordi
b87333bae8 Kconfig: remove empty help sections
To avoid the setconfig warning: "has 'help' but empty help text"
2021-07-23 02:32:19 -07:00
jordi
1e44270558 Kconfig: add quotes in default string value
To avoid the setconfig warning: "style: quotes recommended around
default value for string symbol"
2021-07-23 02:32:19 -07:00
jordi
f3af6edf93 Kconfig: add quotes in source to clean warnings from setconfig
To avoid the setconfig warning "style: quotes recommended around xxx in
source xxx"
2021-07-23 02:32:19 -07:00
liuhaitao
a02f450773 board/ctrl: add BOARDCTL_SWITCH_BOOT switch boot system support
BOARDIOC_SWITCH_BOOT is required to communicate the boot partition from
userspace (OTA subsystem) to board. It can be used to change the system
boot behavior. So it's useful for A/B boot or even single boot case.

For the board support A/B boot case:
1. Download the new image from the sever
2. Write the new image to the alternative partition
3. Call BOARDCTL_SWITCH_BOOT to the alternative system

For single boot partition case:
1. Download the new image from the sever
2. Call BOARDCTL_SWITCH_BOOT and reboot to a small system
3. Write the new image to the main partition in the small system
4. Call BOARDCTL_SWITCH_BOOT again to the main system

Change-Id: Ifebb495784ecf06842946a249bec64f75dce894f
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-07-22 09:03:51 -07:00
transistorretorcido
c9b4348b81 added st7735 LCD based support
added st7735 LCD based support
2021-07-22 06:23:49 -07:00
Masayuki Ishikawa
301ec1ca9d boards: sim: Update smp/defconfig
Summary:
- This commit adds CONFIG_STACK_COLORATION=y to smp/defconfig

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-20 23:34:25 -07:00
Nathan Hartman
609ee6b54b Fix typos in comments and identifiers 2021-07-19 22:55:30 -03:00
Alan C. Assis
b9ec0063bc Remove duplicated Documentation of the bl602evb 2021-07-19 06:26:52 -07:00
Pavel Pisa
6c2c70c61e Make: fix use of gcc as LD for modules and ELF executables builds
The patch

  Make: use gcc as LD

introduced use of GCC wrapper as linker. LD variable references GCC
executable now. But when GCC wrapper s used to build relocatable
loadable objects (ELF executables and modules) then it causes
linking of toolchain default libc and other libraries even when -r
is usd. Another problem is that incorrect multiarch variant is selected
for libraries search and possibly even for LTO or C++ templates
instantiating and other glue code which causes fails during linking
if CFLAGS selects non/default miltiarch variant.

Corresponding CFLAGS are passed to LDMODULEFLAGS and LDELFFLAGS
as well as -nostartfiles -nodefaultlibs options.

Separate line is used to easily find and adjust lines if link
process is changed in future.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-07-19 08:41:25 -03:00
Alin Jerpelea
7689392528 author: Zilogic Systems: update licenses to Apache
Gregory Nutt has submitted the SGA

Zilogic Systems has submitted the SGA

Uniquix Tecnologia has submitted the SGA

Michael Jung has submitted the ICLA

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-07-19 03:08:00 -07:00
Xiang Xiao
663104a2e9 fs: Simplify sendfile implementation
and avoid call nx_ file API in the kernel space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id951ca161df2c2ee267dc4b5a0d7dfa67df4c1e6
2021-07-17 07:39:15 -03:00
Sara Souza
c47faa7120 xtensa/esp32: Make output readable and rmv unnecessary var. 2021-07-16 19:53:51 -03:00
Sara Souza
81e881c8c0 risc-v/esp32-c3: Makes output readable and rmv unnecessary var. 2021-07-16 19:53:04 -03:00
Roberto Bucher
fc810e3db4 Restored previous files 2021-07-15 23:19:59 -07:00
Daniel P. Carvalho
002945cc6c Add DAC example to nucleo-g431kb 2021-07-15 14:33:15 -03:00
Abdelatif Guettouche
e29d14ad66 boards/xtensa/esp32: Delete the drivers directory, it's empty, the build
system will pick the common dummy one.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
a6632f969a boards/xtensa/esp32: Make board level linker script take precedence over
the common scripts.
This allows having a more costumized linker script per board.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
0aa35850fc boards/xtensa/esp32: Update Make.defs to account for the new location of
the linker scripts.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
e45facf6a8 boards/xtensa/esp32: Move the linker scripts to the common directory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
buyuer
bcc876ec6c Delete fakesensor init.
Because there are no csv file exit.

Signed-off-by: buyuer <dingddding@163.com>
2021-07-15 02:25:32 -07:00
Xiang Xiao
82c17fd6fa sim/nsh: Enable the attributes and soflinks of pseduo file system
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I3cb610ab6325efae529b66d2168e6501aa20f25d
2021-07-14 10:35:15 -03:00
Xiang Xiao
c1250dcbd1 sim/nsh: Enable CONFIG_FS_RAMMAP
to catch the ram map related build issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-13 14:39:14 -03:00
Abdelatif Guettouche
e2705cd86c boards/xtensa/esp32: Add license headers to the linker script files and
correct some old names.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouch@espressif.com>
2021-07-13 10:24:42 -07:00
Michal Lenc
28ad7b6376 boards/arm/imxrt/teensy-4.x: update pikron-bb configuration to use tickless mode
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-07-13 09:55:29 -03:00
Masayuki Ishikawa
fec3bb2a0c boards: esp32-devkitc: Update wapi_smp/defconfig
Summary:
- This commit adds several configs to test Wi-Fi networking

Impact:
- wapi_smp only

Testing:
- Tested with nfsmount, telnet, ping, webserver
- telnet + ping, nfsmount + ping work
- NOTE: nfs + telnet stress test might stop

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-13 05:12:40 -07:00
Virus.V
063e1d6b74 risc-v/bl602: update wifi firmware and some fixup.
1. Added check for repeated connection wifi operations.
2. Invoke the carrier on/off operation in the wrong place.
3. The RTC initialization time is incorrect.
4. Reserve 32K I-Cache space in the linker script.
5. Increase the size of the wifi firmware receiving buffer.

Signed-off-by: Virus.V <virusv@live.com>
2021-07-13 05:12:12 -07:00
Virus.V
4e950c3e30 risc-v/bl602: add boardctl support
Signed-off-by: Virus.V <virusv@live.com>
Change-Id: I74280f5cb801e923fb987009ae007aa02677b14d
2021-07-13 02:50:40 -07:00
Dong Heng
f5eaf82c93 risc-v/esp32c3: Use onexit to free thread private semaphore 2021-07-12 09:38:21 -03:00
Xiang Xiao
2e43815c92 ea3131/pgnsh: Fix the follow linker error
ld: /github/workspace/sources/nuttx/nuttx section `.data' will not fit in region `locked'
ld: section .paged LMA [0000000011034000,0000000011040fa3] overlaps section .data LMA [0000000011033ff4,00000000110340e3]
ld: region `locked' overflowed by 228 bytes

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-11 19:42:30 -07:00
Jiuzhu Dong
85470176e7 sched/task: delete CONFIG_MAX_TASKS limit
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
danguanghua
92210cbdcb arch/sim: enable nxlooper
N/A

Change-Id: Ib8b98e90fa05b035e88dea000818f0f745af6b10
Signed-off-by: danguanghua <danguanghua@xiaomi.com>
2021-07-10 15:31:29 -03:00
Masayuki Ishikawa
48ab08c43d boards: spresense: Update rndis and rndis_smp defconfigs
Summary:
- This commit adds CONFIG_NET_TCP_WRITE_BUFFERS=y to
  rndis and rndis_smp defconfigs

Impact:
- webserver performance will be improved

Testing:
- Tested with nxplayer, telnetd, webserver, iperf

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-09 02:19:32 +02:00
Xiang Xiao
e97ffb1f79 arch/armv7-a: Remove the special SMP SGI process
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iaf7fe77a3ab7cbf145d907dafb0b7ca54cc4a012
2021-07-09 07:53:05 +09:00
Dong Heng
d83caef2df boards/esp32c3-devkit: Support mounting SPI Flash MTD to littleFS 2021-07-08 09:01:43 -03:00
Masayuki Ishikawa
a7c9f701ef boards: esp32-devkitc: Update smp/defconfig
Summary:
- This commit adds the following to smp/defconfig
  +CONFIG_DEBUG_FULLOPT=y
  +CONFIG_DEBUG_SYMBOLS=y
  +CONFIG_STACK_COLORATION=y

Impact:
- None

Testing:
- Tested with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-07 21:24:28 -05:00
Daniel P. Carvalho
59b2ed4210 Add nucleo-g431kb Analog Comparator example. 2021-07-07 21:34:58 -03:00
chao.an
441b03c61c board/ctrl: add BOARDCTL_UNIQUEKEY support
Add unique key to support get trusted data from the trusted field

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-07-07 08:23:23 -03:00
Dong Heng
2d6c1044fb boards/esp32c3-devkit: Fix compiling error
Add UID defconfig to check compiling error.
2021-07-07 02:49:52 -05:00
transistorretorcido
494e53668e added PCF8574 backpack support
added PCF8574 backpack support

added PCF8574 backpack support

added PCF8574 backpack support
2021-07-06 21:50:42 -05:00
Xiang Xiao
f0961f43a6 boards/esp32c3-devkit: Add etctmp to .gitignore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-06 09:49:43 -05:00
chenwen
97b8e90d79 boards/esp32c3: Add romfs configuration 2021-07-06 05:25:14 -05:00
Dong Heng
475becac37 risc-v/esp32c3: Add board_ioctl and board_uniqueid 2021-07-05 23:12:17 -05:00
Xiang Xiao
b3f568c216 boards/sim: Add asan config to test the custom heap
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-04 18:53:44 -03:00
Xiang Xiao
f4a374b6d9 boards/sim: Add instrumentation config to notelog driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-04 18:52:32 -03:00
Nathan Hartman
ce20211357 Fix various typos in comments and documentation
Fix typos in these files:
    * Documentation/components/drivers/character/foc.rst
    * Documentation/guides/cpp_cmake.rst
    * Kconfig
    * arch/arm/src/imxrt/imxrt_lpspi.c
    * arch/arm/src/kinetis/kinetis_spi.c
    * arch/arm/src/kl/kl_spi.c
    * arch/arm/src/lpc31xx/lpc31_spi.c
    * arch/arm/src/nrf52/nrf52_radio.h
    * arch/arm/src/s32k1xx/s32k1xx_lpspi.c
    * arch/arm/src/stm32/Kconfig
    * arch/arm/src/stm32/stm32_adc.c
    * arch/arm/src/stm32/stm32_foc.c
    * arch/arm/src/stm32/stm32_foc.h
    * arch/arm/src/stm32/stm32_pwm.c
    * arch/arm/src/stm32/stm32_spi.c
    * arch/arm/src/stm32f0l0g0/stm32_spi.c
    * arch/arm/src/stm32f7/Kconfig
    * arch/arm/src/stm32f7/stm32_spi.c
    * arch/arm/src/stm32h7/Kconfig
    * arch/arm/src/stm32h7/stm32_allocateheap.c
    * arch/arm/src/stm32h7/stm32_fmc.c
    * arch/arm/src/stm32h7/stm32_fmc.h
    * arch/arm/src/stm32h7/stm32_pwm.c
    * arch/arm/src/stm32h7/stm32_qspi.c
    * arch/arm/src/stm32h7/stm32_spi.c
    * arch/arm/src/stm32l4/stm32l4_pwm.c
    * arch/arm/src/stm32l4/stm32l4_spi.c
    * arch/arm/src/stm32l5/Kconfig
    * arch/arm/src/stm32l5/stm32l5_spi.c
    * arch/renesas/src/rx65n/rx65n_dtc.c
    * arch/renesas/src/rx65n/rx65n_usbdev.c
    * arch/risc-v/src/rv32m1/rv32m1_serial.c
    * boards/arm/stm32/b-g431b-esc1/src/stm32_foc.c
    * boards/arm/stm32/nucleo-f103rb/src/stm32_foc_ihm07m1.c
    * boards/arm/stm32/nucleo-f302r8/src/stm32_foc_ihm07m1.c
    * boards/arm/stm32h7/nucleo-h743zi2/README.txt
    * boards/risc-v/rv32m1/rv32m1-vega/README.txt
    * boards/sim/sim/sim/scripts/Make.defs
    * drivers/1wire/1wire.c
    * drivers/1wire/1wire_internal.h
    * drivers/lcd/Kconfig
    * drivers/syslog/ramlog.c
    * fs/fat/Kconfig
    * libs/libc/debug/Kconfig
    * libs/libc/machine/Kconfig
    * libs/libc/stdio/lib_libvsprintf.c
    * libs/libc/stdlib/lib_div.c
    * libs/libc/stdlib/lib_ldiv.c
    * libs/libc/stdlib/lib_lldiv.c
    * libs/libdsp/lib_observer.c
2021-07-04 11:23:26 -05:00
SPRESENSE
3a22af5d9b boards: cxd56xx: Change c++ option to -std=c++11
Change CXXFLAGS from -std=c++98 to -std=c++11.
2021-07-04 00:36:20 -05:00
SPRESENSE
12fb49d0a3 boards: cxd56xx: Fix warning of cxd56 audio driver
Only when CONFIG_AUDIO_CXD56 is enabled, board_audio_initialize_driver
function is available.
2021-07-03 23:33:40 -05:00
SPRESENSE
adc72de2ee boards: cxd56xx: Fix bmp280 compile error
Fix compile error caused by bmp280.h being updated.
2021-07-03 23:33:40 -05:00
SPRESENSE
6f78544fd9 boards: cxd56xx: Fix some printf format warnings
Fix some warnings by -Wformat.
2021-07-03 23:33:40 -05:00
SPRESENSE
751f7973e9 boards: cxd56xx: Fix crashdump compile error in SMP
In CONFIG_SMP=y, use arm_intstack_top() instead of g_intstacktop
to get the base address of interrupt stack.
2021-07-03 23:33:40 -05:00
Xiang Xiao
b1f711f790 mm: Move procfs_register_meminfo into common place
to avoid the code duplication and ensure the consistent behaviour

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-03 09:39:32 -07:00
Masayuki Ishikawa
ba2e0026ab boards: esp32-devkitc: Add interrupt stack to smp/defconfig
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to defconfig

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 07:02:33 -05:00
Masayuki Ishikawa
c8a14147d2 boards: spresense: Add interrupt stack to smp/defconfig
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to defconfig

Impact:
- None

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 07:02:33 -05:00
Masayuki Ishikawa
ee66da4566 boards: sam4cmp-db: Update nsh/defconfig
Summary:
- This commit removes SMP features from nsh/defconfig
  because it's still unstable

Impact:
- None

Testing:
- None

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 04:13:40 -05:00
Masayuki Ishikawa
4a9c07fab1 boards: raspberrypi-pico: Update smp/defconfig
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to smp/defconfig

Impact:
- raspberrypi-pico:smp only

Testing:
- Tested with ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 04:13:13 -05:00
Xiang Xiao
51b287b084 stm32f103-minimum/sensors: Remove CONFIG_ARCH_STACKDUMP
to avoid the follow link error:
ld: /github/workspace/sources/nuttx/nuttx section `.data' will not fit in region `flash'
ld: region `flash' overflowed by 4 bytes

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-03 08:35:23 +02:00
ligd
f6eb0639d3 boards/romfs: fix romfs folder size increase when append-compile rcS
Change-Id: I29b2a745d61147da6dfa9dfc08ddc81aabecf507
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-07-02 11:14:04 -05:00
Masayuki Ishikawa
30fd340e74 boards: spresense: Add CONFIG_BOARD_LATE_INITIALIZE=y for SMP
Summary:
- I noticed that spresense:rndis_smp and spresense:wifi_smp
  do not boot due to the recent change in nx_start.c
- As the result of the discussion, I understand that we have to
  add CONFIG_BOARD_LATE_INITIALIZE=y for SMP

Impact:
- spresense only

Testing:
- Tested with spresense:rndis_smp and spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2021-07-02 10:15:45 -05:00
ligd
92cd7628e0 sim: remove CONFIG_SIM_WALLTIME fast timing maybe harmful for IOs
Change-Id: Ic4ff5ec0aa99d2d229a07c4d1a9a4dae738d3cd9
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-07-02 05:02:36 -05:00
Xiang Xiao
1b5341f6c0 boards/bl602: Fix uart_nx.c:419: undefined reference to `uart_bth4_register'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-01 05:01:21 -05:00
Peter Bee
181ad49ffd Support for Waveshare Pico-LCD-1.x modules
Add support for Chinese brand LCDs. The 1.14" and 1.3" modules are
tested.

Module details:
https://www.waveshare.com/wiki/Pico-LCD-1.14
https://www.waveshare.com/wiki/Pico-LCD-1.3

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-06-30 09:03:46 -03:00
xiewenxiang
5fd3eca9c9 riscv/esp32c3: Support BLE sleep mode 2021-06-28 23:14:30 -05:00
xiewenxiang
145d917587 riscv/esp32c3: Add Wi-Fi and BLE coexist 2021-06-28 23:14:30 -05:00
xiewenxiang
8b96edc3a5 riscv/esp32c3: Add esp32c3 BLE driver 2021-06-28 23:14:30 -05:00
Virus.V
8452c571ec risc-v/bl602: BLE firmware adapts to the new framework
Signed-off-by: Virus.V <virusv@live.com>
2021-06-28 07:03:04 -05:00
Virus.V
cd50650583 risc-v/bl602: Support AP and STA as independent network interface device
Signed-off-by: Virus.V <virusv@live.com>
2021-06-28 07:03:04 -05:00
Michal Lenc
3d7e0becfb boards/arm/imxrt/teensy-4.x: added board level support for GPIO driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-26 21:41:21 -05:00
Michal Lenc
6e2db9bed1 boards/arm/imxrt/teensy-4.x: added board level support for FlexPWM driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-26 09:58:52 -05:00
Abdelatif Guettouche
e401aa17f6 boards/xtensa/esp32: Update the defconfigs to account for the changes in
TEXT_HEAP and the introduction of ESP32_IRAM_HEAP and ARCH_HAVE_EXTRA_HEAPS

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-26 09:52:43 -05:00
Masayuki Ishikawa
e890e2e45c boards: spresense: Update rndis and rndis_smp for workaround
Summary:
- I noticed that Telnet session is sometimes not closed
  when tested with nxplayer + command stress test
- The symptom relates to the change of IOB throttling in TCP
  but we are still finding the root cause.
- This commit is just a workaround to avoid the issue by
  disabling telnet character mode.

Impact:
- spresense:rndis, spresense:rndis_smp only

Testing:
- Tested with nxplayer (HTTP audio streaming) + command stress test

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-25 00:58:27 -05:00
Abdelatif Guettouche
11ed8575cd boards/rsic-v/esp32c3: Use the common gnu-elf.ld file from binfmt/libelf
instead of keeping the same file for each board.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 08:04:14 -05:00
Abdelatif Guettouche
03d38166c0 boards/xtensa/esp32: Use the common gnu-elf.ld file from binfmt/libelf
instead of keeping the same file for each board.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 08:04:14 -05:00
Abdelatif Guettouche
eb403bc996 boards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid
confusions.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 07:00:51 -05:00
Abdelatif Guettouche
c4b0a85841 boards/xtensa/esp32: Change the name of the flash segment to irom_0_0
instead of iram_0_2.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
4c559c8324 boards/xtensa/esp32: Use REGION_ALIAS to choose from IRAM and FLASH
regions.

With this we also don't need two separate linker scripts (one for IRAM
and another one for FLASH).  Only one linker script (now called
esp32.ld) is now present.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
556321b9e2 boards/esp32: Move the ROM linker script to the common directory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
40d7bbb231 boards/esp32: Remove the peripherals' linker script since it's not
needed.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
a920009102 boards/xtensa/esp32: Delete OpenOCD scripts. The documentation part
explains how to use those shipped with OpenOCD.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
60da4317b9 arch/risc-v/esp32c3: Use the same naming for the RTC heap as ESP32 for
consistency.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Abdelatif Guettouche
1e49f2929f arch/xtensa/src/esp32: Extract the IRAM region as a separate heap.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Abdelatif Guettouche
1719e9df94 arch/xtensa/esp32: Add the RTC Slow memory as a separate heap.
This memory region can be accessed by both I & D buses, so the heap can
be used for data storage and code execution.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Alexander Lunev
f7c8875fd7 sdio,stm32h7: fixed an issue with not starting IDMA data transfer in case of IO_RW_EXTENDED command (CMD53);
corrected setting SDMMC_DCTRL.DTMODE field for block data transfers ending on block count
and for block data transfers ending with STOP_TRANSMISSION command;
stm32_sdio: added more debug messages
2021-06-21 02:47:46 -05:00
Liu Han
2dd081ed7d risc-v/esp32c3: Support ESP32-C3 SHA accelerator 2021-06-21 02:41:53 -05:00
Alan C. Assis
d7d3f87f55 stm32f103-minimum/sensors: Remove DS28E17 that is not used and add SENSORTEST 2021-06-20 22:10:31 -05:00
chenwen
c3792f0aae xtensa/esp32: Support ESP32 RTC driver 2021-06-18 22:01:34 -05:00
Masanari Iida
91d53bc7fe boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c: Fix missing closing bracket
Add missing ret and closing bracket for 2 syslog messages.
It was found by cppcheck.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
2021-06-18 14:10:40 -03:00
Abdelatif Guettouche
af5e0c620f Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 07:14:17 -05:00
Abdelatif Guettouche
f54804bafc arch/risc-v/esp32c3: Create a separate heap for the RTC memory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
965a39a76d boards/risc-v/esp32c3-devkit: Include "config.h" in esp32c3_boot.c
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
bd0e03fecf boards/risc-v/esp32c3-devkit/esp32c3.ld: Add the RTC BSS section for
completeness.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
61f7bc6e2a boards/risc-v/esp32c3-devkit/scripts: Drop the "iram" in the name of the RTC
section.

The RTC region is accessed by both I and D buses.  The old name of
`rtc_iram_seg` is a bit confusing.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Michal Lenc
b83769feb7 boards/arm/stm32/nucleo-f446re: added support for DAC driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-18 00:49:15 -05:00
Michal Lenc
0851036ae3 boards/arm/imxrt/teensy-4.x: added support for encoder
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-16 21:22:03 -05:00
Liu Han
04c805207a risc-v/esp32c3: Support ESP32-C3 efuse 2021-06-16 09:35:09 -03:00
Alin Jerpelea
82887c10a7 stm32: Laurent Latil: update licenses to Apache
Laurent Latil 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-06-16 03:55:55 -05:00
Masayuki Ishikawa
35a7902367 boards: spresense: Update elf/defconfig
Summary:
- This commit adds the following configs to spresense:elf
  +CONFIG_DEBUG_FULLOPT=y
  +CONFIG_DEBUG_SYMBOLS=y
  +CONFIG_STACK_COLORATION=y

Impact:
- None

Testing:
- Tested with spresense

Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2021-06-15 22:30:32 -03:00
Daniel P. Carvalho
4b351fc447 Adds PWM example to nucleo-g431kb board. 2021-06-14 18:45:04 -03:00
Liu Han
8eaaf6d462 risc-v/esp32c3: Support ESP32-C3 RSA accelerator 2021-06-14 15:03:11 -03:00
Gustavo Henrique Nihei
ba1f730528 sim: Use cc as linker, which usually aliases to either GCC or Clang 2021-06-14 10:53:44 -05:00
Yuichi Nakamura
e00546335d boards/raspberrypi-pico: Add board support for USB device 2021-06-14 09:05:19 -03:00
Alexander Lunev
fd46d7a74f boards: added support for EMW3162 Wi-Fi board 2021-06-11 21:05:24 -05:00
Eero Nurkkala
1bce864ef7 mpfs: add i2c driver
This adds mpfs i2c driver.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-06-11 21:03:42 -05:00
Daniel P. Carvalho
361703a881 Added basic support for nucleo-g431kb board. 2021-06-11 20:51:56 -05:00
Xiang Xiao
e788b2643a boards/sim: Remove the hardcode stack size
Many device driver will call the host API to finish the simulation
which require the big stack in the most case, so let's utilize the
new DEFAULT_TASK_STACKSIZE(64KB on sim) option instead.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-12 06:57:02 +09:00
Eero Nurkkala
fad34e04c4 mpfs: add spi driver
This adds the SPI driver for the MPFS Icicle board.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-06-11 09:10:03 -05:00
Alexander Vasiljev
6545b95088 boards/sim/sim/sim: correct LDLINKFLAGS after migrating from ld to gcc 2021-06-11 19:32:20 +09:00
Alin Jerpelea
762ae456b3 Author: Michal Lyszczek: update licenses to Apache
Gregory Nutt is has submitted the SGA

Michal Lyszczek has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-11 04:57:25 -05:00
raiden00pl
f6e6bc65ce boards/b-g431b-esc1: add support for FOC configurations 2021-06-10 13:58:33 -03:00
raiden00pl
0ee42f38b3 boards/b-g431b-esc1: add button support 2021-06-10 13:58:33 -03:00
raiden00pl
7a2aa8aa69 b-g431b-esc1: refactor bringup logic for consistency with other boards 2021-06-10 13:58:33 -03:00
Chen Wen
dbf9c87a42 risc-v/esp32c3: Support ESP32-C3 RTC driver 2021-06-10 09:33:04 -03:00
Alexander Vasiljev
45672c269d Make: use gcc as LD 2021-06-10 03:43:18 -07:00
Alexander Lunev
1bb23a7a33 boards: lm3s6965-ek: added config to run NuttX with enabled NXFLAT binary loader mode on QEMU;
Conditionally turn off -mpic-data-is-text-relative flag to access bss via the GOT
(https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139630111).

This is related to issue #3737.
2021-06-09 12:03:35 -05:00
Michal Lenc
02d42e4f03 boards/arm/stm32/nucleo-f446re: added support for GPIO driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-09 11:54:02 -05:00
Juha Niskanen
6c67b560b4 boards: stm32l5: remove unused STM32L5_BOARD_HCLK
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-09 11:53:20 -05:00
Juha Niskanen
ed3c73b307 boards: stm32l4: remove unused STM32L4_BOARD_HCLK
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-09 11:53:20 -05:00
Xiang Xiao
5b2a17b892 Include assert.h in necessary place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
Michal Lenc
dd8420431a boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config name
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-06-06 22:48:49 +01:00
Alan C. Assis
be1c8036d5 esp32-devkitc: Add board support to ht16k33 14-seg display 2021-06-05 20:32:04 -05:00
unixjet
68f19a6290 risc-v/rv32m1: Basic port to rv32m1 ri5cy 2021-06-05 17:25:57 -03:00
Matheus Castello
f81f973af3 boards: rp2040: Add user gpio driver
Add user space gpio driver supporting gpout, gpin, gpint

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2021-06-05 12:58:20 -03:00
Gustavo Henrique Nihei
0b3c2c7603 spi: Refactor SPI Slave interface prefix to sync with I2C Slave 2021-06-05 04:50:34 -07:00
Abdelatif Guettouche
f00deae9ac boards/esp32c3-devkit: Add a defconfig to test the shared library
example.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
Abdelatif Guettouche
dd4962b2f8 boards/esp32c3-devkit: Add the necessary flags for loadable modules and
a module defconfig to test the "module" example.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
Abdelatif Guettouche
3b7ae20843 boards/risc-v/esp32c3-devkit: Add an ELF defconfig and the necessary ELF
flags and linker script to support that.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
Abdelatif Guettouche
6e4a3d6cd8 boards/esp32-devkitc: Add an ELF defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 10:25:15 -05:00
Peter van der Perk
81954fc644 UCANS32K146 add support for B revision 2021-06-04 10:23:09 -05:00
Jaroslav Beran
4494ed8a5d samv7/samv71-xult: Add board support for ST7789 LCD controller
SPI0 is used for the connection of the LCD controller.

Additional SPI and GPIO signals definitions:

SPI0_NPCS1 - SPI Chip Select, PD25
GPIO_LCD_CD - Command/Data, pin PB2
GPIO_LCD_RST - Reset, pin PB3

boards/arm/samv7/samv71-xult/src/sam_st7789.c is
derived from boards/arm/imxrt/teensy-4.x/src/imxrt_st7789.c

Signed-off-by: Jaroslav Beran <jara.beran@gmail.com>
2021-06-03 21:33:52 -05:00
Xiang Xiao
2e54df0f35 Don't include assert.h from public header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-03 08:36:03 -07:00
YAMAMOTO Takashi
42d75f97e6 esp32-devkitc/wapi: a few settings which I often need for network testing
CONFIG_DEV_URANDOM=y (for mbedtls)
CONFIG_NETDB_DNSCLIENT_NAMESIZE=64 (azure generated hostnames)
CONFIG_NET_ETH_PKTSIZE=1518
CONFIG_NET_TCP_DELAYED_ACK=y
CONFIG_NET_TCP_WRITE_BUFFERS=y
CONFIG_NSH_LINELEN=300 (copy-and-paste azure long URLs)
2021-06-03 10:06:16 -05:00
YAMAMOTO Takashi
c20ed229b1 refresh configs 2021-06-03 10:05:33 -05:00
Fotis Panagiotopoulos
e189d83e11 SYSLOG channel add functions return handle to the channel. 2021-06-03 08:36:15 -05:00
Masayuki Ishikawa
9e8441e66e boards: spresense: Normalize rndis_smp and wifi_smp defconfigs
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-02 22:13:10 -05:00
Kazuya Hioki
ee0833c45d boards: cxd56xx: Apply CXD56_PHYSADDR to cxd56_imageproc.c and cxd56_audio_dma.c
Summary:
- This commit converts data to the physical address for DMA transfer.

Impact:
- cxd56_imageproc.c and cxd56_audio_dma.c

Testing:
- Not tested

Signed-off-by: Kazuya Hioki <Kazuya.Hioki@sony.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-02 22:13:10 -05:00
Kazuya Hioki
d3ef61af31 boards: spresense: Introduce ramconfig-new.ld for the system bus
Summary:
- In order to support the atomic instructions by ldrex/strex instruction
  in NuttX SMP, the data or later sections are mapped to the system bus.

Impact:
- Bootloader for Spresense SDK 2.1.0 or later must be installed
- Loops per msec must be adjusted
- Physical address for DMA must be converted with CXD56_PHYSADDR

Testing:
- Will be tested with later commits

Signed-off-by: Kazuya Hioki <Kazuya.Hioki@sony.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-02 22:13:10 -05:00
Abdelatif Guettouche
2004acdeb1 boards/esp32s2: Remove anything that has to do with QEMU since it's not
supported.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 12:43:15 -05:00
Abdelatif Guettouche
672b8000f5 boards/xtensa/esp32s2/esp32s2-saola-1/scripts/.gitignore: Ignore the
generated linker script file.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 10:31:26 -05:00
Abdelatif Guettouche
8347a56bc0 Improve and remove not necessary board configuration 2021-06-01 07:49:54 +02:00
Alan C. Assis
1201777457 Add support to the esp32s2-saola-1 board 2021-06-01 07:49:54 +02:00
Nakamura, Yuuichi
85f9b893b2 Add new config nsh_trace for spresense 2021-06-01 00:48:59 -05:00
Xiang Xiao
d7f96003cf Don't include debug.h from public header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
Gustavo Henrique Nihei
8a41d849df drivers/spi: Change prefix to a more intuitive "spislave" 2021-05-31 07:54:08 -07:00
chao.an
99bfd355c7 serial/uart/h4: add bt h4 uart serial driver
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
chao.an
6837d4e1ba arch/sim: remove BT uart implement
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-05-31 09:50:54 -03:00
Gustavo Henrique Nihei
8914646c27 board/esp32c3-devkit: Add support for SPI Slave chardev driver 2021-05-31 12:54:15 +01:00
Jiuzhu Dong
dab99acfe3 sim/rptun: support multi(>2) core interactive by share memory
N/A

Change-Id: Ia8254bfe369e40a04ed54adfa64afa38974b165c
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-05-30 23:28:40 -05:00
Jiuzhu Dong
2969cf7a66 sim: move driver/arch initialize to sim_bringup
Change-Id: Ia41cc3978cc26294ca72be10cdedeb6efc8aea7a
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-05-30 23:28:40 -05:00
Abdelatif Guettouche
c2275016ec boards/arm/stm32/nucleo-f412zg/src/nucleo-f412zg.h: Remove the duplicate
definition of GPIO_OTGFS_VBUS, it's already defined by stm32f412xx_pinmap.h.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-28 05:42:33 -07:00
Abdelatif Guettouche
ece1c5c503 boards/arm/stm32/nucleo-f412zg/scripts/Make.defs: Replace EXTRADEFINES
by EXTRAFLAGS.  This was supposed to be part of an old PR but this board
was left behind.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-28 05:42:33 -07:00
Masayuki Ishikawa
f14ceb43b7 boards: spresense: Remove CONFIG_LIBM from defconfigs
Summary:
- This commit removes CONFIG_LIBM from defconfigs to use libm for gcc

Impact:
- Applications which use the math library

Testing:
- Tested with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-27 12:56:54 +02:00
Virus.V
c6317650f9 risc-v/bl602: Add RTC support 2021-05-26 20:03:19 -03:00
Dong Heng
73dcbac09d riscv/esp32c3: Add ESP32-C3 AES driver 2021-05-25 11:02:59 -03:00
Tanushree Baindur
7a49fade03 Eagle100: Fix build error in eagle100:nxflat config 2021-05-25 01:37:37 -05:00
Govind Singh
1e4490f127 boards: maix-bit: Update README.txt with updated clone path
Update apps clone path to avoid below error seen due to
expected relative path.

tools/Makefile.unix:329: recipe for target 'dirlinks' failed
make: *** [dirlinks] Error 2
ERROR: failed to refresh

Signed-off-by: Govind Singh <govind.sk85@gmail.com>
2021-05-25 01:37:28 -05:00
Janne Rosberg
d6205642ab add support for PolarFire SoC and icicle board
Co-authored-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-05-24 22:55:44 -05:00
Xiang Xiao
001e7c3e76 sched: Don't include nuttx/sched.h inside sched.h
But let nuttx/sched.h include sched.h instead to
avoid expose nuttx kernel API to userspace.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-24 12:11:53 +09:00
SPRESENSE
0146231166 boards: cxd56xx: Fix bug that modem may miss the GPIO interrupt
If the GPIO falls within 300us after raising
(or GPIO raises within 300us after falling), the modem may miss the GPIO
interrupt. So add delay by 300us before changing the GPIO.
2021-05-23 20:42:54 +02:00
SPRESENSE
14c57b0774 boards: cxd56xx: Fix uninitialized variable
Fix uninitialized variable.
CodeSonar Warning 520074
2021-05-23 20:42:54 +02:00
SPRESENSE
21ed297adc boards: cxd56xx: Fix configuration to compile bmp280 sensor
Fix the configuration name to compile cxd56_bmp280_i2c.c.
2021-05-23 20:42:54 +02:00
SPRESENSE
6cc60f3bd9 boards: cxd56xx: Set the pin number to the argument of gpio handler
Make it easy to get the pin number on GPIO interrupt handler.
2021-05-23 20:42:54 +02:00
SPRESENSE
ca775beccb boards: spresense: Support board_reset on interrupt context
When CONFIG_BOARD_RESET_ON_ASSERT is enabled, board_reset() may be
called on interrupt context. This commit changes to be able to call the
function on interrupt context.
2021-05-23 20:42:54 +02:00
SPRESENSE
8b5425d661 boards: spresense: Add delay only for PMIC GPO setting
When RTC clock is still unstable, add a delay time only for PMIC GPO
setting to avoid a problem that the setting is not reflected.
2021-05-23 20:42:54 +02:00
SPRESENSE
8403fe6503 boards: spresense: Fix PMIC setting during boot-up
When RTC clock is still unstable, the continuous PMIC settings may not
be reflected. This commit adds a delay time to avoid such problem.
2021-05-23 20:42:54 +02:00
Dong Heng
76df958e34 riscv/esp32c3: Support SPI Flash encryption read/write 2021-05-23 08:37:25 -03:00
Huang Qi
f4a0b7aedd libc: Call pthread_exit in user-space by up_pthread_exit
Drop to user-space in kernel/protected build with up_pthread_exit,
now all pthread_cleanup functions executed in user mode.

* A new syscall SYS_pthread_exit added
* A new tcb flag TCB_FLAG_CANCEL_DOING added
* up_pthread_exit implemented for riscv/arm arch

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-05-21 22:46:52 -06:00
Huang Qi
103925b2b7 boards/risc-v/c906: Remove unneeded pthread_start
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-05-21 22:46:52 -06:00
Gregory Nutt
bb9b58bdde libc: Move pthread_create to user space
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I5c447d94077debc79158686935f288e4c8e51e01
2021-05-21 22:46:52 -06:00
Raman Gopalan
9f9ecffe2e ET-STM32 Stamp: An STM32F103RET6 target for NuttX 2021-05-21 10:58:14 -03:00
Tanushree Baindur
2217d2f0d3 eagle100/configs/nxflat/defconfig: fix error: unused variable 'desc' 2021-05-19 20:43:39 -05:00
chenwen
9a99d813fa risc-v/esp32c3: Support ESP32-C3 auto-sleep 2021-05-19 07:00:40 -03:00
Chen Wen
e44ec9e48e xtensa/esp32: Fix code nxstyle issue 2021-05-19 06:45:42 -03:00
chenwen
f7db743152 xtensa/esp32: Support auto-sleep 2021-05-19 06:45:42 -03:00
chenwen
f50160f0e1 xtensa/esp32: Support tick-less OS 2021-05-19 06:45:42 -03:00
Dong Heng
f12de4f7d9 riscv/esp32c3: Add ESP32-C3 ADC driver 2021-05-18 09:20:46 -03:00
Masayuki Ishikawa
d8ca691e2a boards: sabre-6quad: Add ELF support to netnsh and netnsh_smp
Summary:
- This commit adds ELF support to netnsh and netnsh_smp

Impact:
- None

Testing:
- Tested with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-16 22:30:55 -05:00
Masayuki Ishikawa
a036546feb boards: sabre-6quad: Add posix_spawn/defconfig
Summary:
- This commit adds sabre-6quad/configs/posix_spawn/defconfig

Impact:
- None

Testing:
- Tested with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-16 22:30:55 -05:00
Masayuki Ishikawa
bd0e586c23 boards: sabre-6quad: Add elf/defconfig
Summary:
- This commit adds sabre-6quad/configs/elf/defconfig

Impact:
- None

Testing:
-Tested with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-16 22:30:55 -05:00
Brennan Ashton
4a2d4c1950 board/circuit-express: Add usbnsh configuration 2021-05-16 11:35:51 -03:00
Brennan Ashton
2972e7015e board: Add support for Adafruit Circuit Express 2021-05-16 11:35:51 -03:00
Xiang Xiao
a81166aef6 Update libcxx to 12.0.0 release
and remove the temporary patch since all patch is in the mainline now

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-16 01:18:41 -07:00
Jiuzhu Dong
73cc1f8884 driver/rtc: add config CONFIG_RTC_RPMSG_SERVER to
N/A
select rtc rpmsg role.

Change-Id: I7f9053b070593573caa5d988c6a2e13593da6bc5
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-05-15 14:33:52 -03:00
Jiuzhu Dong
f082893b9a driver/rtc: add config RTC_RPMSG_SERVER_NAME to
specified the name of remote proc(rpmsg server)

Change-Id: I0086bb43727a2bbb5e68f88907b5e4608182ef9c
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-05-15 14:33:52 -03:00
Jiuzhu Dong
ff567124d3 driver/syslog: add config SYSLOG_RPMSG_SERVER_NAME to
N/A

specified the name of remote proc(rpmsg server)

Change-Id: Ie270d651071e87a40a80ab489597ae18db9814f0
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-05-15 09:39:57 -03:00
Dong Heng
beed26b6bf riscv/esp32c3: Add ESP32-C3 LEDC(PWM) driver 2021-05-15 08:38:37 -03:00
Masayuki Ishikawa
3af0ef70ff boards: spresense: Update rndis/rndis_smp/wifi/wifi_smp defconfigs
Summary:
- Add the following configs
  +CONFIG_NFS=y
  +CONFIG_USERMAIN_STACKSIZE=3072 (rndis/defconfig only)

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
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