PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
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.

14 line
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