Content originally posted in LPCWare by lsimons on Wed Aug 29 05:24:21 MST 2012
I've actually since given up on merging everything into one project. It seems cleaner to keep CMSIS outside of the application domain code, and I will do certification based on which functions from it are used according to the linker map (or so the current plan is). Since I'm already keep one set of libraries as a dependent library, having nxpUSBlib as a separate project doesn't seem unreasonable. The USB virtual terminal is working ok, though I have also found that it seems sensitive to being delayed during enumeration as you suggested. Other than that it works pretty well.
I have found that there seems to be a race condition when multiple send_string commands are issued without delays between. I'm suspecting there's some sort of "wait_until_sent" or "queue_outgoing_to_send_in_the_proper_order" command to avoid this, but I haven't found it yet. Probably the domain of a new thread though.
Thanks,
Louis