fork download
  1. #!/bin/bash
  2. #-----------------------------------------------------------
  3. #
  4. #-----------------------------------------------------------
  5.  
  6. if [ "x${1}" != "x" ]; then
  7. AVR_MCU="${1}"
  8. else
  9. read -p'Enter AVR gcc -mmcu value: ' AVR_MCU
  10. fi
  11.  
  12. avr-cpp -dM -mmcu="${AVR_MCU}" <<< '#include <avr/io.h>' \
  13. | grep '_vect\>' \
  14. | sort
  15.  
  16. # vim:ts=4:sw=4:ai:et:ft=sh:nowrap:
  17.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty