unix/variants/longlong: Use REPR_C on this variant.
There is currently no build using REPR_C in the unix CI tests. As discussed in PR #16953, this is something that combines well with the longlong build. Signed-off-by: Yoctopuce dev <dev@yoctopuce.com>
This commit is contained in:
parent
d6876e2273
commit
8b3439e26c
1 changed files with 9 additions and 0 deletions
|
|
@ -30,6 +30,15 @@
|
|||
|
||||
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG)
|
||||
|
||||
// We build it on top of REPR C, which uses memory-efficient floating point
|
||||
// objects encoded directly mp_obj_t (30 bits only).
|
||||
// Therefore this variant should be built using MICROPY_FORCE_32BIT=1
|
||||
|
||||
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C)
|
||||
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
|
||||
typedef int mp_int_t;
|
||||
typedef unsigned int mp_uint_t;
|
||||
|
||||
// Set base feature level.
|
||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue