build_all.bat 702 B

123456789101112131415161718192021222324
  1. @ECHO OFF
  2. :: This script will use git (must be in %PATH%) and arm-none-eabi tools in combination with GNU Make
  3. :: to both fetch and compile all variants of micro-ecc for the nRF5 families
  4. WHERE >nul 2>nul git
  5. IF %ERRORLEVEL% NEQ 0 (
  6. ECHO "git is not installed. Please install and append to PATH."
  7. )
  8. IF NOT EXIST micro-ecc/uECC.c (
  9. ECHO "micro-ecc not found! Let's pull it from HEAD."
  10. git clone https://github.com/kmackay/micro-ecc.git
  11. )
  12. make -C nrf51_armgcc/armgcc
  13. make -C nrf51_iar/armgcc
  14. make -C nrf51_keil/armgcc
  15. make -C nrf52hf_armgcc/armgcc
  16. make -C nrf52hf_iar/armgcc
  17. make -C nrf52hf_keil/armgcc
  18. make -C nrf52nf_armgcc/armgcc
  19. make -C nrf52nf_iar/armgcc
  20. make -C nrf52nf_keil/armgcc