aboutsummaryrefslogtreecommitdiff
path: root/docs/he-il/proton_c_conversion.md
diff options
context:
space:
mode:
authorGuy Khmelnitsky <guykhmel@gmail.com>2019-10-31 11:47:07 +0200
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-31 02:47:07 -0700
commit742e83e102f5d91087672ae3f91e433a74bd51dd (patch)
treee62c4477ef3018850dd59d246a0ed8e5ab4c600d /docs/he-il/proton_c_conversion.md
parent934fa5183e95ad98e2e744c48e524308e940f799 (diff)
downloadqmk_firmware-742e83e102f5d91087672ae3f91e433a74bd51dd.tar.gz
qmk_firmware-742e83e102f5d91087672ae3f91e433a74bd51dd.zip
[Docs] Add he-IL (Hebrew) Translation (#7001)
* Add he-IL (Hebrew) Translation * Add Hebrew to SUMMARY * Try RTL * Add RTL text * Lowercase folder names * Update lowercase folder in Summary * Adding getting_started_introduction.md * Add Proton C Conversion translation * Add Becoming a QMK Collaborator Translation * Add FAQ translation * Add Hardware translation * Documentation Best Practices translation * Add FAQ General translation * Align docs RTL * Add Becoming a QMK Collaborator Translation * Translate Getting Started - Getting Help * Translate Getting Started With Github * Code sections should be alligned to the left * Code sections should be alligned to the left * Code sections should be alligned to the left * Revert "Code sections should be alligned to the left" This reverts commit d0c46e90c4915ceebe7c5182aca2b75afad25df0. * Add Markdown aligned to the left * Update quantum_keycodes.md * Update proton_c_conversion.md * Translate Newbs Learn More Resourses
Diffstat (limited to 'docs/he-il/proton_c_conversion.md')
-rw-r--r--docs/he-il/proton_c_conversion.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/he-il/proton_c_conversion.md b/docs/he-il/proton_c_conversion.md
new file mode 100644
index 000000000..9642ca309
--- /dev/null
+++ b/docs/he-il/proton_c_conversion.md
@@ -0,0 +1,36 @@
1<div dir="rtl" markdown="1">
2# המרה של לוח להשתמש ב-Proton C
3
4אם לוח נתמך ב-QMK משתמש בלוח Pro Micro (או כל לוח נתמך) ואתם רוצים להשתמש ב-Proton C, ניתן לייצר את החומרה ע"י הוספה של הפקודה `CONVERT_TO_PROTON_C=yes` (או `CTPC=yes`) לפקודת make, כמו כאן:
5<div dir="ltr" markdown="1">
6
7```
8 make 40percentclub/mf68:default CTPC=yes
9```
10
11</div>
12ניתן להוסיף את אותו ארגומנט לקובץ `rules.mk` במיפוי המקשים שלכם, שתיצור את אותה התוצאה.
13
14הדבר חושף את דגל `CONVERT_TO_PROTON_C` שניתן להשתמש בו בקוד שלכם באמצעות פקודת `#ifdef`, כמו כאן:
15<div dir="ltr" markdown="1">
16
17```
18 #ifdef CONVERT_TO_PROTON_C
19 // Proton C code
20 #else
21 // Pro Micro code
22 #endif
23```
24
25</div>
26לפני שתצליחו לקמפל, יכול להיות שתקבלו שגיאות שונות לגבי `PORTB/DDRB`, וכו' שלא הוגדרו, אם כך, תצטרכו להמיר את קודי המקלדת להשתמש ב - [בקרי GPIO](internals_gpio_control.md) שיעבדו עבור ARM וגם AVR. הדבר לא אמור להשפיע על הבילדים של AVR בכלל.
27
28ל-Proton C יש רק מנורת LED אחת על הלוח (C13), וכברירת מחדל, TXLED (D5) ממופה אליו. אם תרצו במקום, למפות אליו את RXLED (B0), הוסיפו את השורה הבא לקובץ `config.h`:
29<div dir="ltr" markdown="1">
30
31```
32 #define CONVERT_TO_PROTON_C_RXLED
33```
34
35</div>
36</div>