Very interesting. One of the big features of the Cortex-M is the ability to run with C startup code instead of assembly. One can completely start and initialize with no assembly whatsoever, which simplifies the toolchain. Unfortunately, STM’s samples normally use assembly startup.
It would be interesting to see what a NETMF port based on STM32CubeF4 looked like. It seems pretty feature-rich:
[ul]Full USB Host and Device stack supporting many classes.
Host Classes: HID, MSC, CDC, Audio, MTP
Device Classes: HID, MSC, CDC, Audio, DFU
STemWin, a professional graphical stack solution available in binary format and based on the emWin solution from ST’s partner Segger
CMSIS-RTOS implementation with FreeRTOS open source solution
FAT File system based on open source FatFS solution
TCP/IP stack based on open source LwIP solution
SSL/TLS secure layer based on open source PolarSSL[/ul]
Further, it’s all BSD licensed, so it can even be used as the foundation of commercial solutions.