diff options
| author | Damien George | 2014-04-17 23:24:13 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-17 23:24:13 +0100 |
| commit | 5b65f0c7d386646229b6647332e7a09277872e4c (patch) | |
| tree | 06e46eaf0b82fe600109ccaeefa76f3512175922 /stmhal | |
| parent | 559d8239cac950cc011edd9605010a311b2b9be6 (diff) | |
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.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
