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.
Repozitorijs ir arhivēts. Tam var aplūkot failus un to var klonēt, bet nevar iesūtīt jaunas izmaiņas, kā arī atvērt jaunas problēmas/izmaiņu pieprasījumus.

support.py 950B

123456789101112131415161718192021222324252627
  1. """
  2. mbed SDK
  3. Copyright (c) 2011-2013 ARM Limited
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. """
  14. from workspace_tools.targets import TARGETS
  15. DEFAULT_SUPPORT = {}
  16. CORTEX_ARM_SUPPORT = {}
  17. for target in TARGETS:
  18. DEFAULT_SUPPORT[target.name] = target.supported_toolchains
  19. if target.core.startswith('Cortex'):
  20. CORTEX_ARM_SUPPORT[target.name] = [t for t in target.supported_toolchains
  21. if (t=='ARM' or t=='uARM')]