Sorry I know nothing about these boards.
However it looks like there is some zephyr support:
XIAO MG24 — Zephyr Project Documentation
You can install Zephyr by following their instructions. I used the
ones up at:
Getting Started Guide — Zephyr Project Documentation
Note: this is raw Zephyr. Arduino has been working on a "wrapper" or the like
for Zephyr that works with some of their boards. It is currently in an
Beta (or Alpha) state. I don't believe they have any support for your board.
More details up at: arduino/ArduinoCore-zephyr: Arduino Core based on Zephyr+llext