Commit Graph

3122 Commits

Author SHA1 Message Date
Tiago Medicci Serrano
0f808a352a boards/esp32-lyrat/configs: add defconfig for RTP Tools
RTP Tools is a set of small applications that can be used for
processing RTP data. This application is able to receive RTP
packets and write the content to a FIFO. `nxplayer` then reads
from the FIFO, enabling using NuttX as a RTP receiver for audio
applications.

This is particularly useful to stream uncompressed audio through
Wi-Fi to remote speakers.
2023-05-03 07:57:11 +02:00
Tiago Medicci Serrano
34dbfa0370 boards/sim/configs: add defconfig for RTP Tools
RTP Tools is a set of small applications that can be used for
processing RTP data. This `defconfig` builds the `rtpdump` and
is able to receive RTP packets and print the contents.
2023-05-03 07:57:11 +02:00
Tiago Medicci Serrano
f7d64fec9f boards/esp32-devkitc: substitute ramtest to mm on defconfigs
The defconfigs that test PSRAM on ESP32 contain the `ramtest` app,
but it doesn't test the memory correctly as it try to access the
memory directly. The memory, however, is being used by the system's
heap and `ramtest` can mess with it. Therefore, it makes sense to
test using `mm` testing app.
2023-04-30 11:31:23 +08:00
Huang Qi
0d3abe6ebb boards/k210: Use 8 byte align in linker script
I noticed sometimes once config changed, it will not launch to shell,
maybe due to
K210 is a 64-bit platform and without misaligned memory access support.

This patch may fix this problem, it will not introduce new issues at least.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-04-28 18:22:09 +08:00
chao an
5945f080b9 boars/spawn_proxy: remove all CONFIG_POSIX_SPAWN_PROXY_STACKSIZE
Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-27 17:35:58 +08:00
SPRESENSE
307839ab6d drivers/spi/spi_bitbang: Add private data on spi_bitbang
Add private data for spi_bitbang low-level driver to add an instance
specific private data.
And add spi_destroy_bitbang() to clean up a driver instance.
2023-04-27 17:06:14 +08:00
Lucas Saavedra Vaz
18d2653e4e boards/xtensa/ttgo_t_display_esp32: Fix LCD colors 2023-04-27 02:18:32 +08:00
Lucas Saavedra Vaz
7f32b7973b boards/xtensa/esp32s2-kaluga-1: Add support for LCD displays 2023-04-27 02:18:32 +08:00
Lucas Saavedra Vaz
690454558e boards/xtensa/esp32: Ensure that DISPLAY_BCKL exists for ILI9341 2023-04-27 02:18:32 +08:00
Radek Pesina
50a8ec62c4 Add eMMC driver support
- Fix DMA addressing issues within litex_sendsetup/litex_recvsetup
- Extend with handling specific to eMMC commands during init & use.
- Cleanup of 4-bit BUS handling for SD and eMMC
- For eMMC, Send CMD0 during init as per JEDEC v4.41 for pre-idle
2023-04-26 00:34:36 -04:00
Robert-Ionut Alexa
2e04d87e30 esp32-sparrow-kit: enable SSD1306 OLED display in the default configuration
Signed-off-by: Robert-Ionut Alexa <robertalexa2000@gmail.com>
2023-04-25 20:35:55 +08:00
Robert-Ionut Alexa
0e06e03ff5 esp32-devkitc: add support for LCD char device registration
Signed-off-by: Robert-Ionut Alexa <robertalexa2000@gmail.com>
2023-04-25 20:35:55 +08:00
Robert-Ionut Alexa
5bfedbcc60 esp32: macros related to SSD1306 OLED display should not be board-specific
Signed-off-by: Robert-Ionut Alexa <robertalexa2000@gmail.com>
2023-04-25 20:35:55 +08:00
Peter van der Perk
33d6c1bb72 Update config for nuttx-apps#1558 2023-04-25 18:24:50 +08:00
ldube
16f1dcf2a7 Update boards/arm/tiva/tm4c1294-launchpad/src/tm4c_reset.c
Co-authored-by: hartmannathan <59230071+hartmannathan@users.noreply.github.com>
2023-04-25 15:25:34 +08:00
Lwazi Dube
d94d2aad9e tm4c1294-launchpad: Add reboot support. 2023-04-25 15:25:34 +08:00
Masayuki Ishikawa
037dcbf7cc boards: sabre-6quad: Add netnsh_ar8031 configuration
Summary:
- This commit adds sabre-6quad:netnsh_ar8031 configuration

Impact:
- None

Testing:
- Tested with ping, telnet, iperf
- Note that iperf in TCP mode still has a performance issue.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-04-25 11:45:19 +08:00
Xiang Xiao
51dc67ad5f fs: Add g_ prefix for all global file_operations instances
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-04-24 16:13:29 +02:00
chao an
f620b039aa rv-virt/knsh64: increase proxy stack size to avoid overflow
Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-24 12:59:39 +03:00
chao an
f2257ffd80 rv-virt/nsh64: enable CONFIG_BCH to support block device access
Since ramdisk is registered as block device, enable CONFIG_BCH
to support block device access

Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-23 23:27:23 +08:00
YAMAMOTO Takashi
a5bf3d769b Add sim:toywasm config 2023-04-23 23:19:20 +08:00
YAMAMOTO Takashi
72783209a3 Migrate sim board README.txt to Documentation 2023-04-22 01:47:46 +08:00
AuroraRAS
581e9ce80b Add MPU60x0 IMU sensors support for ESP32C3
Add MPU60x0 IMU sensors support for ESP32C3

Signed-off-by: AuroraRAS <chplee@gmail.com>
2023-04-22 01:47:09 +08:00
Denis Tolstov
ec3355a518 boards/stm32f411-minimum: Add support for USB mass storage (gadget)
* Bind smartfs0 to LUN 0 instead of mmcsd0
* Use USB composite code from similar boards
* Pull in CDC/ACM code as well

boards/stm32f411-minimum: composite: style refactor

* Unalign `int strbase = ` text, use single spaces
* Rename `int n` to `int dev_idx` like in newer `_composite.c` board code
* Add composite defconfig with CDC/ACM and MSC for build-testing
2023-04-22 01:45:19 +08:00
Denis Tolstov
da53c294b6 boards/stm32f411-minimum: Add optional onboard flash support
* Enable W25Q64 on SPI1 and use SMARTFS (using code from similar boards)
* Set defconfig dates to something more recent
2023-04-22 01:45:19 +08:00
Denis Tolstov
f09f167592 boards/stm32f411-minimum: Add README.txt 2023-04-22 01:45:19 +08:00
Denis Tolstov
b62db2b095 boards/stm32f411-minimum: Unmap USBHOST GPIOs
* OTG_FS_VBUS, OTG_FS_ID conflict with USART1. These are not
  connected to USB-C in any WeAct Studio MiniF4 board revisions.
* PC9 PWRON & PD5 OVER do not exist on UFQFPN48.
2023-04-22 01:45:19 +08:00
Stuart Ianna
4cae98674d litex: Support for kernel build with vexriscv-smp. 2023-04-22 01:40:32 +08:00
qinwei1
c4f3f8801f arm64: Support for FPU profiling with procfs
Summary:

   To reduce the count of FPU context switching will result at a
performance improve with system. it need to balance between
the using of FPU and counts of FPU trap
   the PR submit a base method to see performance counts for
the FPU with NuttX procfs
   Please read README.txt at chapter of FPU Support and Performance
for more information

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-04-22 01:38:21 +08:00
raiden00pl
d3fd1f50aa boards/nrf5340-dk: add RPMSG HCI controller support and examples 2023-04-22 01:37:24 +08:00
raiden00pl
760e02977f boards/nrf5340-dk: add procfs support 2023-04-22 01:37:24 +08:00
Lucas Saavedra Vaz
bdfe31e850 boards/xtensa/esp32: Add ESP32-PICO-KIT support 2023-04-22 01:23:13 +08:00
zhangyuan21
dfcba925e7 arch/arm64: add cache enable and disable function
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-04-22 01:22:04 +08:00
raiden00pl
4f86a62f91 boards/nrf52840-dk: add MX25 QSPI memory support 2023-04-22 01:12:27 +08:00
hujun5
abbc661282 arch/arm64:add tickless configure
add configure CONFIG_SCHED_TICKLESS=y to qemu-armv8a:nsh_smp_tickless

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-04-22 01:08:04 +08:00
Huang Qi
d6c56e7105 driver/telnet: Remove TELNET_CHARACTER_MODE
If TELNET_CHARACTER_MODE is set, the ECHO must be handled by the telnet server.

So this option is useless. We need a new approach to control the ECHO behavior.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-04-22 01:03:51 +08:00
simbit18
6ca0f90d43 nuttx/boards /arm/cxd56xx/drivers/sensors/Kconfig: Fix bmp280 texts in Kconfig
Fix SENSORS_BMP280_SCU texts in Kconfig
2023-04-21 11:12:28 +02:00
Petro Karashchenko
ff376ceb1f boards/lm3s6432-s2e: reduce size of NSH configuration binary
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-04-20 05:51:32 -04:00
SPRESENSE
0747ee1ea2 cxd56_power: Fixup code style
Fix code style by checkpatch.sh.
2023-04-19 11:02:23 +02:00
SPRESENSE
97a6fd4d18 cxd56_power: Add lowerhalf interface to keep power when cold sleep
Add board interface to keep power when entering/recover sleep.
Some driver wants to keep power when entering sleep mode.
2023-04-19 11:02:23 +02:00
David Sidrane
bbc8562f65 board nucleo-h743zi:Rework board.h not use CONFIG_STM32_USE_LEGACY_PINMAP 2023-04-19 09:58:11 +02:00
David Sidrane
54fbb911f2 board olimexino-stm32:Rework board.h not use CONFIG_STM32_USE_LEGACY_PINMAP 2023-04-19 09:58:11 +02:00
Fotis Panagiotopoulos
1530e04f20 ostest: Enabled KASAN, UBSAN & assertions. 2023-04-19 02:44:48 +08:00
Petro Karashchenko
18e2aa2d03 Revert "risv-v/esp32c6: disable custom optimize level temporary"
This reverts commit b94cc5ff92.
2023-04-18 22:34:40 +08:00
zhangyuan21
5207295f83 esp32c6: fixed ci build issue
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-04-18 16:48:43 +08:00
chao an
b94cc5ff92 risv-v/esp32c6: disable custom optimize level temporary
This is a workaround commit to temporarily reduce the flash usage of
esp32c6 to avoid ci failure, Since I am not familiar with esptool,
and this issue cannot be reproduced in the local environment,
so I temporarily turn off related optimizations to save flash size.

esptool error log:
-----------------------------------------
| MKIMAGE: ESP32-C6 binary
| esptool.py --chip esp32c6 elf2image --flash_mode dio --flash_size "4MB" -o nuttx.bin nuttx
| esptool.py v4.5.1
| Creating esp32c6 image...
| Merged 1 ELF section
|
| A fatal error occurred: Segment loaded at 0x42010c08 lands in same 64KB flash mapping as segment loaded at 0x42010020. Can't generate binary. Suggest changing linker script or ELF to merge sections.
| make: *** [tools/Unix.mk:527: nuttx] Error 2
| make: Target 'all' not remade because of errors.
-----------------------------------------

Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-13 21:10:42 +08:00
Gustavo Henrique Nihei
8e83379b84 risc-v/espressif: Initialize HR Timer where it is required
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-07 12:27:56 -03:00
Gustavo Henrique Nihei
ebe4ab8894 risc-v/espressif: Add support for RTC subsystem
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-07 12:27:56 -03:00
Gustavo Henrique Nihei
9affcb8673 boards: Update tickless defconfigs with ostest for testability
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-06 19:29:23 +03:00
Gustavo Henrique Nihei
ac746fd87f risc-v/espressif: Add support for Tickless mode
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-06 19:29:23 +03:00