C Code is C code. Some differences are more important than others. Interrupt behavior will affect your code at the high levels, and ever company has its own peripherals with their own strengths and weaknesses. The Cortex-M chips have a very powerful and user-friendly interrupt controller. Peripherals vary. I tend to tell people to use the chip that has the best programming environment.
In terms of porting, it should be quite doable. GPIO writes can only happen so many ways, and stuffing a byte into a spi peripheral will look about the same. Ideally this machine-specific stuff would be abstracted away a little anyway. These days, theres no point writing assembly for anything but very high-volume parts. -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To view this discussion on the web, visit https://groups.google.com/d/msg/neonixie-l/-/0pJ7aZy1Q_QJ. To post to this group, send an email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/neonixie-l?hl=en-GB.
