[upstream] Update

This commit is contained in:
Quentin Guidée
2020-11-27 13:23:07 +01:00
14 changed files with 87 additions and 41 deletions

View File

@@ -105,6 +105,9 @@
// Whether to include: randrange, randint, choice, random, uniform
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
// Whether to support rounding of integers (incl bignum); eg round(123,-1)=120
#define MICROPY_PY_BUILTINS_ROUND_INT (1)
// Function to seed URANDOM with on init
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC micropython_port_random()