PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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