PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
450B

  1. #!/bin/bash
  2. #
  3. # simBuild
  4. # build a RadioHead example sketch for running as a simulated process
  5. # on Linux.
  6. #
  7. # usage: simBuild sketchname.pde
  8. # The executable will be saved in the current directory
  9. INPUT=$1
  10. OUTPUT=$(basename $INPUT ".pde")
  11. g++ -g -I . -I RHutil -x c++ $INPUT tools/simMain.cpp RHGenericDriver.cpp RHMesh.cpp RHRouter.cpp RHReliableDatagram.cpp RHDatagram.cpp RH_TCP.cpp RH_Serial.cpp RHCRC.cpp RHutil/HardwareSerial.cpp -o $OUTPUT