1@ECHO OFF
2
3ECHO INFO: Building %CD%...
4
5%AZRTOS_IAR_BUILD% tx.ewp -make Debug -log all
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
12IF %ERRORLEVEL% NEQ 0 (
13    ECHO ERROR: failed to build sample_threadx.ewp
14    EXIT /B 1
15)
16
17%AZRTOS_IAR_BUILD% txm.ewp -make Debug -log all
18IF %ERRORLEVEL% NEQ 0 (
19    ECHO ERROR: failed to build txm.ewp
20    EXIT /B 1
21)
22
23%AZRTOS_IAR_BUILD% sample_threadx_module.ewp -make Debug -log all
24IF %ERRORLEVEL% NEQ 0 (
25    ECHO ERROR: failed to build sample_threadx_module.ewp
26    EXIT /B 1
27)
28
29%AZRTOS_IAR_BUILD% sample_threadx_module_manager.ewp -make Debug -log all
30IF %ERRORLEVEL% NEQ 0 (
31    ECHO ERROR: failed to build sample_threadx_module_manager.ewp
32    EXIT /B 1
33)
34
35ECHO INFO: Build completed successfully!
36