KW38/KW39 MCUXpresso About writing the version number in the fixed FLASH address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW38/KW39 MCUXpresso About writing the version number in the fixed FLASH address?

423 Views
wenhuafeng
Contributor II

Hi everyone,

I use the w_uart example program to make a fixed FLASH address to write the software version number, and the settings are as follows:

1.JPG

2.JPG

3.JPG

Add the following statement in wireless_uart.c:

const char SoftwareVersion[6] __attribute__ ((section(".text_Flash2"))) = {'1','.','0','.','1'};

But after compiling, Figure 3 SOFTWARE_VERSION used size is still =0, what is the problem?

 

TKS!!!

0 Kudos
0 Replies