File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ PROCESS(pbdrv_display_ev3_init_process, "st7586s");
134134 *
135135 * Non-atomic updated by the application are allowed.
136136 */
137- static uint8_t pbdrv_display_user_frame [PBDRV_CONFIG_DISPLAY_NUM_ROWS ][PBDRV_CONFIG_DISPLAY_NUM_COLS ] __attribute__((section (".pbdrv_display_user_frame " ), used ));
137+ static uint8_t pbdrv_display_user_frame [PBDRV_CONFIG_DISPLAY_NUM_ROWS ][PBDRV_CONFIG_DISPLAY_NUM_COLS ] __attribute__((section (".noinit " ), used ));
138138
139139/**
140140 * Flag to indicate that the user frame has been updated and needs to be
@@ -164,7 +164,7 @@ static bool pbdrv_display_user_frame_update_requested = false;
164164 * Even in monochrome mode, you can only have 3 pixels per byte, so there is no
165165 * savings in using it. We might as well support gray scale.
166166 */
167- static uint8_t st7586s_send_buf [ST7586S_NUM_COL_TRIPLETS * ST7586S_NUM_ROWS ] __attribute__((section (".st7586s_send_buf " ), used ));
167+ static uint8_t st7586s_send_buf [ST7586S_NUM_COL_TRIPLETS * ST7586S_NUM_ROWS ] __attribute__((section (".noinit " ), used ));
168168
169169/**
170170 * Encode a triplet of pixels into a single byte in the format descrived above.
Original file line number Diff line number Diff line change @@ -45,14 +45,6 @@ SECTIONS
4545 _pru0_end = .;
4646 } >DDR
4747
48- .display_frames (NOLOAD) :
49- {
50- . = ALIGN (4 );
51- *(.pbdrv_display_user_frame )
52- . = ALIGN (4 );
53- *(.st7586s_send_buf )
54- } > DDR
55-
5648 /* Uninitialized (not zeroed at startup) data section */
5749
5850 .noinit (NOLOAD) :
You can’t perform that action at this time.
0 commit comments