Browse Source

qmk doctor: fix the arm-none-eabi-gcc version check

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
pull/21228/head
dexter93 11 months ago
committed by GitHub
parent
commit
d36f1aa4d5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      lib/python/qmk/cli/doctor/check.py

+ 3
- 4
lib/python/qmk/cli/doctor/check.py View File

@ -45,10 +45,9 @@ def _check_arm_gcc_version():
cli.log.info('Found arm-none-eabi-gcc version %s', version_number)
parsed_version = _parse_gcc_version(version_number)
if parsed_version['minor'] < 3:
if parsed_version['major'] <= 10:
cli.log.warning('{fg_yellow}We do not recommend arm-none-eabi-gcc older than 10.3.x. Upgrading to 10.3.x or higher is recommended.')
return CheckStatus.WARNING
if (parsed_version['major'], parsed_version['minor']) < (10, 3):
cli.log.warning('{fg_yellow}We do not recommend arm-none-eabi-gcc older than 10.3.x. Upgrading to 10.3.x or higher is recommended.')
return CheckStatus.WARNING
return CheckStatus.OK # arm versions less than 10.3.x cause issues on sn32


Loading…
Cancel
Save