Skip to content

Commit 3547ead

Browse files
committed
Move __bid128 functions off QSPI
Apparently, executing code from QSPI on battery power is not reliable on the DM42. The machine essentially hangs, and resumes execution when you plug the USB. This will seriously limit how much extra legroom we have for code on DB48X. This might make it more urgent than anticipated to re-code the floating point stuff more efficiently. Fixes #12 Signed-off-by: Christophe de Dinechin <[email protected]>
1 parent dbd9bd4 commit 3547ead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qspi_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
#define QSPI_DATA_SIZE 1679156
2+
#define QSPI_DATA_SIZE 1503812
33
#define QSPI_DATA_CRC 0x000cfed6
44

src/stm32_program.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ SECTIONS
6363
*(.rodata.bid_multipliers1_bid64)
6464
*(.rodata.bid_multipliers2_binary128)
6565
/* ===== Addition by c3d =================== */
66-
*(.text.__bid128*)
6766
*(.fonts)
67+
*(.rodata._Z*)
6868
/* ======================== */
6969
. = ALIGN(8);
7070
_qspi_end = .; /* define a global symbols at end of qspi */

0 commit comments

Comments
 (0)