Skip to content

Commit 8b71dd1

Browse files
committed
Enable full printf support (with floats) as we use float printing in e.g. the supply voltage example
1 parent d1ca087 commit 8b71dd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/compile_examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BOARD_CONFIG="DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2"
3+
BOARD_CONFIG="DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2,printf=full"
44

55
# Test for AVR-IoT Cellular Mini
66
for d in examples/*/ ; do

scripts/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
44
TARGET=$SCRIPTPATH/../examples/sandbox/sandbox.ino
5-
BOARD_CONFIG="DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2"
5+
BOARD_CONFIG="DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2,printf=full"
66

77
if [ -d "$SCRIPTPATH/../build" ]; then
88
rm -r "$SCRIPTPATH/../build"

0 commit comments

Comments
 (0)