mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 21:01:31 +00:00
qmk doctor: arm-none-eabi-gcc version check
This commit is contained in:
parent
19a070af9d
commit
bb62c4ec6e
@ -44,7 +44,13 @@ def _check_arm_gcc_version():
|
|||||||
version_number = ESSENTIAL_BINARIES['arm-none-eabi-gcc']['output'].strip()
|
version_number = ESSENTIAL_BINARIES['arm-none-eabi-gcc']['output'].strip()
|
||||||
cli.log.info('Found arm-none-eabi-gcc version %s', version_number)
|
cli.log.info('Found arm-none-eabi-gcc version %s', version_number)
|
||||||
|
|
||||||
return CheckStatus.OK # Right now all known arm versions are ok
|
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
|
||||||
|
|
||||||
|
return CheckStatus.OK # arm versions less than 10.3.x cause issues on sn32
|
||||||
|
|
||||||
|
|
||||||
def _check_avr_gcc_version():
|
def _check_avr_gcc_version():
|
||||||
|
Loading…
Reference in New Issue
Block a user