Thanks for the additional comment - on a different PC it works with only the hal_conf_extra.h so a cache issue does seem possible.
In any case all working now, I appreciate all the comments
Search found 9 matches
- Mon Apr 28, 2025 8:25 am
- Forum: General discussion
- Topic: Serial Buffer Size - How to adjust
- Replies: 6
- Views: 597
- Mon Feb 24, 2025 1:18 pm
- Forum: General discussion
- Topic: Serial Buffer Size - How to adjust
- Replies: 6
- Views: 597
Re: Serial Buffer Size - How to adjust
Thanks everyone, tried again today and the combination of changing HardwareSerial.h and hal_conf_extra.h seems to have cracked it 

- Fri Feb 21, 2025 5:17 pm
- Forum: General discussion
- Topic: Serial Buffer Size - How to adjust
- Replies: 6
- Views: 597
Re: Serial Buffer Size - How to adjust
Many thanks... It seems obvious now you pointed it out :oops:
Changed to:
#if !defined(SERIAL_TX_BUFFER_SIZE)
#define SERIAL_TX_BUFFER_SIZE 256
#endif
#if !defined(SERIAL_RX_BUFFER_SIZE)
#define SERIAL_RX_BUFFER_SIZE 256
#endif
Uploaded and tested, but the buffer still shows as 64 in the ...
Changed to:
#if !defined(SERIAL_TX_BUFFER_SIZE)
#define SERIAL_TX_BUFFER_SIZE 256
#endif
#if !defined(SERIAL_RX_BUFFER_SIZE)
#define SERIAL_RX_BUFFER_SIZE 256
#endif
Uploaded and tested, but the buffer still shows as 64 in the ...
- Fri Feb 21, 2025 2:04 pm
- Forum: General discussion
- Topic: Serial Buffer Size - How to adjust
- Replies: 6
- Views: 597
Serial Buffer Size - How to adjust
Hi
I'm running an STM32F407VET using UART to another uC (on same PCB) and would like the option to change the buffer from 64 bytes to 256.
I've tried to follow the guidance at https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#serial-rxtx-buffer-size
What i have ...
I'm running an STM32F407VET using UART to another uC (on same PCB) and would like the option to change the buffer from 64 bytes to 256.
I've tried to follow the guidance at https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#serial-rxtx-buffer-size
What i have ...
- Fri Feb 07, 2025 7:31 am
- Forum: General discussion
- Topic: Debug in Arduino IDE - is it possible? ...or even Platform IO
- Replies: 6
- Views: 561
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO

- Thu Feb 06, 2025 2:54 pm
- Forum: General discussion
- Topic: Debug in Arduino IDE - is it possible? ...or even Platform IO
- Replies: 6
- Views: 561
Debug in Arduino IDE - is it possible? ...or even Platform IO
Is it possible to use the debug function in Arduino IDE?
- I have STM32F4 and am using ST-Link V2 to program id via SWD, but can't get it to work (tbh I've never used the debug function before so it may well be operator error!)
- I have STM32F4 and am using ST-Link V2 to program id via SWD, but can't get it to work (tbh I've never used the debug function before so it may well be operator error!)
- Thu Feb 06, 2025 2:44 pm
- Forum: General discussion
- Topic: ADC LowPowerFrequencyMode = Enable
- Replies: 5
- Views: 819
Re: ADC LowPowerFrequencyMode = Enable
Thanks so much 

- Thu Jan 23, 2025 5:36 pm
- Forum: General discussion
- Topic: ADC LowPowerFrequencyMode = Enable
- Replies: 5
- Views: 819
Re: ADC LowPowerFrequencyMode = Enable
Thanks to you both for responding - That has set me on the right track and I've figured that out, now pulling about 3.2mA, Job done!! :D
I would still like to understand how to set the PeripheralPins and Clock settings in the sketch too, haven't figured that out yet, but after you set me on the ...
I would still like to understand how to set the PeripheralPins and Clock settings in the sketch too, haven't figured that out yet, but after you set me on the ...
- Thu Jan 23, 2025 10:43 am
- Forum: General discussion
- Topic: ADC LowPowerFrequencyMode = Enable
- Replies: 5
- Views: 819
ADC LowPowerFrequencyMode = Enable
Hi all
Forgive the relative noob question, and go easy!
I have an existing custom board that was programmed previously with CubeIDE (of which I have almost no experience) by a retired engineer, that I have successfully re-written a simplified functional version of in Arduino IDE (due to a needed ...
Forgive the relative noob question, and go easy!
I have an existing custom board that was programmed previously with CubeIDE (of which I have almost no experience) by a retired engineer, that I have successfully re-written a simplified functional version of in Arduino IDE (due to a needed ...