1@ECHO OFF 2 3ECHO INFO: Cleaning %CD%... 4 5%AZRTOS_IAR_BUILD% tx.ewp -clean Debug -log all 6IF %ERRORLEVEL% NEQ 0 ( 7 ECHO ERROR: clean failed. 8 EXIT /B 1 9) 10 11%AZRTOS_IAR_BUILD% sample_threadx.ewp -clean Debug -log all 12IF %ERRORLEVEL% NEQ 0 ( 13 ECHO ERROR: clean failed. 14 EXIT /B 1 15) 16 17%AZRTOS_IAR_BUILD% txm.ewp -clean Debug -log all 18IF %ERRORLEVEL% NEQ 0 ( 19 ECHO ERROR: clean failed. 20 EXIT /B 1 21) 22 23%AZRTOS_IAR_BUILD% sample_threadx_module.ewp -clean Debug -log all 24IF %ERRORLEVEL% NEQ 0 ( 25 ECHO ERROR: clean failed. 26 EXIT /B 1 27) 28 29%AZRTOS_IAR_BUILD% sample_threadx_module_manager.ewp -clean Debug -log all 30IF %ERRORLEVEL% NEQ 0 ( 31 ECHO ERROR: clean failed. 32 EXIT /B 1 33) 34 35RMDIR /Q /S Debug 36 37ECHO INFO: Clean completed successfully! 38