Linker Flash Config Support Enabled but no .FlashConfig section provided error after upgrading ide

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linker Flash Config Support Enabled but no .FlashConfig section provided error after upgrading ide

4,501件の閲覧回数
joshuadonaldson
Contributor II

Hi,

I've recently upgraded my mcuxpresso ide from v11.0 to v11.2 and now when I go to build my project I get the following error:

"Linker Flash Config Support Enabled, but no .FlashConfig section provided within application"

In addition to this I'm receiving the warning:

"warning: cannot find entry symbol ResetISR; defaulting to 00000000"

These weren't present with v11.0 of the ide.

I've attached a screenshot of my managed linker script configuration.

These are the exact same settings used in v11.0 and that work. Custom linker did not have issues either.

 

0 件の賞賛
返信
7 返答(返信)

4,493件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

Try to click the 'Manage linker script'.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

4,490件の閲覧回数
joshuadonaldson
Contributor II

Hi,

I need to use my custom linker that I know works.

Regardless, clicking manage linker script (enabling it) still returns the same error. This is not a solution.

Thanks.

0 件の賞賛
返信

4,481件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

Which MCU? If possible, show me your project.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

4,465件の閲覧回数
joshuadonaldson
Contributor II

Hi,

The problem was found in .cproject settings.

For some reason this block:

<sourceEntries>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="component"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="source"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="utilities"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="drivers"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="device"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="CMSIS_driver"/>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="board"/>
<entry excluding="freertos_kernel/portable/MemMang/heap_1.c|freertos_kernel/portable/MemMang/heap_2.c|freertos_kernel/portable/MemMang/heap_3.c|freertos_kernel/portable/MemMang/heap_5.c|freertos_kernel/portable/MemMang/heap_useNewlib.c" flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos"/>
</sourceEntries>

 

had been reduced to this:

<sourceEntries>
<entry flags="LOCAL|VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="source"/>
</sourceEntries>

 

 I added in the differences and the project appears to be compiling fine.

 

Is this an issue with the new version of mcuxpresso ide 11.2? Is it not possible to use a project that was using an earlier version of the ide and updte to the latest with ease?

0 件の賞賛
返信

4,463件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

Yeah, the latest version also has many unexpected problems. Apologize for the inconvenience. 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

4,473件の閲覧回数
joshuadonaldson
Contributor II

Attached an example project that exhibits the issue.

0 件の賞賛
返信

4,474件の閲覧回数
joshuadonaldson
Contributor II

Hi,

Try at first using mcuxpresso ide v11.2 and SDK v2.8.0 for kl27z256. I'll see if I can share the project.

0 件の賞賛
返信