-
Notifications
You must be signed in to change notification settings - Fork 979
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
CAN, I2C, Serial, PWM - should I start project with Arduino? #683
Comments
Hi @SuperBoss9 One blocker for you could be
Currently, this is not supported (See #259 ). anyway it could be implemented on your side using HAL/LL. |
As you plan to use F103RB, one other possibility for you could be to use this core which I think support CAN: It is also available thanks PIO: |
Is there any walkthrough how to implement this to read? For example:
? |
yes, something like that and also think to define |
@SuperBoss9, the use of Arduino String, though convenient, can cause heap fragmentation due to its use of dynamic memory allocation. This, in turn, can lead to system instability or even crashing as the heap becomes unusable. I would strongly recommend becoming proficient in C-string manipulation instead. |
Thank you everyone for the support for moving back to Arduino at STM32 |
Hello EveryOne!
Due to absence of the official forum according to STM32Duino I have to ask here.
I'm going to start a project at STM32F103RB chip (and use for tests Nucleo STM32F103RB board) that will use broadly the following things:
It will be good to use RTOS because it can help in development. But ordinary scheduler and interrupts can be also used.
The question is - should I start my development using STM32Duino or try again for MBED?
PS. I spent almost two month trying to select the best framework for this development. I have experience in Arduino (AVR, ESP8266). But decided to try MBED. After 2 months with MBED I can say that I'm ready to return back to Arduino (PlatformIO + STM32Duino) because:
a. Absence of normal String class in MBED => Constant hassle with char[], c_str, string etc.
b. Any action requires a lot of efforts + strange behaviour of some components.
c. Lack of memory (103RB has 20 RAM that should be enough). MBED core (OS 5) takes a lot of memory even for empty program. I run of memory not implementing even 1/30 of all functions I need.
d. Long compilation time. MBED compiles everything. Under PIO it takes minutes, under Mbed Studio it takes tens of seconds. Arduino with STM32Duino compiles instantly.
The text was updated successfully, but these errors were encountered: