From 5b65f0c7d386646229b6647332e7a09277872e4c Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 17 Apr 2014 23:24:13 +0100 Subject: py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. On stmhal, computed gotos make the binary about 1k bigger, but makes it run faster, and we have the room, so why not. All tests pass on pyboard using computed gotos. --- stmhal/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stmhal') diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index d7045c42f..24ab20b16 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -11,6 +11,7 @@ #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_PATH_MAX (128) +#define MICROPY_USE_COMPUTED_GOTO (1) /* Enable FatFS LFNs 0: Disable LFN feature. 1: Enable LFN with static working buffer on the BSS. Always NOT reentrant. -- cgit v1.2.3