Thanks @mlundin
Fixed thanks https://github.com/stm32duino/Arduino_C ... /pull/1246
Search found 1758 matches
- Tue Dec 01, 2020 7:43 am
- Forum: PR's bugs and enhancements
- Topic: [Closed] Error in cores/arduino/HardwareTimer.cpp
- Replies: 1
- Views: 7138
- Sat Nov 28, 2020 10:51 am
- Forum: General discussion
- Topic: tone() notone()
- Replies: 3
- Views: 2728
Re: tone() notone()
A simple search on the GitHub repo:
For STM32F1, I guess you have to include tone.h in your sketch:
https://github.com/rogerclarkmelbourne/ ... ple/tone.h
Not found for STM32F4. @stevestrong could confirm.
For STM32F1, I guess you have to include tone.h in your sketch:
https://github.com/rogerclarkmelbourne/ ... ple/tone.h
Not found for STM32F4. @stevestrong could confirm.
- Sat Nov 28, 2020 7:24 am
- Forum: General discussion
- Topic: Internal temperature sensor
- Replies: 11
- Views: 14806
Re: Internal temperature sensor
This is an example, probably that the formula and value used are not correct for G0. Check the datasheet to customize.
- Fri Nov 27, 2020 4:13 pm
- Forum: General discussion
- Topic: Use of global/static objects
- Replies: 7
- Views: 3749
Re: Use of global/static objects
Thanks for feedback.
You canno't use Serial at this time as instantiation is done before the sytem init (hal init, clock config) and also Serial1 can simply not be instantiate at this time and also not configureed by the Serial.begin()...
You canno't use Serial at this time as instantiation is done before the sytem init (hal init, clock config) and also Serial1 can simply not be instantiate at this time and also not configureed by the Serial.begin()...
- Fri Nov 27, 2020 1:04 pm
- Forum: General discussion
- Topic: incorrect micros() value for stm32f411re
- Replies: 18
- Views: 9345
Re: incorrect micros() value for stm32f411re
You can try to use the HSE by pass on the nucleo F7.
Simply add the new configuration generated thanks CubeMx on top of your sketch:
Simply add the new configuration generated thanks CubeMx on top of your sketch:
Code: Select all
extern "C" void SystemClock_Config(void) {
// HSE bypass config
}
- Fri Nov 27, 2020 10:07 am
- Forum: General discussion
- Topic: incorrect micros() value for stm32f411re
- Replies: 18
- Views: 9345
Re: incorrect micros() value for stm32f411re
Also, your OP is about F411? why talking about F7 ?
For the system core clock config you can redefine your one in the sketch.
For the system core clock config you can redefine your one in the sketch.
- Fri Nov 27, 2020 10:06 am
- Forum: General discussion
- Topic: incorrect micros() value for stm32f411re
- Replies: 18
- Views: 9345
Re: incorrect micros() value for stm32f411re
You could not compare mbed and Arduino. They are really different and does not have the same goal and behaviour. MBED is an OS not the STM32 core. ;) I guess one of your issue is simply the usage of the Serial. Serial uses IT with a priority of 1 while EXTI uses a priority of 6 per default. So your ...
- Thu Nov 26, 2020 4:25 pm
- Forum: General discussion
- Topic: STM32F1xx RTC Time Reset
- Replies: 6
- Views: 3871
Re: STM32F1xx RTC Time Reset
Which board you used ? Is there an LSE ?
- Wed Nov 25, 2020 2:45 pm
- Forum: General discussion
- Topic: Use of global/static objects
- Replies: 7
- Views: 3749
Re: Use of global/static objects
Could you share your library ?
- Wed Nov 25, 2020 2:15 pm
- Forum: General discussion
- Topic: Use of global/static objects
- Replies: 7
- Views: 3749
Re: Use of global/static objects
I don't know which library you used any you cannot use new at global.
For the second, I gues the constructor execute some code that's probably why it's failed.
Try to define global the CommandHandler* commandHandler;
then do the new in the setup().
For the second, I gues the constructor execute some code that's probably why it's failed.
Try to define global the CommandHandler* commandHandler;
then do the new in the setup().