Undefined external "__iar_HWMUL" 오류 메시지

기술노트 79022

아키텍처:

MSP430

컴포넌트:

linker

업데이트:

2018-02-28 오전 2:55

Introduction

Trying to build an established project using IAR Embedded Workbench for MSP430 version 6.20 (or later), linking fails with the message

Error[e46]: Undefined external "__iar_HWMUL" ...

Suggested solution

Use the default linker xcl-file for the installation you are using.

Background

The symbol __iar_HWMUL was introduced with IAR Embedded Workbench for MSP430 version 6.20.

Using lnk430f149.xcl as example, there are new lines as below:

// -----------------------------------------------
// Hardware multiplier location
//
-D__iar_HWMUL=130

Note

In general, there are good reason to use only matching versions (e.g., header files, xcl-files, libraries, tools from the same release).

 

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.