[...]
On the boards from the Arduino Portenta family this function has a resolution of one microsecond on all cores.
[...]
Search found 10 matches
- Tue Mar 02, 2021 1:28 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: micros() Resolution
- Replies: 4
- Views: 6898
Re: micros() Resolution
@Ali I think here is your answer: https://www.arduino.cc/reference/en/lan ... me/micros/
- Mon Feb 22, 2021 1:30 pm
- Forum: General discussion
- Topic: Jump to bootloader STM32F103
- Replies: 10
- Views: 19755
Re: Jump to bootloader STM32F103
Code: Select all
#if defined(USE_HAL_DRIVER)
HAL_RCC_DeInit();
#endif /* defined(USE_HAL_DRIVER) */
#if defined(USE_STDPERIPH_DRIVER)
RCC_DeInit();
#endif /* defined(USE_STDPERIPH_DRIVER) */
- Sun Jan 10, 2021 2:32 pm
- Forum: General discussion
- Topic: memory protection detecting stack overwriting heap
- Replies: 5
- Views: 5152
Re: memory protection detecting stack overwriting heap
Hi ag123, even if you could protect the heap, this would not solve the real problem.
The real problem in these cases is not just that the stack invades the heap memory but rather that the application makes the stack growing too much respect to the available memory and this is due to the application ...
The real problem in these cases is not just that the stack invades the heap memory but rather that the application makes the stack growing too much respect to the available memory and this is due to the application ...
- Sun Jan 10, 2021 9:59 am
- Forum: General discussion
- Topic: increase the serial1 buffer size
- Replies: 7
- Views: 8316
Re: increase the serial1 buffer size
Conflicts between heap and stack could happen, it's to be checked case by case.
Also, if I'm not wrong, the buffers are created for each available serial and not only for the used ones, so this means that the buffer allocated is multiplied by the number of available serials.
This can make more ...
Also, if I'm not wrong, the buffers are created for each available serial and not only for the used ones, so this means that the buffer allocated is multiplied by the number of available serials.
This can make more ...
- Sat Jan 09, 2021 11:05 pm
- Forum: General discussion
- Topic: increase the serial1 buffer size
- Replies: 7
- Views: 8316
Re: increase the serial1 buffer size
Yes, correct.mrburnette wrote: Sat Jan 09, 2021 10:48 pmMy (untried) thinking is to create a new boards.txt entry and set the environmental variable there, using something like
-DUSART_RX_BUF_SIZE nnn
https://github.com/rogerclarkmelbourne/ ... boards.txt
- Sat Jan 09, 2021 6:24 pm
- Forum: General discussion
- Topic: increase the serial1 buffer size
- Replies: 7
- Views: 8316
Re: increase the serial1 buffer size
Hi, if I can recall correctly you can pass USART_RX_BUF_SIZE and USART_TX_BUF_SIZE as compiler options via the -D parameter.
- Tue Nov 17, 2020 7:28 am
- Forum: Projects
- Topic: loop too slow
- Replies: 8
- Views: 7729
Re: the loop is stuck
Hi, what's the purpose of this code?
It would prevent the subsequent code to run if lastT becomes big enough.
Cheers, E.
Code: Select all
if ( millis() < lastT )
return;
lastT += T_REFRESH;
Cheers, E.
- Mon Jul 27, 2020 3:41 pm
- Forum: Maple & Maple mini etc
- Topic: Maple mini bricked
- Replies: 4
- Views: 16528
Re: Maple mini bricked
Hi warner , if you just tried to install "a bootloader" from the web (which?! from where?!), you should not have bricked the chip: it's quite robust and cannot be bricked so easily! ;)
You can install another sw bootloader by leveraging the standard ST system USART bootloader (on USART1), which can ...
You can install another sw bootloader by leveraging the standard ST system USART bootloader (on USART1), which can ...
- Mon Jul 27, 2020 7:24 am
- Forum: General discussion
- Topic: [SOLVED] analogWrite not working on DAC Pins on NUCLEO G071RB
- Replies: 3
- Views: 5961
- Fri Jul 10, 2020 10:24 pm
- Forum: Let us know a bit about you and your projects
- Topic: encryption
- Replies: 3
- Views: 15765
Re: encryption
Hello Rtelles , you can take a look at these libraries:
https://github.com/Ko-/aes-armcortexm: AES (symmetric)
https://github.com/kmackay/micro-ecc: Elliptic Crypto (asymmetric)
http://utter.chaos.org.uk:/~markt/AES-library.zip: small AES library for Arduino (referenced here )
Hope this ...
https://github.com/Ko-/aes-armcortexm: AES (symmetric)
https://github.com/kmackay/micro-ecc: Elliptic Crypto (asymmetric)
http://utter.chaos.org.uk:/~markt/AES-library.zip: small AES library for Arduino (referenced here )
Hope this ...