MITHILESH MATTAPALLI created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1113
Project:Branches: mithileshm/rtems:add-spcan02-test to rtems/rtos/rtems:main Author: MITHILESH MATTAPALLI ## Summary This MR introduces `spcan02`, an automated POSIX functional test for the RTEMS CAN stack using the hardware-independent virtual driver (`can-virtual.c`). **Key Verifications:** * **API & Routing:** Validates `open`, `ioctl(RTEMS_CAN_CHIP_START)`, `write`, and `read` by routing 2000 frames between concurrent TX/RX tasks over a virtual loopback (`/dev/can0`). * **Queue Stability:** Confirms correct handling of `-EAGAIN` during non-blocking queue exhaustion under heavy load. * **Memory Compliance:** Executes cleanly on the `sparc/erc32` (`sis`) simulator without requiring `CONFIGURE_MEMORY_OVERHEAD`, proving the native CAN thread resource calculations provisioned in !5193 are robust. ## Generative AI * **Prompt used:** Assisted with POSIX test boilerplate, C code formatting, and debugging SPARC memory configurations. * **Which AI model was used:** Google Gemini 3.1 pro * **How AI was used for the contribution:** Test creation assistance (POSIX boilerplate), Code formatting, and Debugging assistance. * **Copyright & Access:** I have not used a product that claims copyright over the generated output, and I have legitimate access to the tool. I fully understand, have manually tested, and take full responsibility for the submitted code. <!--Default settings, if it is a dropdown it will set after submission--> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1113 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
