Other Parts Discussed in Thread: CC2538, Z-STACK
I have downloaded TI ZigBee Mesh and Home applications and I am trying to build the GenericApp for them with IAR ARM 6.5. I have not touched anything that I have downloaded from ZigBee Mesh or Home.
When I try to Rebuild All in IAR ARM, it gives several error lines that it can not find device include files. Below is a copy. I have chosen the right device in Project Option. Also the library file loations are not changed at all. I assume there should be a way to tell IAR where to find device include files. There is an option on C/C++> Preprocessor where you can tell line by line where to look for but that is not practical as there are many directory locations and it does not have an option to search all the sub-directories.
How can I tell IAR ARM device library path?(not all one by one)
Thank you in advance.
Error:
Building configuration: Boot - Image Boot Manager
Updating build tree...
4 file(s) deleted.
Updating build tree...
boot_main.c
Fatal Error[Pe1696]: cannot open source file "hw_nvic.h" C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\target\CC2538\hal_mcu.h 48
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\target\CC2538\"
searched: "C:\Texas Instruments\Z-Stack Home 1.2.1\Projects\zstack\OTA\Boot\CC2538\Source\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\include\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\c\"
Error while running C/C++ Compiler
hal_sys_ctrl.c
Fatal Error[Pe1696]: cannot open source file "hw_sys_ctrl.h" C:\Texas Instruments\Z-Stack Home 1.2.1\Components\hal\target\CC2538\hal_sys_ctrl.c 44
searched: "C:\Texas Instruments\Z-Stack Home 1.2.1\Components\hal\target\CC2538\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\include\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\target\CC2538\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\c\"
Error while running C/C++ Compiler
startup_ewarm.c
Fatal Error[Pe1696]: cannot open source file "hw_nvic.h" C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\target\CC2538\hal_mcu.h 48
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\target\CC2538\"
searched: "C:\Texas Instruments\Z-Stack Home 1.2.1\Projects\zstack\OTA\Boot\CC2538\Source\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\"
searched: "C:\Users\Arash\Documents\pulseiq\firmware\cc253x\Texas Instruments\Z-Stack Home 1.2.0\Components\hal\include\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\c\"
Error while running C/C++ Compiler
Total number of errors: 3
Total number of warnings: 0
