Skip to content

Commit

Permalink
Merge pull request #101 from MikroElektronika/stefan.filipovic/20week…
Browse files Browse the repository at this point in the history
…2024

sync click boards to week 20 of 2024
  • Loading branch information
StefanFilipovic15 authored May 17, 2024
2 parents 2ad5245 + 627609e commit 5c27bce
Show file tree
Hide file tree
Showing 97 changed files with 16,466 additions and 1,671 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

**Updates by date of commit:**

+ **[20240517](#20240517)**
+ **[20240510](#20240510)**
+ **[20240426](#20240426)**
+ **[20240419](#20240419)**
Expand Down Expand Up @@ -94,6 +95,26 @@
---
---

## `20240517`

*Following click boards have been added:*

+ `IR Eclipse 2`
+ `M-BUS RF 2`
+ `I2C 1-Wire 2`
+ `GNSS RTK 3 EA`
+ `GNSS RTK 3 DA`
+ `Pressure 23 30BA`

*Following click boards have been removed:*

+ `GNSS RTK 3`
+ `Pressure 23`

**[BACK TO TOP](#changelog)**

---

## `20240510`

*Following click boards have been added:*
Expand Down
256 changes: 129 additions & 127 deletions README.md

Large diffs are not rendered by default.

28 changes: 0 additions & 28 deletions clicks/gnssrtk3/CMakeLists.txt

This file was deleted.

Binary file removed clicks/gnssrtk3/doc/image/click_icon.png
Binary file not shown.
28 changes: 0 additions & 28 deletions clicks/gnssrtk3/example/CMakeLists.txt

This file was deleted.

8 changes: 0 additions & 8 deletions clicks/gnssrtk3/example/manifest.exm

This file was deleted.

30 changes: 0 additions & 30 deletions clicks/gnssrtk3/lib_gnssrtk3/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion clicks/gnssrtk3/lib_gnssrtk3/include/Click.GNSSRTK3

This file was deleted.

28 changes: 28 additions & 0 deletions clicks/gnssrtk3da/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.21)
if (${TOOLCHAIN_LANGUAGE} MATCHES "MikroC")
project(example_gnssrtk3da LANGUAGES MikroC)
else()
project(example_gnssrtk3da LANGUAGES C ASM)
endif()

if (NOT PROJECT_TYPE)
set(PROJECT_TYPE "mikrosdk" CACHE STRING "" FORCE)
endif()

add_executable(example_gnssrtk3da
example/main.c

)


############################ example_gnssrtk3da GENERATED CODE START ###########################
find_package(MikroC.Core REQUIRED)
target_link_libraries(example_gnssrtk3da PUBLIC MikroC.Core)
find_package(MikroSDK.Board REQUIRED)
target_link_libraries(example_gnssrtk3da PUBLIC MikroSDK.Board)
find_package(MikroSDK.Log REQUIRED)
target_link_libraries(example_gnssrtk3da PUBLIC MikroSDK.Log)
add_subdirectory(lib_gnssrtk3da)
target_link_libraries(example_gnssrtk3da PUBLIC Click.GNSSRTK3DA)
############################ example_gnssrtk3da GENERATED CODE END ###########################

50 changes: 25 additions & 25 deletions clicks/gnssrtk3/README.md → clicks/gnssrtk3da/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
\mainpage Main Page

---
# GNSS RTK 3 click
# GNSS RTK 3 DA click

> GNSS RTK 3 Click is a compact add-on board that enhances the precision of position data derived from satellite-based positioning systems. This board features the LC29H, a dual-band, multi-castellation GNSS module from Quectel. This module supports the concurrent reception of all five global GNSS constellations: GPS, BDS, Galileo, GZSS, and GLONASS. It can receive and track many visible satellites in multi-bands, significantly mitigating the multipath effect in deep urban canyons and improving positioning accuracy.
> GNSS RTK 3 Click is a compact add-on board that enhances the precision of position data derived from satellite-based positioning systems. This board features the LC29HDA, a dual-band, multi-castellation GNSS module from Quectel. This module supports the concurrent reception of all five global GNSS constellations: GPS, BDS, Galileo, GZSS, and GLONASS. It can receive and track many visible satellites in multi-bands, significantly mitigating the multipath effect in deep urban canyons and improving positioning accuracy.
<p align="center">
<img src="https://download.mikroe.com/images/click_for_ide/gnssrtk3_click.png" height=300px>
<img src="https://download.mikroe.com/images/click_for_ide/gnssrtk3da_click.png" height=300px>
</p>

[click Product page](https://www.mikroe.com/gnss-rtk-3-click)
[click Product page](https://www.mikroe.com/gnss-rtk-3-click-lc29hda)

---

Expand All @@ -23,7 +23,7 @@

# Software Support

We provide a library for the GNSS RTK 3 Click
We provide a library for the GNSS RTK 3 DA Click
as well as a demo application (example), developed using MikroElektronika
[compilers](https://www.mikroe.com/necto-studio).
The demo can run on all the main MikroElektronika [development boards](https://www.mikroe.com/development-boards).
Expand All @@ -32,40 +32,40 @@ Package can be downloaded/installed directly from *NECTO Studio Package Manager*

## Library Description

> This library contains API for GNSS RTK 3 Click driver.
> This library contains API for GNSS RTK 3 DA Click driver.
#### Standard key functions :

- `gnssrtk3_cfg_setup` Config Object Initialization function.
- `gnssrtk3da_cfg_setup` Config Object Initialization function.
```c
void gnssrtk3_cfg_setup ( gnssrtk3_cfg_t *cfg );
void gnssrtk3da_cfg_setup ( gnssrtk3da_cfg_t *cfg );
```
- `gnssrtk3_init` Initialization function.
- `gnssrtk3da_init` Initialization function.
```c
err_t gnssrtk3_init ( gnssrtk3_t *ctx, gnssrtk3_cfg_t *cfg );
err_t gnssrtk3da_init ( gnssrtk3da_t *ctx, gnssrtk3da_cfg_t *cfg );
```

#### Example key functions :

- `gnssrtk3_enable_device` This function enables the device by setting the CEN pin to high logic state.
- `gnssrtk3da_enable_device` This function enables the device by setting the CEN pin to high logic state.
```c
void gnssrtk3_enable_device ( gnssrtk3_t *ctx );
void gnssrtk3da_enable_device ( gnssrtk3da_t *ctx );
```
- `gnssrtk3_generic_read` This function reads a desired number of data bytes by using UART or I2C serial interface.
- `gnssrtk3da_generic_read` This function reads a desired number of data bytes by using UART or I2C serial interface.
```c
err_t gnssrtk3_generic_read ( gnssrtk3_t *ctx, uint8_t *data_out, uint16_t len );
err_t gnssrtk3da_generic_read ( gnssrtk3da_t *ctx, uint8_t *data_out, uint16_t len );
```

- `gnssrtk3_parse_gga` This function parses the GGA data from the read response buffer.
- `gnssrtk3da_parse_gga` This function parses the GGA data from the read response buffer.
```c
err_t gnssrtk3_parse_gga ( uint8_t *rsp_buf, uint8_t gga_element, uint8_t *element_data );
err_t gnssrtk3da_parse_gga ( uint8_t *rsp_buf, uint8_t gga_element, uint8_t *element_data );
```
## Example Description
> This example demonstrates the use of GNSS RTK 3 click by reading and displaying the GNSS coordinates.
> This example demonstrates the use of GNSS RTK 3 DA click by reading and displaying the GNSS coordinates.
**The demo application is composed of two sections :**
Expand All @@ -78,7 +78,7 @@ err_t gnssrtk3_parse_gga ( uint8_t *rsp_buf, uint8_t gga_element, uint8_t *eleme
void application_init ( void )
{
log_cfg_t log_cfg; /**< Logger config object. */
gnssrtk3_cfg_t gnssrtk3_cfg; /**< Click config object. */
gnssrtk3da_cfg_t gnssrtk3da_cfg; /**< Click config object. */
/**
* Logger initialization.
Expand All @@ -94,15 +94,15 @@ void application_init ( void )
log_info( &logger, " Application Init " );
// Click initialization.
gnssrtk3_cfg_setup( &gnssrtk3_cfg );
GNSSRTK3_MAP_MIKROBUS( gnssrtk3_cfg, MIKROBUS_1 );
if ( GNSSRTK3_OK != gnssrtk3_init( &gnssrtk3, &gnssrtk3_cfg ) )
gnssrtk3da_cfg_setup( &gnssrtk3da_cfg );
GNSSRTK3DA_MAP_MIKROBUS( gnssrtk3da_cfg, MIKROBUS_1 );
if ( GNSSRTK3DA_OK != gnssrtk3da_init( &gnssrtk3da, &gnssrtk3da_cfg ) )
{
log_error( &logger, " Communication init." );
for ( ; ; );
}
gnssrtk3_enable_device ( &gnssrtk3 );
gnssrtk3da_enable_device ( &gnssrtk3da );
log_info( &logger, " Application Task " );
}
Expand All @@ -116,9 +116,9 @@ void application_init ( void )
```c
void application_task ( void )
{
if ( GNSSRTK3_OK == gnssrtk3_process( &gnssrtk3 ) )
if ( GNSSRTK3DA_OK == gnssrtk3da_process( &gnssrtk3da ) )
{
gnssrtk3_parser_application( app_buf );
gnssrtk3da_parser_application( app_buf );
}
}
```
Expand All @@ -129,7 +129,7 @@ The full application code, and ready to use projects can be installed directly f
- MikroSDK.Board
- MikroSDK.Log
- Click.GNSSRTK3
- Click.GNSSRTK3DA
**Additional notes and informations**
Expand Down
File renamed without changes.
Loading

0 comments on commit 5c27bce

Please sign in to comment.