I'm making a custom BSP for the MK10DN512VLL10, and running into problems with ethernet and USB from the K60. Namely, it's complaining about ethernet definitions that don't exist in the K10. I found another thread on here about the MK10, and the example showed using the BSP for the MK20 as a starting point. Which BSP do I start with then? The K60 or K20? The BSP porting guide calls out using the twrk60D100m as the starting BSP for this part.
Hello David,
In order to build a new BSP and PSP it is necessary:
3. Another important thing is select an existing BSP for the same pin version.
For example TWR-K60N512 144 pin version. MK60DZ10.h header file
c:\Freescale\Freescale_MQX_4_x\mqx\source\psp\cortex_m\cpu\MK60DZ10.h
covers also MK60DN256ZVLL10 device, in terms of memory map.
4.Mapping of functions to pins is specified in the BSP source file init_gpio.c:
c:\Freescale\Freescale_MQX_4_x\mqx\source\bsp\${CLONE_BSP_NAME}\init_gpio.c
5.Less flash memory size is to be modified in the linker command file. The location of the linker file is at
c:\Freescale\Freescale_MQX_4_0\mqx\source\bsp\<platform>\cw\*.lcf.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you, Sol. I had seen that same thread, but I was puzzled because it looked like they had started with the twrk20d72m bsp. I was able to make a k10 BSP for our board starting with the twrk60d100m bsp, and MQX is running. Thanks!