4 days, 8 hours ago.

What is the correct target name for the FRDM-K22F?

I am attempting to build a basic bootloader for a project running on a FRDM-K22F board. To do this I need to put a "target_overrides" line in the mbed_app.json file, but I cannot figure out the correct name of the target.

I previously did the same on a K64F board ,and the code that I used was,

"target_overrides": { "K64F": { "target.restrict_size": "0x10000" } }

This worked fine. But when I chance the target to "K22F" or "MCU_K22F512" I get an error message saying

"error: 'POST_APPLICATION_ADDR' was not declared in this scope"

My understanding is that "POST_APPLICATION_ADDR" is automatically defined when I use "target.restrict_size" in this way, which leads me to believe that the problem here is that the target name I am using for the K22f is wrong. Can anyone tell me what it should be?


Comment on this question

3 Answers

4 days, 7 hours ago.

Hi, From the MBED lib its TARGET_K22F.


3 days, 21 hours ago.


The target name for the FRDM-K22F is K22F - you can see the target name on the webpage for each target located here for the K22F

The restrict_size macro is used to define the size of a bootloader as you mentioned above. Full documentation is available on the bootloader tutorial on our website.

Unfortunately, the K22F does not support bootloaders at this time. targets.json identifies if boards have bootloader support or not. Currently, we are only release the K64F, Odin, and F429ZI targets for bootloader support

3 days, 12 hours ago.

How to Open the Control Panel in Windows 10 Information In Windows 10, there are a few different ways to find and change your settings click on this link

To post an answer, please log in.