Skip to content

Doc - #3102

Open
fpistm wants to merge 3 commits into
stm32duino:mainfrom
fpistm:doc
Open

Doc#3102
fpistm wants to merge 3 commits into
stm32duino:mainfrom
fpistm:doc

Conversation

@fpistm

@fpistm fpistm commented Oct 22, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Document the purpose, usage and configuration of each script
in CI/update:
 - stm32variant.py,
 - stm32variantv2.py,
 - stm32cube.py,
 - stm32cubev2.py,
 - stm32wrapper.py,
 - stm32svd.py,
 - fqbn.py,
 - stm32api.py
 - stm32libraries.py.

Correct the stm32variant.py description (GitHub database by default,
--cube option, CUBEMX_DIRECTORY and STM32CUBECLT_PATH settings).

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Assisted-by: GitHub Copilot: Claude Haiku 5.5
Review doxygen comments in headers and sources under cores/, libraries/,
system/STM32* and variants/ (excluding cores/arduino/api, system/Drivers
and system/Middlewares) and apply one style:

- API contracts (@brief, @PARAM, @return, @note) live in headers. Functions
  declared in a header are documented there and their duplicate blocks are
  removed from the source file.
- Static and source-only functions are documented directly above their
  definition in the .c/.cpp file.
- Parameter names in header declarations now match their definitions in
  HardwareTimer.h, analog.h, Wire.h, and VirtIO mbox_ipcc.h. This is a
  name-only change with no ABI impact.
- @RetVal None on void functions is replaced by @return or dropped. Remaining
  @RetVal tags are kept only in ST-derived HAL/LL, system and middleware files.
- Undocumented functions are documented, including HardwareTimer methods,
  Wire and twi helpers, SPI, EEPROM, Servo, USBDevice, Serial Uart, WSerial
  serialEvent hooks, pins_arduino, variant clock helpers, and assert_failed in
  the hal_conf_default headers.

Function-level 'not documented' doxygen warnings drop from 197 to 2. In
USBDevice, the #ifdef blocks in usbd_cdc.h and usbd_hid_composite.h are
reordered with equivalent declarations. Comment-stripped code is otherwise
unchanged.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Assisted-by: GitHub Copilot: Claude Haiku 5.5
@fpistm fpistm added enhancement New feature or request documentation 📚 Improvements or additions to documentation fix 🩹 Bug fix labels Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📚 Improvements or additions to documentation enhancement New feature or request fix 🩹 Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant