Hi,
It's hard to say how many FLASH/RAM size you need for 5700 lines of code, because code and code are also different.
Under CW10.6 install there are many Kinetis demo code, you can refer a similar demo code to estimate your code size
D:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Kinetis_Examples
But I would suggest you:
1. choose the right kinetis direvative you will use, for example KL25.
2. test your 5700 lines of code with a chip, for example KL25Z128
3. KL25Z128 has 128k flash and 16k ram. check generated code size if there is any memory left unused.
4. then re-select the right chip part number based on project code size
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------