Skip to content

Commit 4a29350

Browse files
author
smtc-bot
committed
Release v2.5.0
1 parent d0fc63c commit 4a29350

File tree

8 files changed

+409
-175
lines changed

8 files changed

+409
-175
lines changed

CHANGELOG.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,58 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.5.0] - 2025-06-16
8+
9+
### Fixed
10+
11+
- Make `llcc68_tx_modulation_workaround` public
12+
13+
### Changed
14+
15+
- Modify in-code version to only keep `LLCC68_DRIVER_VERSION` macro and `llcc68_driver_version_get_version_string` function
16+
17+
## [2.4.1] - 2025-04-14
18+
19+
### Fixed
20+
21+
- Compilation warning due to implicit cast
22+
23+
## [2.4.0] - 2025-04-14
24+
25+
### Added
26+
27+
- cmake support
28+
- GFSK workarounds for specific modulation configurations:
29+
- `llcc68_workaround_gfsk_1_2_kbps`
30+
- `llcc68_workaround_gfsk_0_6_kbps`
31+
- `llcc68_workaround_gfsk_reset`
32+
33+
### Changed
34+
35+
- Extract BPSK driver code in specific compile unit
36+
37+
### Fixed
38+
39+
- Fixed bad pointer conversion in `llcc68_hal_read` calls that may result in incorrect value
40+
- `llcc68_add_registers_to_retention_list` function - Prevent out of bound array access in case of erroneous value read from chip
41+
- Typos in documentation
42+
43+
### Removed
44+
45+
- LLCC68 only: BPSK commands are removed
46+
747
## [2.3.2] - 2023-12-15
848

949
### Changed
50+
1051
- `llcc68_set_gfsk_sync_word()` function - Remove memcpy usage
1152

53+
## [2.3.1] - 2023-11-8
54+
1255
## [2.3.0] - 2023-10-10
1356

1457
### Added
58+
1559
- `llcc68_set_bpsk_mod_params()` function - Set the modulation parameters for BPSK packets
1660
- `llcc68_set_bpsk_pkt_params()` function - Set the packet parameters for BPSK packets
1761

@@ -26,7 +70,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2670

2771
### Added
2872

29-
- `llcc68_set_gfsk_pkt_address()` function - configure both GFSK node and brodcast filtering addresses
73+
- `llcc68_set_gfsk_pkt_address()` function - configure both GFSK node and broadcast filtering addresses
3074
- `llcc68_handle_rx_done()` function - perform all requested actions when the chip leaves the Rx mode
3175

3276
## [2.0.1] - 2021-11-23

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,27 @@ The HAL (Hardware Abstraction Layer) is a collection of functions the user shall
2020
- llcc68_hal_wakeup
2121
- llcc68_hal_write
2222
- llcc68_hal_read
23+
24+
## Cmake usage
25+
26+
This driver exposes a cmake configuration allowing to integrate the driver in a cmake ready application.
27+
28+
### Integration
29+
30+
If the driver code resides in a directory of the application using it, it can be integrated by adding the subdirectory to the configuration as follows:
31+
32+
```cmake
33+
add_subdirectory(llcc68_driver) # where llcc68_driver is the name of the folder containing the driver code
34+
```
35+
36+
Alternatively, if the driver code is available through a code archive, it can be included directly by
37+
38+
```cmake
39+
include(FetchContent)
40+
FetchContent_Declare(
41+
llcc68_driver
42+
URL "path_to_archive" # Where path_to_archive is to be replaced by the path to the archive driver
43+
)
44+
FetchContent_MakeAvailable(llcc68_driver)
45+
```
46+

src/CMakeLists.txt

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# @file
2+
#
3+
# @brief Sets CMake target_sources and target_include_directories
4+
#
5+
# --- The Clear BSD License ---
6+
# Copyright Semtech Corporation 2025. All rights reserved.
7+
#
8+
# Redistribution and use in source and binary forms, with or without
9+
# modification, are permitted (subject to the limitations in the disclaimer
10+
# below) provided that the following conditions are met:
11+
# * Redistributions of source code must retain the above copyright
12+
# notice, this list of conditions and the following disclaimer.
13+
# * Redistributions in binary form must reproduce the above copyright
14+
# notice, this list of conditions and the following disclaimer in the
15+
# documentation and/or other materials provided with the distribution.
16+
# * Neither the name of the Semtech corporation nor the
17+
# names of its contributors may be used to endorse or promote products
18+
# derived from this software without specific prior written permission.
19+
#
20+
# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
21+
# THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22+
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
23+
# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24+
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE
25+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31+
# POSSIBILITY OF SUCH DAMAGE.
32+
33+
34+
35+
set(LIBRARY_SOURCES)
36+
list(APPEND LIBRARY_SOURCES
37+
llcc68_driver_version.c
38+
llcc68.c
39+
)
40+
41+
add_library(llcc68_driver STATIC ${LIBRARY_SOURCES})
42+
43+
add_library(llcc68_driver::llcc68_driver ALIAS llcc68_driver)
44+
45+
target_include_directories(llcc68_driver PUBLIC
46+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
47+
$<INSTALL_INTERFACE:>
48+
)
49+
50+
install(TARGETS llcc68_driver
51+
EXPORT Llcc68DriverTargets
52+
LIBRARY DESTINATION lib
53+
ARCHIVE DESTINATION lib
54+
RUNTIME DESTINATION bin
55+
INCLUDES DESTINATION include
56+
)

0 commit comments

Comments
 (0)