fdcavalcanti commented on PR #16673:
URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3117708374

   > Right, looks like I had broken the affinity setting; originally the 
priority setting caused task switch with equal priority, and I had changed this 
to change only on different priority.
   > 
   > I changed the code a bit to deliver information about whether to switch 
task on equal or greater priority also over smp call, so it is also easier to 
see from the code what happens (and now the priority setting switches on equal 
priority as before, so there is no need to change the affinity setting code).
   > 
   > @fdcavalcanti If you have time, could you please check if the esp32 issues 
got fixed?
   
   Just ran it and no changes.
   ```
   [CPU0] dump_assert_info: Current Version: NuttX  10.4.0 11b8ecca03 Jul 25 
2025 11:49:44 xtensa
   [CPU0] dump_assert_info: Assertion failed tasklist == (&g_readytorun): at 
file: sched/sched_removereadytorun.c:190 task(CPU0): ostest process: ostest 
0x400f6af0
   ```
   You could test this yourself using ESP32 QEMU if it helps:
   - `./tools/configure.sh esp32-devkitc:smp`
   - Set CONFIG_ESP32_MERGE_BINS=y and CONFIG_ESP32_QEMU_IMAGE=y
   - Add `#define ESP32_IGNORE_CHIP_REVISION_CHECK` to `esp32_start.c`
   - Build and run with: `qemu-system-xtensa -nographic -machine esp32 -drive 
file=nuttx.merged.bin,if=mtd,format=raw -global 
driver=esp32.gpio,property=strap_mode,value=0x12`
   - Run ostest.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to