Replies: 2 comments 1 reply
-
If the Serial is enabled it builds. One other thing to pay attention is Arduino IDE does not properly handle cache as it does not detect change in some files. |
Beta Was this translation helpful? Give feedback.
-
I was just asking what defines in the code enables the part of the code
that defines the particular variable/struct.
In a library it should not matter what my code is.
I am trying to do some things which the implementation does not seem to
allow or is poorly documented and not having copious amounts of time to
spend delving into the thousands of pages of documents required I am using
other peoples code which purportedly worked at some stage through the
versions.
So far I have not been able to come anywhere close to getting any of the
examples compiling.
PS, I did start Serial.begin and it still does not find the serial_t struct.
…On Tue, 15 Jul 2025 at 18:21, Frederic Pillon ***@***.***> wrote:
I cannot find a way to make the definiton of the struct work by trying the
menu options, and defines in hal_conf_extra.h.
If the Serial is enabled it builds.
Honestly, you opened several issue with build issue while there is no one,
you can see the Action tab of the core repo which build more than 300
boards without any iissue. Moreover, I use it dayli and have no suchg kind
issue.
It seems you tried to access some internal definition or implementing
directly with HAL but you didn't told what you've made.
How did you expect to get help without giving all the information required
to reproduced?
Configuration? (board selected, option, ...)
Sketch?
Extra config in the hal_conf_extra.h?
Change in the core?
One other thing to pay attention is Arduino IDE does not properly handle
cache as it does not detect change in some files.
To avoid this you can change one option in the menu (ex: upload method)
then it will rebuild all ensuring no cache issue.
—
Reply to this email directly, view it on GitHub
<#2773 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF56IUIOSBCWN5FR6TOZ4T3IS2ZRAVCNFSM6AAAAACBPCNIVOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNZWGE4TKNI>
.
You are receiving this because you authored the thread.Message ID:
<stm32duino/Arduino_Core_STM32/repo-discussions/2773/comments/13761955@
github.com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using V2.10.1 on Arduino IDE v2.3.6 for a STM32G474 Weact board and am getting this error:
In file included from /home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/WSerial.h:5, from /home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/wiring.h:48, from /home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/Arduino.h:36, from /home/bruce/.var/app/cc.arduino.IDE2/cache/arduino/sketches/32A86D551BF5236A7EF6FF823FCC0775/sketch/bmtest1.ino.cpp:1: /home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/HardwareSerial.h:105:5: error: 'serial_t' does not name a type; did you mean 'Serial'? 105 | serial_t _serial; | ^~~~~~~~
I cannot find a way to make the definiton of the struct work by trying the menu options, and defines in hal_conf_extra.h.
Is there a way to get this type defined?
Beta Was this translation helpful? Give feedback.
All reactions