Skip to content

Commit

Permalink
ports/nano-every: Add math funcs to nano-every port
Browse files Browse the repository at this point in the history
There's plenty of ROM on this board.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Sep 27, 2021
1 parent 18fd50c commit 89ce85a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ports/nano-every/Makefile
Expand Up @@ -26,13 +26,18 @@ SNEK_LOCAL_VPATH = $(SNEK_ATMEGA)
SNEK_LOCAL_SRC = \
snek-pow.c \
snek-nano-every.c \
snek-input.c \
$(SNEK_ATMEGA_MATH_SRC) \
$(SNEK_ATMEGA_SRC)

SNEK_LOCAL_INC = \
$(SNEK_ATMEGA_INC)
$(SNEK_ATMEGA_INC) \
$(SNEK_ATMEGA_MATH_INC)

SNEK_LOCAL_BUILTINS = \
$(SNEK_ATMEGA_BUILTINS) \
snek-input.builtin \
snek-math.builtin \
snek-nano-every.builtin

include $(SNEK_ROOT)/snek-install.defs
Expand Down
1 change: 1 addition & 0 deletions ports/nano-every/snek-nano-every.builtin
Expand Up @@ -34,5 +34,6 @@ A5, -2, 19
A6, -2, 20
A7, -2, 21
#include <snek-atmega.h>
#include <snek-atmega-math.h>
#define SNEK_POOL 3584
#define SNEK_MAX_TOKEN 63

0 comments on commit 89ce85a

Please sign in to comment.