1@ECHO OFF
2
3ECHO INFO: Building %CD%...
4
5%AZRTOS_IAR_BUILD% tx.ewp -make Debug -log all -parallel %NUMBER_OF_PROCESSORS%
6IF %ERRORLEVEL% NEQ 0 (
7    ECHO ERROR: failed to build tx.ewp
8    EXIT /B 1
9)
10
11%AZRTOS_IAR_BUILD% sample_threadx.ewp -make Debug -log all -parallel %NUMBER_OF_PROCESSORS%
12IF %ERRORLEVEL% NEQ 0 (
13    ECHO ERROR: failed to build sample_threadx.ewp
14    EXIT /B 1
15)
16
17ECHO INFO: Build completed successfully!
18