tmedicci commented on PR #13222:
URL: https://github.com/apache/nuttx/pull/13222#issuecomment-2321821154

   Hi @yamt 
   
   CI tests ran successfully. Let's wait for 
https://github.com/apache/nuttx/pull/13249 to be merged before merging this.
   
   I tested i with the following configs (for `psram` and `psram_usrheap`). Can 
you please add them to this PR?
   
   Usually, whenever we check that some defconfig is working as expected with 
SMP enabled, we let it be enabled in order to provide the best experience for 
the users. So, if you can enable them in this PR, I'll be glad. Thank you for 
submitting these PRs.
   
   ```
   diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
   index 9450b5475e..51de22702f 100644
   --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
   +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
   @@ -6,6 +6,7 @@
    # modifications.
    #
    # CONFIG_ARCH_LEDS is not set
   +# CONFIG_NDEBUG is not set
    # CONFIG_NSH_ARGCAT is not set
    # CONFIG_NSH_CMDOPT_HEXDUMP is not set
    CONFIG_ARCH="xtensa"
   @@ -15,6 +16,7 @@ CONFIG_ARCH_BOARD_ESP32_DEVKITC=y
    CONFIG_ARCH_CHIP="esp32"
    CONFIG_ARCH_CHIP_ESP32=y
    CONFIG_ARCH_CHIP_ESP32WROVER=y
   +CONFIG_ARCH_INTERRUPTSTACK=2048
    CONFIG_ARCH_STACKDUMP=y
    CONFIG_ARCH_XTENSA=y
    CONFIG_BOARD_LOOPSPERMSEC=16717
   @@ -36,7 +38,7 @@ CONFIG_IOB_NBUFFERS=36
    CONFIG_IOB_NCHAINS=36
    CONFIG_IOB_THROTTLE=8
    CONFIG_MM_IOB=y
   -CONFIG_MM_REGIONS=4
   +CONFIG_MM_REGIONS=5
    CONFIG_NSH_ARCHINIT=y
    CONFIG_NSH_BUILTIN_APPS=y
    CONFIG_NSH_FILEIOSIZE=512
   @@ -48,6 +50,8 @@ CONFIG_RAM_START=0x20000000
    CONFIG_RR_INTERVAL=200
    CONFIG_SCHED_HPWORK=y
    CONFIG_SCHED_WAITPID=y
   +CONFIG_SMP=y
   +CONFIG_SMP_NCPUS=2
    CONFIG_START_DAY=6
    CONFIG_START_MONTH=12
    CONFIG_START_YEAR=2011
   diff --git 
a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig 
b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
   index 171374f6b0..ea09820207 100644
   --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
   +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
   @@ -6,6 +6,7 @@
    # modifications.
    #
    # CONFIG_ARCH_LEDS is not set
   +# CONFIG_NDEBUG is not set
    # CONFIG_NSH_ARGCAT is not set
    # CONFIG_NSH_CMDOPT_HEXDUMP is not set
    CONFIG_ARCH="xtensa"
   @@ -15,6 +16,7 @@ CONFIG_ARCH_BOARD_ESP32_DEVKITC=y
    CONFIG_ARCH_CHIP="esp32"
    CONFIG_ARCH_CHIP_ESP32=y
    CONFIG_ARCH_CHIP_ESP32WROVER=y
   +CONFIG_ARCH_INTERRUPTSTACK=2048
    CONFIG_ARCH_STACKDUMP=y
    CONFIG_ARCH_XTENSA=y
    CONFIG_BOARD_LOOPSPERMSEC=16717
   @@ -38,7 +40,7 @@ CONFIG_IOB_NBUFFERS=36
    CONFIG_IOB_NCHAINS=36
    CONFIG_IOB_THROTTLE=8
    CONFIG_MM_IOB=y
   -CONFIG_MM_REGIONS=3
   +CONFIG_MM_REGIONS=4
    CONFIG_NSH_ARCHINIT=y
    CONFIG_NSH_BUILTIN_APPS=y
    CONFIG_NSH_FILEIOSIZE=512
   @@ -50,6 +52,8 @@ CONFIG_RAM_START=0x20000000
    CONFIG_RR_INTERVAL=200
    CONFIG_SCHED_HPWORK=y
    CONFIG_SCHED_WAITPID=y
   +CONFIG_SMP=y
   +CONFIG_SMP_NCPUS=2
    CONFIG_START_DAY=6
    CONFIG_START_MONTH=12
    CONFIG_START_YEAR=2011
    ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to