Skip to content
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

Serial monitor is not cleared after upload on STM32 Arduino core #1631

Open
PerennialNovice opened this issue Feb 20, 2024 · 5 comments
Open
Assignees

Comments

@PerennialNovice
Copy link

Describe your environment

latest sloeber 4.4.3 product
OS: Win 11
STM32 Arduino Core 2.7.1: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
image

Describe the bug

After upload, the serial monitor is not cleared, even when the checkbox is ticket in Sloeber -> Preferences
image

I have seen this on a custom board with SWD upload and on a Nucleo32 with mass storage upload

To Reproduce

  1. install STM32 Arduino Core
  2. create new project with serial output
  3. compile, download
  4. activate serial port
  5. see output
  6. check Clean Serial monitor after upload and Switch to Serial monitor after upload in the menu Sloeber -> Preferences
  7. upload project again
  8. previous contents is still in serial monitor
@jantje
Copy link
Member

jantje commented Feb 20, 2024

I'll have a look after I finished #1126 (don't hold your breath)

@jantje jantje self-assigned this Feb 20, 2024
@PerennialNovice
Copy link
Author

on a fresh install of sloeber & workspace, this seems to not happen anymore...

@jantje
Copy link
Member

jantje commented Mar 1, 2024

I could reproduce it so something is off.

@PerennialNovice
Copy link
Author

PerennialNovice commented Jun 3, 2024

I now can confirm that the serial monitor is randomly* cleared or not after upload on windows and on linux installations...

* at least I was not able to find out a rule as to when it is cleared or not. Sometimes it is cleared 5 times in a row, sometimes not at all during maaany uploads. Only thing: it seems to be cleared far less often then not.

@jantje
Copy link
Member

jantje commented Jun 3, 2024

Last times I checked it worked fine.
It looks like this one will be hard to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants