|
38 | 38 | 'TERMINAL',
|
39 | 39 | 'GRAPHICS',
|
40 | 40 | 'CRYPTO','SHA256','SHA512',
|
| 41 | + 'AES_CCM', |
41 | 42 | 'LCD_MEMLCD',
|
42 |
| -# 'TENSORFLOW', |
| 43 | + 'TENSORFLOW', |
| 44 | + 'SWDCON', # RTT console over SWD |
43 | 45 | 'JIT' # JIT compiler enabled
|
44 | 46 | ],
|
45 | 47 | 'makefile' : [
|
| 48 | + 'DEFINES+=-DESPR_OFFICIAL_BOARD', # Don't display the donations nag screen |
46 | 49 | 'DEFINES += -DESPR_HWVERSION=2 -DBANGLEJS -DBANGLEJS_Q3',
|
47 | 50 | # 'DEFINES += -DCONFIG_GPIO_AS_PINRESET', # Allow the reset pin to work
|
48 | 51 | 'DEFINES += -DCONFIG_NFCT_PINS_AS_GPIOS', # Allow us to use NFC pins as GPIO
|
49 | 52 | #'DEFINES += -DESPR_REGOUT0_1_8V=1', # this increases power draw, so probably not correct!
|
50 | 53 | 'DEFINES += -DESPR_LSE_ENABLE', # Ensure low speed external osc enabled
|
51 | 54 | 'DEFINES += -DNRF_SDH_BLE_GATT_MAX_MTU_SIZE=131', # 23+x*27 rule as per https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes
|
| 55 | + 'DEFINES += -DNRF_SDH_BLE_GAP_EVENT_LENGTH=6', # Needed to allow coded phy connections |
52 | 56 | 'DEFINES += -DCENTRAL_LINK_COUNT=2 -DNRF_SDH_BLE_CENTRAL_LINK_COUNT=2', # allow two outgoing connections at once
|
53 |
| - 'LDFLAGS += -Xlinker --defsym=LD_APP_RAM_BASE=0x3660', # set RAM base to match MTU=131 + CENTRAL_LINK_COUNT=2 |
| 57 | + 'LDFLAGS += -Xlinker --defsym=LD_APP_RAM_BASE=0x3b70', # set RAM base to match MTU=131 + CENTRAL_LINK_COUNT=2 + GAP_EVENT_LENGTH=6 |
54 | 58 | 'DEFINES += -DESPR_DCDC_ENABLE=1', # Use DC/DC converter
|
55 | 59 | 'ESPR_BLUETOOTH_ANCS=1', # Enable ANCS (Apple notifications) support
|
56 | 60 | 'DEFINES += -DSPIFLASH_SLEEP_CMD', # SPI flash needs to be explicitly slept and woken up
|
|
67 | 71 | 'DEFINES+=-DNO_DUMP_HARDWARE_INITIALISATION', # don't dump hardware init - not used and saves 1k of flash
|
68 | 72 | 'INCLUDE += -I$(ROOT)/libs/banglejs -I$(ROOT)/libs/misc',
|
69 | 73 | 'WRAPPERSOURCES += libs/banglejs/jswrap_bangle.c',
|
| 74 | + 'WRAPPERSOURCES += libs/graphics/jswrap_font_14.c', |
| 75 | + 'WRAPPERSOURCES += libs/graphics/jswrap_font_17.c', |
| 76 | + 'WRAPPERSOURCES += libs/graphics/jswrap_font_22.c', |
| 77 | + 'WRAPPERSOURCES += libs/graphics/jswrap_font_28.c', |
70 | 78 | 'WRAPPERSOURCES += libs/graphics/jswrap_font_6x15.c',
|
71 | 79 | 'WRAPPERSOURCES += libs/graphics/jswrap_font_12x20.c',
|
72 | 80 | 'SOURCES += libs/misc/nmea.c',
|
|
0 commit comments