Does CM4 support USB MSD?

Relying upon the cheat sheet examples I attempted to run the datalogger example on the M4 core of the Giga. Routinely capturing the output of an MCP9700 temp sensor on A0 works no problem on the CM7. When I try this with the CM4 the errors thrown relate to USB power pins not being configured and using chrono durations instead of delay(millis).

Are there alternate pins to use when enabling USB on the Giga CM4 versus that of the CM7?

Why won't delay with millis() work?

Thank you in advance for any assistance.

Hi @bambuino . It's USBHostMSD (not to be confused with USBMSD).

I'm using my M4s as dataloggers without issue (now that I've found USB flash drives that work Unreliable file writing on connected flash drive - #15 by steve9.._gaMjI1MDUyOTkzLjE3MzYwNjAwMzY._ga_NEXN8H46L5MTczNjA2MDAzNS4xLjAuMTczNjA2MDAzNS4wLjAuNzE5NDg2Njg4)

You'll need commit STM32H747: core_m4: fix compatibility with core 4.0.10+ · arduino-libraries/Arduino_USBHostMbed5@782ede3 · GitHub
which was applied after the last release. Download from git rather than use the IDE library manager.
The chrono messages are just deprecation warnings that can be ignored, delay works fine.

Thanks for the lead on that commit.

edit:
And a few minutes fixing those three files in above commit and am good to go. Thanks for that lead.