Teensy development platform for PlatformIO compatible with GCC10 & C++20
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3 роки тому
12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright 2014-present PlatformIO <contact@platformio.org>
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. """
  15. mbed
  16. The mbed framework The mbed SDK has been designed to provide enough
  17. hardware abstraction to be intuitive and concise, yet powerful enough to
  18. build complex projects. It is built on the low-level ARM CMSIS APIs,
  19. allowing you to code down to the metal if needed. In addition to RTOS,
  20. USB and Networking libraries, a cookbook of hundreds of reusable
  21. peripheral and module libraries have been built on top of the SDK by
  22. the mbed Developer Community.
  23. http://mbed.org/
  24. """
  25. from os.path import join
  26. from SCons.Script import Import, SConscript
  27. Import("env")
  28. # https://github.com/platformio/builder-framework-mbed.git
  29. SConscript(
  30. join(env.PioPlatform().get_package_dir("framework-mbed"), "platformio",
  31. "platformio-build.py"))