fdcavalcanti opened a new pull request, #17207:
URL: https://github.com/apache/nuttx/pull/17207

   ## Summary
   
   - arch/xtensa: add non-iram interrupt support for ESP32-S2
   Adds support for enabling and disabling non-iram interrupts on ESP32-S2.
   
   This change is required to support SPI flash refactor.
   
   ## Impact
   
   - Impact on user: No.
   - Impact on build: No.
   - Impact on hardware: Only ESP32-S2.
   - Impact on documentation: No.
   - Impact on security: No.
   - Impact on compatibility: No.
   
   ## Testing
   
   Tested internally on CI on all defconfigs.
   Example below boots the device on spiflash defconfig and run fstest.
   
   ### Building
   
   - ./tools/configure.sh esp32s2-saola-1:spiflash
   - Enable CONFIG_TESTING_FSTEST
   - make and flash
   
   ### Running
   Format the partition and reboot:
   
   ```
   nsh> mksmartfs /dev/smart0
   ```
   Execute fstest:
   
   ```
   nsh> fstest -n 20 -m /data -o 30
   ```
   
   ### Results
   Tests passed.
   
   ```
   ...
   Final memory usage:
   VARIABLE  BEFORE   AFTER    DELTA
   ======== ======== ======== ========
   arena       42df4    42df4        0
   ordblks         1        1        0
   mxordblk    3d4a8    3d4a8        0
   uordblks     594c     594c        0
   fordblks    3d4a8    3d4a8        0
   File system tests done... OK: 40, FAILED: 0
   nsh> 
   ```
   


-- 
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