Teensy development platform for PlatformIO compatible with GCC10 & 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.

3 年之前
1234567891011121314151617181920212223242526272829303132333435363738
  1. .. Copyright 2014-present PlatformIO <contact@platformio.org>
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.
  11. How to build PlatformIO based project
  12. =====================================
  13. 1. `Install PlatformIO Core <http://docs.platformio.org/page/core.html>`_
  14. 2. Download `development platform with examples <https://github.com/platformio/platform-teensy/archive/develop.zip>`_
  15. 3. Extract ZIP archive
  16. 4. Run these commands:
  17. .. code-block:: bash
  18. # Change directory to example
  19. > cd platform-teensy/examples/arduino-blink
  20. # Build project
  21. > platformio run
  22. # Upload firmware
  23. > platformio run --target upload
  24. # Build specific environment
  25. > platformio run -e teensy31
  26. # Upload firmware for the specific environment
  27. > platformio run -e teensy31 --target upload
  28. # Clean build files
  29. > platformio run --target clean