8000 When compiling and porting stm32H750 to micro python, an error is reported · Issue #11629 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
When compiling and porting stm32H750 to micro python, an error is reported #11629
Closed
@klora-sun

Description

@klora-sun

make BOARD=REG_H750
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC system_stm32.c
In file included from ../../py/obj.h:32,
from ./pin.h:33,
from ./mphalport.h:3,
from ../../py/mphal.h:35,
from system_stm32.c:78:
../../py/obj.h: In function 'mp_obj_is_float':
../../py/misc.h:54:50: error: size of unnamed array is negative
54 | #define MP_STATIC_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)]))
| ^
../../py/obj.h:197:5: note: in expansion of macro 'MP_STATIC_ASSERT'
197 | MP_STATIC_ASSERT(sizeof(mp_float_t) <= sizeof(mp_obj_t));
| ^~~~~~~~~~~~~~~~
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [../../py/mkrules.mk:83:build-REG_H750/system_stm32.o] 错误 1

When compiling and porting stm32H750 to micro python, an error is reported,Please tell me what is wrong and how it should be changed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0