Skip to content

Commit 59b7cd1

Browse files
author
Matthieu Antoine
committed
Release v1.0.0
0 parents  commit 59b7cd1

8 files changed

Lines changed: 3444 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
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).
6+
7+
## [1.0.0] - 2020-09-24
8+
9+
### General
10+
11+
- Initial version

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Revised BSD License
2+
Copyright Semtech Corporation 2020. All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the Semtech corporation nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18+
ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# LLCC68 driver
2+
3+
This package proposes an implementation in C of the driver for **LLCC68** radio component.
4+
5+
## Structure
6+
7+
The driver is defined as follows:
8+
9+
- llcc68.c: implementation of the driver functions
10+
- llcc68.h: declarations of the driver functions
11+
- llcc68_regs.h: definitions of all useful registers (address and fields)
12+
- llcc68_hal.h: declarations of the HAL functions (to be implemented by the user - see below)
13+
14+
## HAL
15+
16+
The HAL (Hardware Abstraction Layer) is a collection of functions the user shall implement to write platform-dependant calls to the host. The list of functions is the following:
17+
18+
- llcc68_hal_reset
19+
- llcc68_hal_wakeup
20+
- llcc68_hal_write
21+
- llcc68_hal_read

src/CMakeLists.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
##
2+
## ______ _
3+
## / _____) _ | |
4+
## ( (____ _____ ____ _| |_ _____ ____| |__
5+
## \____ \| ___ | (_ _) ___ |/ ___) _ \
6+
## _____) ) ____| | | || |_| ____( (___| | | |
7+
## (______/|_____)_|_|_| \__)_____)\____)_| |_|
8+
## (C)2019 Semtech
9+
##
10+
## License: Revised BSD License, see LICENSE.TXT file included in the project
11+
##
12+
## Authors: Semtech WSP Applications Team
13+
##
14+
project(llcc68_driver VERSION 0.9.0 DESCRIPTION "LLCC68 driver")
15+
cmake_minimum_required(VERSION 3.6)
16+
17+
#---------------------------------------------------------------------------------------
18+
# Target
19+
#---------------------------------------------------------------------------------------
20+
21+
list(APPEND ${PROJECT_NAME}_SOURCES
22+
${CMAKE_CURRENT_SOURCE_DIR}/llcc68.c
23+
)
24+
25+
add_library(${PROJECT_NAME} OBJECT EXCLUDE_FROM_ALL ${${PROJECT_NAME}_SOURCES})
26+
27+
# For debug builds set the symbol DEBUG
28+
set(CMAKE_C_FLAGS_DEBUG -DDEBUG)
29+
30+
target_include_directories(${PROJECT_NAME} PUBLIC
31+
${CMAKE_CURRENT_SOURCE_DIR}
32+
)
33+
34+
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 11)

0 commit comments

Comments
 (0)