Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keil uvision exporter fails (uARM build target) #1686

Closed
toyowata opened this issue Apr 25, 2016 · 2 comments
Closed

Keil uvision exporter fails (uARM build target) #1686

toyowata opened this issue Apr 25, 2016 · 2 comments

Comments

@toyowata
Copy link
Contributor

toyowata commented Apr 25, 2016

The uvison exporter now fails for most of uARM toolchain platforms which worked find a month ago (or two weeks ago?).

  • LPC1768 - OK (ARM)
  • LPC11U24 - Link error (uvision target settingis microlib, but scatter file is non-microlib)
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __initial_sp (referred from entry2.o).
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __heap_base (referred from malloc.o).
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __heap_limit (referred from malloc.o).
  • KL25Z - OK (ARM)
  • LPC812-MAX - Link error (no mbed.ar and other .o files)
.\build\mbed_blinky.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
  • Seeed Arch - Link error (uvision target setting is microlib, but scatter file is non-microlib)
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __initial_sp (referred from entry2.o).
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __heap_base (referred from malloc.o).
.\build\mbed_blinky.axf: Error: L6218E: Undefined symbol __heap_limit (referred from malloc.o).
  • LPC1114FN28 - Link error (no mbed.ar and other .o files)
.\build\mbed_blinky.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.

This is reported here: https://developer.mbed.org/questions/68792/LPC1114FN28uVision/

@toyowata
Copy link
Contributor Author

toyowata commented Apr 25, 2016

How to reproduce:

  • Create a blinky program
  • Set uARM target (such as LPC1114FN28)
  • Export to uvision (Keil uVision4)
  • Build the project by Keil uvision4 ot uvision5

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 25, 2016

Thanks for reporting. I'll fix it within 2 days, seems like ulib template is at fault 

0xc0170 added a commit to 0xc0170/mbed-os that referenced this issue Apr 25, 2016
uvision uses default_toolchain, thus exporter needs to provide a method to
distinguish between ARM and uARM. Fixes ARMmbed#1686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants