aboutsummaryrefslogtreecommitdiff
path: root/docs/feature_rgb_matrix.md
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-07-31 14:35:30 +0100
committerGitHub <noreply@github.com>2021-07-31 14:35:30 +0100
commit70fb3e1aaf406cbbd5137916a93ed814d6891ef2 (patch)
tree822d9ec1df59c75f07f886fdf3f77002e8b2c926 /docs/feature_rgb_matrix.md
parent206a995ccd53b0843e72da606abebe06f39c9c28 (diff)
downloadqmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.tar.gz
qmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.zip
__flash? (#13799)
Diffstat (limited to 'docs/feature_rgb_matrix.md')
-rw-r--r--docs/feature_rgb_matrix.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md
index 18e38955e..670d7e09b 100644
--- a/docs/feature_rgb_matrix.md
+++ b/docs/feature_rgb_matrix.md
@@ -52,7 +52,7 @@ Here is an example using 2 drivers.
52Define these arrays listing all the LEDs in your `<keyboard>.c`: 52Define these arrays listing all the LEDs in your `<keyboard>.c`:
53 53
54```c 54```c
55const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { 55const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
56/* Refer to IS31 manual for these locations 56/* Refer to IS31 manual for these locations
57 * driver 57 * driver
58 * | R location 58 * | R location
@@ -122,7 +122,7 @@ Currently only 4 drivers are supported, but it would be trivial to support all 8
122Define these arrays listing all the LEDs in your `<keyboard>.c`: 122Define these arrays listing all the LEDs in your `<keyboard>.c`:
123 123
124```c 124```c
125const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { 125const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
126/* Refer to IS31 manual for these locations 126/* Refer to IS31 manual for these locations
127 * driver 127 * driver
128 * | R location 128 * | R location
@@ -186,7 +186,7 @@ Currently only 2 drivers are supported, but it would be trivial to support all 4
186Define these arrays listing all the LEDs in your `<keyboard>.c`: 186Define these arrays listing all the LEDs in your `<keyboard>.c`:
187 187
188```c 188```c
189const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { 189const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
190/* Refer to IS31 manual for these locations 190/* Refer to IS31 manual for these locations
191 * driver 191 * driver
192 * | R location 192 * | R location
@@ -287,7 +287,7 @@ Here is an example using 2 drivers.
287Define these arrays listing all the LEDs in your `<keyboard>.c`: 287Define these arrays listing all the LEDs in your `<keyboard>.c`:
288 288
289```c 289```c
290const aw_led g_aw_leds[DRIVER_LED_TOTAL] = { 290const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL] = {
291/* Each AW20216 channel is controlled by a register at some offset between 0x00 291/* Each AW20216 channel is controlled by a register at some offset between 0x00
292 * and 0xD7 inclusive. 292 * and 0xD7 inclusive.
293 * See drivers/awinic/aw20216.h for the mapping between register offsets and 293 * See drivers/awinic/aw20216.h for the mapping between register offsets and