Commit Graph

1702 Commits

Author SHA1 Message Date
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