diff options
author | Joel Challis <git@zvecr.com> | 2021-11-24 07:38:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 18:38:49 +1100 |
commit | 282e916d86a5d353b7cbdfef3afad3c7b011eb14 (patch) | |
tree | d711831ca1accadede43c38bc1bcd91d73ad3dc9 /docs | |
parent | 80f91f7b9aa8987d4594a466d2348830b1c32dc2 (diff) | |
download | qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.tar.gz qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.zip |
Remove use of __flash due to LTO issues (#15268)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_led_matrix.md | 2 | ||||
-rw-r--r-- | docs/feature_rgb_matrix.md | 8 | ||||
-rw-r--r-- | docs/ja/feature_led_matrix.md | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/feature_led_matrix.md b/docs/feature_led_matrix.md index d96199a3c..dfd63503f 100644 --- a/docs/feature_led_matrix.md +++ b/docs/feature_led_matrix.md | |||
@@ -54,7 +54,7 @@ For split keyboards using `LED_MATRIX_SPLIT` with an LED driver, you can either | |||
54 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 54 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
55 | 55 | ||
56 | ```c | 56 | ```c |
57 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 57 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
58 | /* Refer to IS31 manual for these locations | 58 | /* Refer to IS31 manual for these locations |
59 | * driver | 59 | * driver |
60 | * | LED address | 60 | * | LED address |
diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index d3d740c1b..d07c02e18 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md | |||
@@ -55,7 +55,7 @@ For split keyboards using `RGB_MATRIX_SPLIT` with an LED driver, you can either | |||
55 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 55 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
56 | 56 | ||
57 | ```c | 57 | ```c |
58 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 58 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
59 | /* Refer to IS31 manual for these locations | 59 | /* Refer to IS31 manual for these locations |
60 | * driver | 60 | * driver |
61 | * | R location | 61 | * | R location |
@@ -140,7 +140,7 @@ Currently only 4 drivers are supported, but it would be trivial to support all 8 | |||
140 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 140 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
141 | 141 | ||
142 | ```c | 142 | ```c |
143 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 143 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
144 | /* Refer to IS31 manual for these locations | 144 | /* Refer to IS31 manual for these locations |
145 | * driver | 145 | * driver |
146 | * | R location | 146 | * | R location |
@@ -218,7 +218,7 @@ Currently only 2 drivers are supported, but it would be trivial to support all 4 | |||
218 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 218 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
219 | 219 | ||
220 | ```c | 220 | ```c |
221 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 221 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
222 | /* Refer to IS31 manual for these locations | 222 | /* Refer to IS31 manual for these locations |
223 | * driver | 223 | * driver |
224 | * | R location | 224 | * | R location |
@@ -319,7 +319,7 @@ Here is an example using 2 drivers. | |||
319 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 319 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
320 | 320 | ||
321 | ```c | 321 | ```c |
322 | const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL] = { | 322 | const aw_led PROGMEM g_aw_leds[DRIVER_LED_TOTAL] = { |
323 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 | 323 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 |
324 | * and 0xD7 inclusive. | 324 | * and 0xD7 inclusive. |
325 | * See drivers/awinic/aw20216.h for the mapping between register offsets and | 325 | * See drivers/awinic/aw20216.h for the mapping between register offsets and |
diff --git a/docs/ja/feature_led_matrix.md b/docs/ja/feature_led_matrix.md index 6511b2824..2b1979ec6 100644 --- a/docs/ja/feature_led_matrix.md +++ b/docs/ja/feature_led_matrix.md | |||
@@ -52,7 +52,7 @@ I2C IS31FL3731 RGB コントローラを使ったアドレス指定可能な LED | |||
52 | 52 | ||
53 | `<keyboard>.c` に全ての LED を列挙する配列を定義します: | 53 | `<keyboard>.c` に全ての LED を列挙する配列を定義します: |
54 | 54 | ||
55 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 55 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
56 | /* これらの位置については IS31 マニュアルを参照してください | 56 | /* これらの位置については IS31 マニュアルを参照してください |
57 | * driver | 57 | * driver |
58 | * | LED address | 58 | * | LED address |