You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Peter K. Cawley 3bef186ea6 adjust install_avr function to use unzip for broader compatibility (#4596)
On a laptop with god knows what mandatory security software (Cylance?), running up-to-date Windows 10 with msys2 mingw-64, attempting to install the AVR toolkit results in the following error:

```
1 [main] 7z (13316) C:\msys32\usr\lib\p7zip\7z.exe: *** fatal error - cygheap base mismatch detected - 0x612A5410/0x2375410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
```

This appears to be related in some way, based on my research, to ASLR functionality in security software. Since I'm unable to override whatever is enforcing ASLR on my system, after trying several other approaches (removing other copies of msys-2.0.dll, which is what this is apparently actually referencing, rebasing that file in Windows to address 0x61000000, a few other things) I simply edited the installation shell script to use `unzip` instead of 7zip; `unzip`'s binary does not provoke a mismatch error and the installation proceeds as it should.

I'm not aware of the reason why some parts of the install script use `unzip` (e.g. `install_arm`) and others use 7zip, but it seems that for broader compatibility and sparing users on locked down machines the 120 minutes or so of futzing this took me to fix, it might be better to just use `unzip` in all cases.

Note: There is another function that uses 7zip, `extract_flip`. The line is `7z -oflip x FlipInstaller.exe`. I'm not sure what this is doing, or whether it's possible to do it with `unzip`, but it produces the same error. I haven't attempted to fix that in this PR, but it might be good to fix it for the same reason.
7 years ago
.github Add support for PR and Issue templates to QMK_firmware GitHub (#4494) 7 years ago
.vscode Xton's first keymap! (#2941) 8 years ago
docs docs typo (#4584) 7 years ago
drivers adding Hadron v3 keyboard, QWIIC devices support, haptic feedback support (#4462) 7 years ago
keyboards Fix the LFKeyboards so they work with the QMK Configurator (#4591) 7 years ago
layouts Keyboard: Add dz60 tsangan hhkb (#4529) 7 years ago
lib Revert changes to chibiOS-contrib (#4176) 7 years ago
quantum Keymap: Hacker Dvorak (#4514) 7 years ago
tests add tests for action_layer.c and reset layer state after tests 8 years ago
tmk_core Bringing Massdrop keyboard hardware configuration to keyboard level (#4593) 7 years ago
users Keymap: Keymap update (#4579) 7 years ago
util adjust install_avr function to use unzip for broader compatibility (#4596) 7 years ago
.clang_complete Vim Layout for Ergodox-EZ (mac only) (#2112) 8 years ago
.editorconfig Fix .editorconfig to not mess with line endings 8 years ago
.gitattributes
.gitignore Ajp10304 (#2719) 8 years ago
.gitmodules Update .gitmodules 8 years ago
.travis.yml Generate API docs from source code comments (#2491) 8 years ago
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 7 years ago
Dockerfile Add a better Docker build script + update Dockerfile (#4222) 7 years ago
Doxyfile Generate API docs from source code comments (#2491) 8 years ago
LICENSE add an explicit lisence file for github to pickup 8 years ago
Makefile improve looks like hang up when first time execute make git-submodule (#3846) 7 years ago
Vagrantfile Update the installation script PR (#4167) 7 years ago
autocomplete.sh Make arguments redo, subproject elimination (#1784) 8 years ago
book.json adds redirects for docs 8 years ago
bootloader.mk Add Teensy ++ 2.0 bootloader support 8 years ago
build_full_test.mk Add SRC and OPT_DEFS when building tests 9 years ago
build_keyboard.mk Fix LAYOUT define generation (#4148) 7 years ago
build_layout.mk Creates a layouts/ folder for keymaps shared between keyboards (#1609) 8 years ago
build_test.mk Split common.mk into common.mk and common_features.mk 9 years ago
common.mk Lets split eh (#3120) 8 years ago
common_features.mk adding Hadron v3 keyboard, QWIIC devices support, haptic feedback support (#4462) 7 years ago
doxygen-todo Generate API docs from source code comments (#2491) 8 years ago
license_GPLv2.md
license_GPLv3.md
license_Modified_BSD.md
message.mk Treat too-large firmwares as an error, not a warning (#3956) 7 years ago
readme.md Add Atreus as an official board. 7 years ago
secrets.tar.enc update building for .hex, secrets moving 8 years ago
shell.nix Pin avr-gcc in shell.nix pending release of 8.3.0 (#3922) 7 years ago
testlist.mk Add basic infrastrucure for building full tests 9 years ago

readme.md

Quantum Mechanical Keyboard Firmware

Current Version Build Status Discord Docs Status GitHub contributors GitHub forks

This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.

Documentation

The docs are hosted on Gitbook and GitHub (they are synced). You can request changes by making a fork and pull request, or by clicking the "suggest an edit" link on any page of the docs.

Supported Keyboards

The project also includes community support for lots of other keyboards.

Maintainers

QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by Erez Zukerman, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.

Official website

http://qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.