-
Notifications
You must be signed in to change notification settings - Fork 1.3k
STM32: Cpython compatibility flag 2 #2457
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
Conversation
still no joy
for comparison -- on grand_central
|
This will require further investigation then. I was hoping the build order would put the board settings and overrides last. I'll need to dig deeper on how things are ordered. Can you provide a zip of this |
yes but you don't need it to test -- just do the dir(string) to see if encode is there. |
In that case, I'll just need a full list of whatever other includes I need to replicate your result. |
none - do a clean boot
if encode is in the list -- it is fixed the code needs an airlift and several libraries -- do you want it? |
Ah, sorry! I'm actually quite bad at python. All C over here :) |
Shouldn't need anything else. I'll ping you once I've got the attribute back in there and we'll do another full hardware test. |
no problem! it's a simple check -- also if you have another board - any express board with full build -- you can do the same thing to compare the output -- that was what I meant by showing the grandcentral result. |
it worked ok when I changed it in py/circuitpy_mpconfig.h
|
Right, the trick is that's overriding the port level define, rather than the other way around. So I'll need to add some logic there to get around that. |
Sorry for the delay, slipped my todo list today. Just needed to swap over to a CFLAG and add the redefine logic to the .h file. Works for me now (raw test with string dir, I don't have MiniMQTT set up). This whole section still needs a conceptual revamp, but we'll follow up on that in #2458. Give this a spin and hopefully we can get it in stat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested on feather_stm32f405_express with minimqtt_adafruit_io_wifi demo -- works normally !!
also verified that .encode is available for strings....
Looks good
@dhalbert just wanted to quickly check with you whether this mpconfig.h change is ok |
Is this awaiting further review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Sorry for the delay.
A continuation of #2439, which got merged prematurely. Please do not merge until @jerryneedell has had a chance to review. Should resolve #2433 when finished.