-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Build for 1 dimensional arrays fails #689
Comments
Can you tell a bit more about your platform? I've just compiled the 1D |
I am building Micropython with ulab for a custom stm32f405 board based on PyBoard (PYBV11) on macOS. Building micropython for a genuine Pyboard (checkout release 1.23) with ulab (checkout release 6.5.5) works with: Building with a custom ulab config.h file also works now with: I previously used CFLAGS_EXTRA="-DULAB_CONFIG_FILE=my_custom_config.h" as make argument, but placing DULAB_CONFIG_FILE outside the CFLAGS_EXTRA did the trick. Now building for my custom board failed because I had MICROPY_PY_BUILTINS_COMPLEX set to 0 in my mpconfigboard.h file to save space. It seems that ulab needs this to build. Even when I disable ULAB_SUPPORTS_COMPLEX. I have a working build now, but I would like to save space and get rid of the complex support... |
OK, this is useful information, I can try to get to the bottom of this. Thanks for bringing it up! |
Wait! If you unset |
Now using
Disabling MICROPY_PY_BUILTINS_COMPLEX in the mpconfigboard.h of micropython resolves this issue... (for the rest all other configs remain the same...) Hope this output helps a bit to pinpoint the underlying issue? |
Describe the bug
Error when building ulab for 1 dimension.
Configuration used
Output
The text was updated successfully, but these errors were encountered: