Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

More typos -> LSM6DSO

Open
#146 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Open lsm6dso_STdC/examples/lsm6dso_self_test.c and inspect the references at lines 307 and 348. Verify the self-test example uses the LSM6DSO gyroscope constants and setter shown in the issue, then confirm the file no longer contains these two mismatches.

Written by the indexing model from the issue text.

Description

bug

I was initially not aware that each directory is for one sensor.
I thought it is a software variant (or X as place holder for some hardware variants)
and even wanted to question here what is different between each directory, e.g.
like LSM6DSO, LSM6DSOX, LSM6DSO32, LSM6DSO32X.

Question beside: Are they in some kind (backward) compatible?
So e.g. code for LSM6DSO can run on all other mentioned device (when not using the additional features)?

But back to LSM6DSO source code:

Minor:
https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lsm6dso_STdC/examples/lsm6dso_self_test.c#L307

LIS2DH12_GY_ST_NEGATIVE
->
LSM6DSO_GY_ST_NEGATIVE

https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lsm6dso_STdC/examples/lsm6dso_self_test.c#L348

lsm6dso_xl_data_rate_set(&dev_ctx, LSM6DSO_GY_ODR_OFF);
->
lsm6dso_gy_data_rate_set(&dev_ctx, LSM6DSO_GY_ODR_OFF);

(same as https://github.com/STMicroelectronics/STMems_Standard_C_drivers/issues/142 )

I am at the moment using only self test code, so not checked the other example files.

Dominant language
C
Stars
885
Forks
538
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from STMicroelectronics/STMems_Standard_C_drivers

All issues in STMicroelectronics/STMems_Standard_C_drivers

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.