Skip to content

Conversation

ssssenai
Copy link
Contributor

@ssssenai ssssenai commented Dec 2, 2022

Summary

  • Verify the functionality of the esp32himem character device (xtensa/esp32/himem).
  • Verify the creation of a himem character device for reading and writing (1M --> 4M).
  • Verify the creation of multiple himem character devices for reading and writing (16KB & 1MB).

Impact

Only esp32.
The configuration option needs to be enabled: CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE.

Testing

Use esp32 & esp32-devkitc/psram.

@ssssenai ssssenai force-pushed the himem-cdev-test branch 2 times, most recently from 063e18c to d235204 Compare December 8, 2022 10:25
@xiaoxiang781216
Copy link
Contributor

@ssssenai could you fix the build break?

default "himem_test"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NSH ELF program?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a generic description in Kconfig.

# see the file kconfig-language.txt in the NuttX tools repository.
#

config TESTING_HIMEM_TEST
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess this should somehow depends on esp32.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configuration option needs to be enabled: CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE. And has been added dependency on.

@ssssenai
Copy link
Contributor Author

@ssssenai could you fix the build break?

I apologize for the late response, as this account has not been logged in for a long time.
This test is to validate the esp32himem. It is necessary to enable psram and then enable ESP32_SPIRAM_BANKSWITCH_ENABLE & ESP32_SPIFLASH.

…cter devices,

read/write multi block character devices, etc.
@xiaoxiang781216 xiaoxiang781216 merged commit 5e5f518 into apache:master Aug 22, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants