aboutsummaryrefslogtreecommitdiffstats
path: root/msp430
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-01-27 22:02:13 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-01-27 22:02:13 -0500
commitf633ca9108a6bd90408930eeb367a33deeb6b91f (patch)
tree5bfc6224812903db26aba8716b58dab5431a888a /msp430
parent784f819f976042fbf683a452aa1e46dcff4a49a5 (diff)
configure stack and dict sizes
Diffstat (limited to 'msp430')
-rw-r--r--msp430/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/msp430/main.c b/msp430/main.c
index fd0489f..9d9cc83 100644
--- a/msp430/main.c
+++ b/msp430/main.c
@@ -2,6 +2,8 @@
#include "foci.h"
+static intptr_t dict[100];
+
int main()
{
WDTCTL = WDTPW | WDTHOLD;
@@ -18,7 +20,7 @@ int main()
UCA0MCTL = UCBRS0; // Modulation UCBRSx = 1
UCA0CTL1 &= ~UCSWRST;
- init();
+ init(dict);
foci_putchar('o');
foci_putchar('k');