diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-11-11 09:21:21 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-11-11 09:21:21 -0500 |
commit | 957cf676ff1dbf5973b7ad04d843400a647fab14 (patch) | |
tree | 711ca81f12cd2ecf18b3d4bd61acaa4a0b1a4d6e /msp430/alee-msp430.cpp | |
parent | 494bd41b64a6cf9c1404a7716af40d2266771d1e (diff) |
msp430: more dict space; prepare for hal impl
Diffstat (limited to 'msp430/alee-msp430.cpp')
-rw-r--r-- | msp430/alee-msp430.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/msp430/alee-msp430.cpp b/msp430/alee-msp430.cpp index 06960b5..48a806e 100644 --- a/msp430/alee-msp430.cpp +++ b/msp430/alee-msp430.cpp @@ -27,10 +27,6 @@ static const #include "splitmemdictrw.hpp" -alignas(sizeof(Cell)) -__attribute__((section(".lodict"))) -#include "core.fth.h" - static char strbuf[80]; static void readchar(State& state); @@ -46,12 +42,13 @@ static void initUART(); static void Software_Trim(); #define MCLK_FREQ_MHZ (8) // MCLK = 8MHz -//__attribute__((section(".hidict"))) -//static uint8_t hidict[32767]; +#define ALEE_RODICTSIZE (7000) +__attribute__((section(".lodict"))) +#include "core.fth.h" static bool exitLpm; static Addr isr_list[24] = {}; -static SplitMemDictRW<sizeof(alee_dat), 32767> dict (alee_dat, 0x10000); +static SplitMemDictRW<ALEE_RODICTSIZE, 32767> dict (alee_dat, 0x10000); int main() { |