µTasker Forum
µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: HowieM on June 28, 2016, 12:40:39 PM
-
Will the serial bootloader project support Kinetis K50DX256? If so, which hw choice should be selected in the bootloader config.h (K40 w/o ethernet?) and does anything else need to be modified?
-
Hi
I would do the following:
1. Make a new define for the HW, eg. K50DX256_BOARD and select that
2. Search the boot loader project for TWR_K53N512 (assumed to be closest) and at each location add
defined TWR_K53N512 || defined K50DX256_BOARD
3. This should now build and then you can modify each location (where needed) to
#elif defined TWR_K53N512
....
#elif defined K50DX256_BOARD
....
and copy the conditional content from TWR_K53N512 to the new one, and modify anything needed to suit the exact chip/board
4. Once all locations have been modified accordingly make sure that you select a suitable linker script (eg. K_256_64.ld)
From this point you can check whether it works as expected.
Good luck
Regards
Mark