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.

31 lines
870 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. 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. @REM ����
  14. mergehex --merge ^
  15. res/s140_nrf52_7.2.0_softdevice.hex ^
  16. app\_build\app.hex ^
  17. --output output/app_whole.hex
  18. @REM if %errorlevel% neq 0 (
  19. @REM echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  20. @REM echo E ����ʧ��
  21. @REM echo EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  22. @REM exit /b 1
  23. @REM )
  24. @REM ��¼
  25. @REM nrfjprog --eraseall -f NRF52 %ȫ����%
  26. @REM nrfjprog --program output/dynamic_electrocardiograph_ble_server.hex --verify -f NRF52 %��¼%