Keyboard firmwares for Atmel AVR and Cortex-M
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.

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')]