Msp432e401y in keil IDE freertos(any versions) implant

Hello, recently, I am trying to implant freertos into msp4322401y by using Keil IDE.
I checked the demos in freertos v9.00 for msp432p(not msp432e), in the driver library contains some files: cs.c/cs.h, pcm.c/h, timer32.c/h,rtc_c.c/h which do not exist in msp432e.

(number 1,2,3,4 in the png).
I think freertos also supports msp432e in keil ide. While I check TI msp_exp432401y demos for freertos, it has ccs, GCC, and air.

so my questions are:

  1. can I implant freertos to TI msp432e in IDE? Are there some tutorials for that? or do they only support CSS, GCC, and iar?
  2. if it supports, so I only follow like msp432p as a reference? but I think it won’t work cause the are some files that I mentioned above do not exist.
  3. or do some other versions support msp432e?
    info:
    mcu :msp_exp432e401y
    ide: Keil
    freertos: v9.0.0(can be other versions)

FreeRTOS will run on any Cortex-M4 that has enough RAM. That is because the kernel only uses the SysTick timer and NVIC - which are both built into the core itself and therefore the same on any device that has that core.

  1. can I implant freertos to TI msp432e in IDE? Are there some tutorials for that? or do they only support CSS, GCC, and iar?

You haven’t said which compiler you want to use. If it is the ARM compiler, then that is LLVM based, and you can use the FreeRTOS GCC port (which works with both LLVM and GCC).

  1. if it supports, so I only follow like msp432p as a reference? but I think it won’t work cause the are some files that I mentioned above do not exist.

As far as FreeRTOS is concerned, the two devices are the same. That is, as per my answer to question 1, FreeRTOS itself doesn’t use anything other than the NVIC and SysTick. If the devices have different peripherals then use the vendor supplied driver libraries.

  1. or do some other versions support msp432e?
    info:
    mcu :msp_exp432e401y
    ide: Keil
    freertos: v9.0.0(can be other versions)

Curious as to why you are using v9?

1 Like

thanks so much for your reply.

  1. i am using keil ide. I think it is not a llvm?
  2. now it works, but I need use the different library.
  3. I had one old version locally, so I just ported that one in, but I also tried the newest version, and it also works.

It depends on the compiler version. You can find that in Project -> Options --> Target --> Code Generation --> ARM Compiler. If it says version 6, you should be able to use GCC port.

Thanks. I found ARM compiler has multiple choices, like v6, v5, v6.16.
so I can change to v6 and use GCC port?

Yes.

[ignore these words, it just won’t let me post without at least 20 letters]

1 Like

thanks, I will also try GCC