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

Major improvements and bug fixes for the ubx_gnss sample #203

Merged
merged 23 commits into from
Feb 14, 2024
Merged

Conversation

rexut
Copy link
Member

@rexut rexut commented Feb 14, 2024

resolves #202

Since Zephyr commit 7b1008c64c9d523394ff87da130d08bd17c18bac
the chosen dtcm memory region is available from upstream for
the NXP boards mimxrt1010_evk and mimxrt1015_evk and can now
be removed from Bridle's downstream board extensions.

See: zephyrproject-rtos/zephyr@7b1008c

Signed-off-by: Stephan Linz <[email protected]>
Change the active polarity of the green user LED 'LD1'
from low to high, the correct assert value. See schematic
'SPF-45852_C.pdf' on page 4. The green user LED 'D25' is
driven by the bipolar transistor 'Q521` (BC817) which is
working without negation.

Signed-off-by: Stephan Linz <[email protected]>
The NXP boards mimxrt1010_evk doesn't yet support Flash controlling
on out of the box, thus we have to disable related driver and shell
setup. See also Zephyr Flash drivers 'flash_mcux_flexspi_nor.c':

   Enabling flash driver logging and XIP mode simultaneously
   can cause read-while-write hazards. This configuration is
   not recommended.

Signed-off-by: Stephan Linz <[email protected]>
Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@rexut
Copy link
Member Author

rexut commented Feb 14, 2024

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

points of interest:

rexut added 16 commits February 14, 2024 22:07
Avoids mixing tabs and spaces for indents.

Signed-off-by: Stephan Linz <[email protected]>
This converts the uGnssPosGetStreamed callback to use the Zephyr
logging OS service, thus we get the uptime also printed out on
console and we are able on runtime to diable or maybe deligate
the callback output to other stream channels then the console.

Also error messages converted to use the shell_error() wrapper.

Signed-off-by: Stephan Linz <[email protected]>
Promote floating point numbers with double precision
to avoid compilation warnings related to implicit
conversion from float to double.

Signed-off-by: Stephan Linz <[email protected]>
This is a really experimental support.

Please, read the documentation carefully. Not all functions will work
as expected and there are well known issues, because of insufficient
amount of RAM and numbers of UART interfaces.

Signed-off-by: Stephan Linz <[email protected]>
FIXME: Revert this overlay as soon as possible, provide at least
       a new board extension, or better, change Zephyr upstream.

Signed-off-by: Stephan Linz <[email protected]>
Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, many thanks

@rexut rexut merged commit 24054f0 into main Feb 14, 2024
10 checks passed
@rexut rexut deleted the devel/ubx_gnss branch February 14, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FER] Make the u-blox library GNSS example fit for demonstration
2 participants