Keil Logo

SWPACK: Examples in Maxim DFP for MAX32630 do not build


Information in this knowledgebase article applies to:

  • Maxim Device Familiy Pack for MAX32630 Version 0.0.1 (6th of March 2018)

SYMPTOM

When building an example from the Maxim Device Family Pack for the MAX32630 family, the following assembly error is reported in the Build Output window:

assembling startup_max3263x.s...
[command line](5): error: A1516E: Bad symbol 'MAX32630', not defined or external

CAUSE

There is a mistake in the Pack Description File Maxim.MAX32630.pdsc, which is part of this Device Family Pack. This mistake causes a wrong invocation of the armasm assembler.

RESOLUTION

After installing the Maxim MAX32630 Device Family Pack, the file Maxim.MAX32630.pdsc needs to be patched. Use this procedure:

  • Locate the file Maxim.MAX32630.pdsc. The default path should be:
    C:\Keil_v5\ARM\PACK\Maxim\MAX32630\0.0.1\Maxim.MAX32630.pdsc
  • Remove the Read-Only flag for this file. In the Windows explorer, right-click this file, select Properties, and remove the Read Only attribute.
  • Open this file in a text editor (for example µVision) and search for the word 'TARGET'. You should find it in line 83 and 93. Remove the string TARGET= from both lines:
    Before:
    .../Include/max3263x.h" define="TARGET=MAX32630"...
    
    After:
    .../Include/max3263x.h" define="MAX32630"...
    
  • Save the file Maxim.MAX32630.pdsc
  • Rebuild the project

STATUS

This mistake will be fixed in Device Family Packs later than version 0.0.1. Press the button Check for Updates in the Pack Installer to see if updates are available.

SEE ALSO

Last Reviewed: Tuesday, January 12, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.