mbed library sources
Dependents:
Encrypted
my_mbed
lklk
CyaSSL_DTLS_Cellular
... more
3 comments:
Thanks for reporting. CAn you please add this to the issues on github https://github.com/mbedmicro/mbed/issues ? Or if you find time, you can send a pull request with your fix, the one you presented above.
I can add it there to the issues and reference this report there.
Regards,
0xc0170
Did somebody notice if pin is Px8 / Px4, this, gpio->CRH &= ~ (0x08 << (((pin_index % 8) * 4)-1)), doesnt work ?
It is like this : 8 % 8 = 0 * 4 = 0 - 1 = -1 and 0x08 << -1 = 0x08, and no back shifting occurs. It is more simple and intuitive like this:
gpio->CRH &= ~ (0x04 << ((pin_index % 8) * 4));
Hi, Just wondering if this bug has been squashed in the recent mbed builds? I dont have a the Nucleo at the moment to try it out. thanks.
Thanks for reporting. CAn you please add this to the issues on github https://github.com/mbedmicro/mbed/issues ? Or if you find time, you can send a pull request with your fix, the one you presented above.
I can add it there to the issues and reference this report there.
Regards, 0xc0170