Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install avrdude in Arch or Manjaro Linux #6132

Merged
merged 1 commit into from
Jun 15, 2019
Merged

Conversation

unasuke
Copy link
Contributor

@unasuke unasuke commented Jun 15, 2019

avrdude is require package but not installed by script when arch linux.

Description

Here is steps to reproduce.

% pacman --remove avrdude
% ./util/qmk_install.sh

# ...snip...

% sudo make meishi:default:avrdude
QMK Firmware 0.6.400
WARNING:
 Some git sub-modules are out of date or modified, please consider running:
 make git-submodule
 You can ignore this warning if you are not compiling any ChibiOS keyboards,
 or if you have modified the ChibiOS libraries yourself.

Making meishi with keymap default and target avrdude

avr-gcc (GCC) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Size before:
   text    data     bss     dec     hex filename
      0   22116       0   22116    5664 .build/meishi_default.hex

Compiling: tmk_core/common/command.c                                                                [OK]
Linking: .build/meishi_default.elf                                                                  [OK]
Creating load file for flashing: .build/meishi_default.hex                                          [OK]
Copying meishi_default.hex to qmk_firmware folder                                                   [OK]
Checking file size of meishi_default.hex                                                            [OK]
 * The firmware size is fine - 22116/28672 (6556 bytes free)
Detecting USB port, reset your controller now.......
Device /dev/ttyACM0 has appeared; assuming it is the controller.
Waiting for /dev/ttyACM0 to become writable.
sh: avrdude: command not found
make[1]: *** [tmk_core/avr.mk:235: avrdude] Error 127
Make finished with errors
make: *** [Makefile:553: meishi:default:avrdude] Error 1

%

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

avrdude is require package but not installed by script when
arch linux.
@drashna
Copy link
Member

drashna commented Jun 15, 2019

While touching this script, is it possible to set the arm and avr gcc to 8?

@unasuke
Copy link
Contributor Author

unasuke commented Jun 15, 2019

is it possible to set the arm and avr gcc to 8?

How do I confirm it?
(I tried to write firmware to meishi keyboard, that succeeded)

@drashna
Copy link
Member

drashna commented Jun 15, 2019

never mind then. Can be addressed later.

@drashna
Copy link
Member

drashna commented Jun 15, 2019

Travis CI error is unrelated to this change.

Thanks!

@drashna drashna merged commit 5f69ca4 into qmk:master Jun 15, 2019
@unasuke unasuke deleted the arch_avrdude branch June 16, 2019 06:03
Timbus pushed a commit to Timbus/qmk_firmware that referenced this pull request Jun 23, 2019
avrdude is require package but not installed by script when
arch linux.
doughsay pushed a commit to doughsay/qmk_firmware that referenced this pull request Aug 31, 2019
avrdude is require package but not installed by script when
arch linux.
ridingqwerty pushed a commit to ridingqwerty/qmk_firmware that referenced this pull request Jan 10, 2020
avrdude is require package but not installed by script when
arch linux.
JeffreyPalmer pushed a commit to JeffreyPalmer/qmk_firmware that referenced this pull request Feb 27, 2020
avrdude is require package but not installed by script when
arch linux.
swamp09 pushed a commit to swamp09/qmk_firmware that referenced this pull request Mar 11, 2020
avrdude is require package but not installed by script when
arch linux.
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
avrdude is require package but not installed by script when
arch linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants