Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
Hello
I upgraded to the lates IAR Compiler for 8051 released this Monday following information from indicating that they fixed a few issues I had with the toolchain.
The result is that Linking simply fails now - the target directory and temporary directroy are deleted entirely on each build so it should not be caused by llingering files from a previous build.
OSAL_Math.s51 .\trv\Components\osal\mcu\cc2530\OSAL_Math.s51(108) : Warning[410]: B is using fixed address 0xF0. Use external lab el ?B instead if B is using another address .\trv\Components\osal\mcu\cc2530\OSAL_Math.s51(185) : Warning[410]: B is using fixed address 0xF0. Use external lab el ?B instead if B is using another address ... Linking Error[e46]: Undefined external "?B" referred in bdb_Reporting ( .\trv\TRVRelease\Obj\bdb_Reporting.r51 ) Error[e46]: Undefined external "?IE" referred in ?ALLOC_XSTACK8 ( C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\8051\LIB\CL IB\cl-pli-blxd-1e16x01.r51 ) Error while running Linker Total number of errors: 2 Total number of warnings: 5 ERROR, Command failed: build
I also filed a report with IAR, so maybe they'll identify the fix. I did not investigate this.
Version:
IAR Command Line Build Utility V8.3.4.6127
Copyright 2002-2019 IAR Systems AB.
Creating backup of original project file.
Deleting outputs for configuration TRVRelease
Updating build tree...
0 file(s) deleted.
IAR Command Line Build Utility V8.3.4.6127
Copyright 2002-2019 IAR Systems AB.
# IAR C/C++ Compiler V10.40.1.7397 for 8051 23/Mar/2021 19:56:17
# Copyright 2004-2021 IAR Systems AB.
# PC-locked license - IAR Embedded Workbench for 8051 10.40