-
Notifications
You must be signed in to change notification settings - Fork 273
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
suggested fix #25
Comments
@uliano thank you. Apparently in this context, both ways achieve the same. Your suggestion is more precise, though. |
@cpq Hi Sergey, thanks for coming back. Yes I was meaning exactly that, it is a “fix” for something that’s already working :-D! But many more thanks for the effort you put in your tutorial, it provided me a "way out” from AVRs the only MCU I was able to program bare metal (and design hardware too). In a couple of days I ported your code (without the web server, for sure) to a blackpill F411 and I learned a lot! My next endeavor will be irq on serial monitor or maybe even exploiting the USB connector of the board |
@uliano awesome, that's great to hear. You might want to check out this: https://github.com/cesanta/mongoose/tree/master/examples/stm32/nucleo-f429zi-usb-rndis This is a bare metal firmware for F429. I think it'll work on 411. Just clone mongoose repo, It should make your F411 to look like an Ethernet connected device (ethernet-over-USB) It uses an awesome TInyUSB library, which is worth checking out |
the last line of clock_init
while ((RCC->CFGR & 12) == 0) spin(1); // Wait until done
should probably be:
while ((RCC->CFGR & 12) != 8) spin(1);
The text was updated successfully, but these errors were encountered: