#28 Support of open-hardware mchck.org (K20 and K22)

Next Release
pending
None
5
2014-07-07
2014-01-28
Mateusz Kaduk
No

Hi,

It is a feature request, please add K20 and K22 kinetis family from Freescale chips. There are already linker scripts and there is open-source projct at https://github.com/mchck

It would be a great feature to have alternative but still open-source toolchain with IDE.

Discussion

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • support for K20 and K60 is planned for a future version.

    until then, please take a look at the KLxx templates and let me know your suggestions.

     
  • Mateusz Kaduk
    Mateusz Kaduk
    2014-02-23

    I am not sure how to test KLxx templates, but I dont see SPI and FTM (Flex Timer Module).
    Good to see that OpenOCD is supported.
    Would it also be possible to include CMSIS-DSP library ? For use of math functions and matrices ?

     
  • If you believe that some device drivers are missing, please point me to a Freescale public archive where the drivers are located, and I'll add them.

    If you do not find them, probably a good idea would be to ask Freescale to provide them.

    CMSIS-DSP is quite large to be included in (future) Kxx templates, there are too many files and the build does not pass on Windows.

    I'll try to find a solution, but I'm not sure there is a simple one.

     
  • Mateusz Kaduk
    Mateusz Kaduk
    2014-02-23

    I am not aware of any Freescale drivers, but probably that can be implemented by the user, or added later.
    I think having a possibility to include CMSIS-DSP would be very useful. I am not sure what do you mean by building bare-metal on Windows, is the toolchain outdated ? I am using Debian's internal toolchain arm-none-eabi-gcc (4.8.2-16+7) 4.8.2, but obviously you can chose in Eclipse any toolchain you want. At least I can recommend that one works for me. What toolchain do you use?

     
    Last edit: Mateusz Kaduk 2014-02-23
  • first you said :

    but I dont see SPI and FTM (Flex Timer Module).

    then:

    I am not aware of any Freescale drivers, but probably that can be implemented by the user, or added later.

    I'm not sure what is your suggestion / feature request.

    I think having a possibility to include CMSIS-DSP would be very useful.

    yes

    I am not sure what do you mean by building bare-metal on Windows, is the toolchain outdated ?

    windows has a 8K limit for command lines. cmsis-dsp has so many files, that when make invokes the ar to build the archive, this limit is exceeded and the build fails.

    as I said, I'll search for alternate solutions, but currently there is no K20/K60 template, only KLxx, a smaller family which does not have hard float support.

    up to now, I retained your suggestion to add a K20/K60 template.

    if you have other suggestions, please register separate tickets and phrase your request as clearly as possible so that I can understand it.

     
    • summary: Support of open-hardware mchck.org --> Support of open-hardware mchck.org (K20 and K22)
     
    • status: open-accepted --> pending