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.

33 lines
944 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. md output
  2. del output\app_whole.hex
  3. del app\_build\app.hex
  4. call scripter\keil_build.bat ^
  5. app\app.uvprojx ^
  6. app\_build\app.hex
  7. if not exist app\_build\app.hex (
  8. echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  9. echo E ���� app\app.uvprojx ʧ��
  10. echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  11. exit /b 1
  12. )
  13. call scripter\keil_flash.bat app\app.uvprojx
  14. @REM ����
  15. @REM mergehex -f hex --merge ^
  16. @REM res/s140_nrf52_7.2.0_softdevice.hex ^
  17. @REM app\_build\app.hex ^
  18. @REM --output output/app_whole.hex
  19. @REM if %errorlevel% neq 0 (
  20. @REM echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  21. @REM echo E ����ʧ��
  22. @REM echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  23. @REM exit /b 1
  24. @REM )
  25. @REM ��¼
  26. @REM nrfjprog --eraseall -f NRF52 %ȫ����%
  27. @REM nrfjprog --program output/dynamic_electrocardiograph_ble_server.hex --verify -f NRF52 %��¼%