ergodox
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
ergodox [2019/04/10 18:17] – simon | ergodox [2020/10/19 12:49] – simon | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Ergodox ====== | ====== Ergodox ====== | ||
- | {{ : | + | {{tag> |
- | (D' | + | |
- | ===== Flasher le firmware | + | ===== Introduction |
- | J'ai tout d' | + | |
- | Pour mémoire: | + | Ça fait longtemps que j'ai le projet de me fabriquer et d' |
- | < | + | |
- | <code bash> | + | |
- | simon@deb: | + | |
- | </code> | + | |
- | < | + | |
- | <code bash> | + | |
- | Clonage dans ' | + | |
- | remote: Enumerating objects: 1, done. | + | |
- | remote: Counting objects: 100% (1/1), done. | + | |
- | remote: Total 17079 (delta 0), reused 0 (delta 0), pack-reused 17078 | + | |
- | Réception | + | |
- | Résolution des deltas: 100% (10038/ | + | |
- | </code> | + | |
- | </hidden> | + | |
- | <code bash> | + | |
- | simon@deb:~/Programmes$ cd tmk_keyboard/ | + | |
- | simon@deb:~/Programmes/tmk_keyboard/ | + | |
- | </code> | + | |
- | < | + | |
- | <code bash> | + | |
- | simon@deb:~/Programmes/ | + | |
- | -------- begin -------- | + | Après avoir rêvé de tout reprendre de A à Z, de fabriquer le boitier en fibre de carbone et redessiner la carte électronique, |
- | avr-gcc (GCC) 5.4.0 | + | |
- | Copyright (C) 2015 Free Software Foundation, Inc. | + | |
- | This is free software; see the source for copying conditions. | + | |
- | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | |
- | (...) | + | {{ : |
+ | (D' | ||
+ | ===== Programmer le clavier ===== | ||
- | Creating load file for Flash: ergodox_lufa.hex | + | ==== Installation de QMK ==== |
- | avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature ergodox_lufa.elf ergodox_lufa.hex | + | |
- | Creating load file for EEPROM: ergodox_lufa.eep | + | Après avoir testé le [[https://github.com/ |
- | avr-objcopy -j .eeprom --set-section-flags=.eeprom=" | + | <code bash> |
- | --change-section-lma .eeprom=0 --no-change-warnings -O ihex ergodox_lufa.elf ergodox_lufa.eep || exit 0 | + | $ python3 |
+ | </ | ||
- | Creating Extended Listing: ergodox_lufa.lss | + | J'ai copié [[https://github.com/ |
- | avr-objdump | + | <code bash> |
+ | $ sudo vim / | ||
+ | $ sudo udevadm control | ||
+ | $ sudo udevadm trigger | ||
+ | </code> | ||
- | Creating Symbol Table: ergodox_lufa.sym | + | J'ai fait la configuration comme indiqué |
- | avr-nm -n ergodox_lufa.elf > ergodox_lufa.sym | + | |
- | + | ||
- | Size after: | + | |
- | | + | |
- | 23404 | + | |
- | </ | + | |
- | </ | + | |
- | Vérification du MCU (voir [[https:// | + | |
<code bash> | <code bash> | ||
- | simon@deb: | + | $ qmk setup |
- | # MCU name, you MUST set this to match the board you are using | + | |
- | MCU = atmega32u4 | + | |
- | #MCU = at90usb1286 | + | |
</ | </ | ||
+ | Il installe toutes les dépendances, | ||
- | {{ :: | + | ==== Créer une " |
- | {{ :: | + | |
- | {{ :: | + | |
- | </ | + | |
- | + | ||
- | Ensuite, j'ai essayé avec le firmware [[https:// | + | |
+ | J'ai créé une nouvelle keymap dans le dossier de l' | ||
<code bash> | <code bash> | ||
- | simon@deb: | + | $ qmk new-keymap -kb ergodox_ez |
+ | Keymap Name: my-ergodox | ||
+ | Ψ my-ergodox keymap directory created in: /home/simon/ | ||
+ | Ψ Compile a firmware with your new keymap by typing: | ||
- | simon@deb: | + | qmk compile -kb ergodox_ez -km my-ergodox |
+ | </code> | ||
- | simon@deb:~/ | + | On peut modifier cette keymap |
- | autocomplete.sh | + | <code bash> |
- | book.json | + | $ vim ~/ |
- | bootloader.mk | + | |
- | build_full_test.mk | + | |
- | build_keyboard.mk | + | |
- | build_layout.mk | + | |
- | build_test.mk | + | |
- | CODE_OF_CONDUCT.md | + | |
- | common_features.mk | + | |
- | + | ||
- | simon@deb: | + | |
- | total 980 | + | |
- | (...) | + | |
- | drwxr-xr-x | + | |
- | drwxr-xr-x | + | |
- | drwxr-xr-x | + | |
- | (...) | + | |
- | + | ||
- | simon@deb:~/git/ | + | |
- | total 84 | + | |
- | drwxr-xr-x | + | |
- | drwxr-xr-x 243 simon simon 4096 avr 10 19:49 .. | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | drwxr-xr-x | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | -rw-r--r-- | + | |
- | drwxr-xr-x | + | |
- | + | ||
- | simon@deb: | + | |
- | total 96 | + | |
- | (...) | + | |
- | drwxr-xr-x 2 simon simon 4096 avr 10 19:49 bdk | + | |
- | drwxr-xr-x | + | |
- | drwxr-xr-x | + | |
- | (...) | + | |
- | + | ||
- | simon@deb:~/git/ | + | |
- | + | ||
- | simon@deb: | + | |
- | QMK Firmware 0.6.328 | + | |
- | Making ergodox_ez with keymap | + | |
- | + | ||
- | avr-gcc (GCC) 5.4.0 | + | |
- | Copyright (C) 2015 Free Software Foundation, Inc. | + | |
- | This is free software; see the source for copying conditions. | + | |
- | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | |
- | + | ||
- | Size before: | + | |
- | | + | |
- | 0 30658 | + | |
- | + | ||
- | Compiling: tmk_core/ | + | |
- | Linking: .build/ | + | |
- | Creating load file for flashing: .build/ | + | |
- | Copying ergodox_ez_bepo_tm_style.hex to qmk_firmware folder | + | |
- | Checking file size of ergodox_ez_bepo_tm_style.hex | + | |
- | * The firmware size is fine - 30658/32256 (1598 bytes free) | + | |
</ | </ | ||
- | Le firmware ( ergodox_ez_bepo_tm_style.hex ) est dans le dossier courant. On peut l' | + | Ensuite, on peut la compiler |
<code bash> | <code bash> | ||
- | simon@deb: | + | $ qmk compile |
- | Teensy Loader, Command Line, Version 2.1 | + | |
- | Read " | + | |
- | Waiting for Teensy device... | + | |
- | | + | |
- | Found HalfKay Bootloader | + | |
- | Read " | + | |
- | Programming................................................................................................................................................................................................................................................ | + | |
- | Booting | + | |
</ | </ | ||
- | Maintenant qu'on a compris | + | ==== Envoyer |
- | ===== Configurer le layout ===== | + | Enfin, on peut l'envoyer sur le clavier avec [[informatique: |
- | On commence par faire une copie du layout bepo pour l'ergodox_ez | + | |
<code bash> | <code bash> | ||
- | simon@deb:~/git/ | + | $ teensy_loader_cli --mcu=atmega32u4 -v -w ~/ |
+ | </code> | ||
- | simon@deb:~/git/qmk_firmware$ ls -al keyboards/ | + | **__État des lieux le 18/10/2020 :__** Toutes les touches fonctionnes mais je n'ai pas encore modifié la keymap créée par défaut... Il faut que j' |
- | total 32 | + | |
- | drwxr-xr-x | + | |
- | drwxr-xr-x 25 simon simon 4096 avr 10 20:10 .. | + | |
- | -rwxr-xr-x | + | |
- | -rwxr-xr-x | + | |
- | -rwxr-xr-x | + | |
- | -rwxr-xr-x | + | |
+ | **__État des lieux le 19/10/2020 :__** J' | ||
ergodox.txt · Dernière modification : 2021/02/08 21:31 de simon