You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
980 B

set UV_PRO_PATH=dynamic_electrocardiograph_ble_server\ble_app_uart_c_pca10100_s122.uvprojx
set BUILD_RESULT=dynamic_electrocardiograph_ble_server\_build\dynamic_electrocardiograph_ble_server.hex
call scripter\keil_build.bat ^
%UV_PRO_PATH% ^
%BUILD_RESULT%
if not exist %BUILD_RESULT% (
echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
echo E 긍陋 %UV_PRO_PATH% 呵겨
echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
exit /b 1
)
@REM 댔관
mergehex --merge ^
res/s140_nrf52_7.2.0_softdevice.hex ^
%BUILD_RESULT% ^
--output output/dynamic_electrocardiograph_ble_server.hex
if %errorlevel% neq 0 (
echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
echo E 댔관呵겨
echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
exit /b 1
)
@REM �쩌
nrfjprog --eraseall -f NRF52 %홍꼰뇜%
nrfjprog --program output/dynamic_electrocardiograph_ble_server.hex --verify -f NRF52 %�쩌%