nuttx/arch/xtensa/src/esp32
simonatoaca bb6f32d610 esp32-sparrow-kit: Add I2S support for the board's microphone
The board's microphone uses 24-bit i2s and this commit also fixes
the segmentation fault caused by the audio buffer overflow.

arch/xtensa/src/esp32/esp32_i2s.c: Fix bug regarding 24-bit audio and add AUDIOIOC_STOP to ioctl
drivers/audio/audio_i2s.c: Report number of channels on AUDIOIOC_GETCAPS
in boards/xtensa/esp32/esp32-sparrow-kit:
	/configs/nsh/defconfig: Add I2S configs
	/src/esp32-sparrow-kit.h: Add the signature of esp32_i2sdev_initialize()
	/src/esp32_bringup.c: Add call to esp32_i2sdev_initialize()

Signed-off-by: simonatoaca <simona.alexandra2000@gmail.com>
2024-02-20 06:46:06 -08:00
..
bootloader arch/xtensa/esp32: Update MCUboot build process 2023-08-18 14:44:11 +08:00
hardware esp32/dac-one-shot: lower-half driver for ESP32 internal DAC 2024-02-02 09:23:28 -08:00
rom Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
.gitignore arch/xtensa/esp32: Update MCUboot build process 2023-08-18 14:44:11 +08:00
Bootloader.mk esp32: Improve selection of the bootloader being used on Kconfig 2024-01-25 11:22:39 -03:00
chip.h
chip_macros.h Fix nuttx coding style 2023-07-14 01:16:06 +08:00
chip_memory.h
esp32_aes.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
esp32_aes.h
esp32_allocateheap.c xtensa/esp32: Support allocation of userspace heap into External RAM 2023-01-18 17:41:09 +08:00
esp32_ble.c style: fix multiple style issues and remove unused 2023-09-16 14:17:47 +08:00
esp32_ble.h
esp32_ble_adapter.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_ble_adapter.h
esp32_clockconfig.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
esp32_clockconfig.h
esp32_config.h
esp32_cpuidlestack.c esp32_cpuidlestack.c: Remove unnecessary code. 2022-05-24 08:59:10 +09:00
esp32_cpuindex.S
esp32_cpustart.c arch: Save sigdeliver into xcp in the case of signal self delevery 2023-05-17 11:53:18 -06:00
esp32_dac.c esp32/dac-one-shot: lower-half driver for ESP32 internal DAC 2024-02-02 09:23:28 -08:00
esp32_dac.h esp32/dac-one-shot: lower-half driver for ESP32 internal DAC 2024-02-02 09:23:28 -08:00
esp32_dma.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
esp32_dma.h xtensa/esp32: add initial support for I2S 2022-09-30 17:23:17 -03:00
esp32_efuse.c esp32: Explicitly fail on boot-up for unsupported ESP32 versions. 2024-01-21 06:33:25 -08:00
esp32_efuse.h esp32: Explicitly fail on boot-up for unsupported ESP32 versions. 2024-01-21 06:33:25 -08:00
esp32_efuse_lowerhalf.c
esp32_efuse_table.c esp32/hardware/esp32_efuse.h: Update macros for registers. 2024-01-21 06:33:25 -08:00
esp32_emac.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_emac.h
esp32_extraheaps.c arch/xtensa: Initialize the internal heap early. 2022-06-07 02:32:30 +08:00
esp32_freerun.c
esp32_freerun.h
esp32_gpio.c arch/xtensa/esp32: Add support for RTC IRQs 2023-01-21 12:27:35 +08:00
esp32_gpio.h arch/xtensa/esp32: Add support for RTC IRQs 2023-01-21 12:27:35 +08:00
esp32_himem.c change free to kmm_free as it was allocated via kmm_alloc 2023-07-05 16:40:23 +08:00
esp32_himem.h xtensa/esp32: Support allocation of userspace heap into External RAM 2023-01-18 17:41:09 +08:00
esp32_himem_chardev.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
esp32_i2c.c esp32: port support for I2C_M_NOSTART and I2C_M_NOSTOP 2023-04-25 20:35:55 +08:00
esp32_i2c.h esp32/i2c: Add macros to conform with other peripherals and fix typos 2022-10-19 20:31:29 -03:00
esp32_i2s.c esp32-sparrow-kit: Add I2S support for the board's microphone 2024-02-20 06:46:06 -08:00
esp32_i2s.h esp32/i2s: implement I2S receiver module 2022-11-15 17:01:47 -03:00
esp32_idle.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
esp32_imm.c mm: Correct the callsite of mm_mallinfo 2023-06-11 19:37:04 +03:00
esp32_intercpu_interrupt.c
esp32_iramheap.c mm: include malloc.h in mm/mm.h 2023-06-11 19:37:04 +03:00
esp32_iramheap.h mempool:Add mail_info support for multiple pools 2023-06-08 23:56:40 +08:00
esp32_irq.c esp32/irq: Allow IRAM ISRs to run during SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_irq.h esp32/irq: Allow IRAM ISRs to run during SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_ledc.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
esp32_ledc.h
esp32_libc_stubs.c arch/esp32: use kernel internal API for libc stubs 2023-08-08 11:58:29 -03:00
esp32_oneshot.c
esp32_oneshot.h
esp32_oneshot_lowerhalf.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
esp32_partition.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_partition.h xtensa/esp32: Support multiple PHY init data bin 2023-06-07 16:44:26 +08:00
esp32_pm.c esp32/hardware/esp32_efuse.h: Update macros for registers. 2024-01-21 06:33:25 -08:00
esp32_pm.h
esp32_pminitialize.c pm: Move pm_initialize call from driver_initialize to xxx_pminitialize 2022-04-22 14:36:27 +03:00
esp32_psram.c esp32/hardware/esp32_efuse.h: Update macros for registers. 2024-01-21 06:33:25 -08:00
esp32_psram.h
esp32_qencoder.c esp32: Fix QEnconder reset position and small typo 2023-01-16 09:41:46 +08:00
esp32_qencoder.h ESP32: Add support to Quadrature Encoder 2022-10-17 00:30:53 +02:00
esp32_region.c nxstyle: cleanup UTF-8 Unicode to ASCII 2023-09-18 11:54:17 -04:00
esp32_region.h
esp32_resetcause.c
esp32_resetcause.h
esp32_rmt.c esp32/rmt: fix bug in rmt_reset 2023-09-12 17:44:42 +08:00
esp32_rmt.h esp32/rmt: Improve comments in ESP32's RMT peripheral 2023-09-12 17:44:42 +08:00
esp32_rng.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
esp32_rt_timer.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_rt_timer.h Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_rtc.c esp32/hardware/esp32_efuse.h: Update macros for registers. 2024-01-21 06:33:25 -08:00
esp32_rtc.h arch/xtensa/esp32: Add functions to get RTC clock 2022-12-14 22:38:10 +08:00
esp32_rtc_gpio.c style: fix multiple style issues and remove unused 2023-09-16 14:17:47 +08:00
esp32_rtc_gpio.h arch/xtensa/esp32: Add support for RTC IRQs 2023-01-21 12:27:35 +08:00
esp32_rtc_lowerhalf.c Remove the unnecessary NULL fields in global instance definition of file_operations 2023-01-04 00:32:13 +02:00
esp32_rtc_lowerhalf.h
esp32_rtcheap.c mm: include malloc.h in mm/mm.h 2023-06-11 19:37:04 +03:00
esp32_rtcheap.h mempool:Add mail_info support for multiple pools 2023-06-08 23:56:40 +08:00
esp32_serial.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
esp32_smp.h arch/xtensa: Simply use xtensa_createstack for CPU1 idle task. 2022-04-26 01:36:54 +08:00
esp32_spi.c esp32: Fix build warning 2023-08-25 17:06:32 +08:00
esp32_spi.h xtensa/esp32: SPI support to configure as R/W/RW mode 2023-01-11 01:54:36 +08:00
esp32_spi_slave.c Fix nuttx coding style 2023-07-13 19:30:56 +08:00
esp32_spicache.c esp32/ble: enable the BLE interrupt during a SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_spicache.h esp32/ble: enable the BLE interrupt during a SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_spiflash.c esp32/hardware: Rename efuse_reg.h to esp32_efuse.h. 2024-01-21 06:33:25 -08:00
esp32_spiflash.h esp32/irq: Allow IRAM ISRs to run during SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_spiram.c esp32/spiflash: Make it similar to ESP32-S3 by removing cache state 2023-11-10 09:11:35 +08:00
esp32_spiram.h
esp32_start.c esp32: Explicitly fail on boot-up for unsupported ESP32 versions. 2024-01-21 06:33:25 -08:00
esp32_start.h
esp32_systemreset.c
esp32_systemreset.h
esp32_textheap.c esp32: Implement up_textheap_heapmember 2022-05-20 21:16:42 +08:00
esp32_tickless.c Remove the unnecessary "return;" at the end of function 2022-11-27 22:23:50 +01:00
esp32_tickless.h
esp32_tim.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
esp32_tim.h
esp32_tim_lowerhalf.c esp32: Clear the timer interrupt to avoid losing the next one 2022-12-28 09:45:29 +08:00
esp32_tim_lowerhalf.h
esp32_timerisr.c
esp32_touch.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
esp32_touch.h arch/xtensa/esp32: Add support for touch pad interruptions 2023-01-26 14:33:08 -03:00
esp32_touch_lowerhalf.h arch/xtensa: Fix 'interruption' typos 2023-01-26 14:33:08 -03:00
esp32_twai.c Remove the unnecessary "return;" at the end of function 2022-11-27 22:23:50 +01:00
esp32_twai.h arch/xtensa: Remove FAR from chip and board folder 2022-04-17 18:42:38 +03:00
esp32_user.c esp32/ble: enable the BLE interrupt during a SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_userspace.c xtensa/esp32: Allow allocation of user data in SPI RAM 2022-10-04 21:32:42 +02:00
esp32_userspace.h Remove executable permission from source and build files. 2022-08-04 12:48:18 -03:00
esp32_wdt.c arch/xtensa/esp32: Add support for RTC IRQs 2023-01-21 12:27:35 +08:00
esp32_wdt.h
esp32_wdt_lowerhalf.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
esp32_wdt_lowerhalf.h
esp32_wifi_adapter.c esp32_c3_s3/wifi_ble: Use nxsem_trywait to take semphr from ISR 2023-08-19 18:40:31 +08:00
esp32_wifi_adapter.h esp32/wifi: fix typos, goto and macro definitions 2023-04-05 10:26:27 -03:00
esp32_wifi_utils.c Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
esp32_wifi_utils.h Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER 2022-11-14 09:34:04 +09:00
esp32_window_hooks.S xtensa/esp32s3: Configure the PMS peripheral for Protected Mode 2022-12-07 03:07:45 +08:00
esp32_wireless.c esp32/ble: enable the BLE interrupt during a SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_wireless.h esp32/ble: enable the BLE interrupt during a SPI flash operation 2023-11-10 09:11:35 +08:00
esp32_wlan.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
esp32_wlan.h esp32/wifi: notify networking layer about the carrier status 2023-04-05 10:26:27 -03:00
Kconfig esp32/dac-one-shot: lower-half driver for ESP32 internal DAC 2024-02-02 09:23:28 -08:00
Kconfig.security
Make.defs esp32/dac-one-shot: lower-half driver for ESP32 internal DAC 2024-02-02 09:23:28 -08:00