-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from CTA-Ripple/rc-v2.0.0
Ripple API v2.0.0
- Loading branch information
Showing
17 changed files
with
3,173 additions
and
1,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Placeholder to control git attributes. | ||
* text=auto eol=lf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Presubmit check | ||
|
||
on: | ||
|
||
workflow_dispatch: | ||
|
||
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
|
||
example-c-hello-world: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
PROJECT_PATH: ${{github.workspace}}/example/c/hello-world | ||
PROJECT_NAME: HelloWorld C example | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure ${{env.PROJECT_NAME}} | ||
working-directory: ${{env.PROJECT_PATH}} | ||
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build ${{env.PROJECT_NAME}} | ||
working-directory: ${{env.PROJECT_PATH}} | ||
run: cmake --build build --config ${{env.BUILD_TYPE}} | ||
|
||
example-cpp-hello-world: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
PROJECT_PATH: ${{github.workspace}}/example/cpp/hello-world | ||
PROJECT_NAME: HelloWorld C++ example | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure ${{env.PROJECT_NAME}} | ||
working-directory: ${{env.PROJECT_PATH}} | ||
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build ${{env.PROJECT_NAME}} | ||
working-directory: ${{env.PROJECT_PATH}} | ||
run: cmake --build build --config ${{env.BUILD_TYPE}} | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- example-c-hello-world | ||
- example-cpp-hello-world | ||
|
||
steps: | ||
- name: Main build job | ||
run: cmake --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# v2.0.0 | ||
|
||
* Add API support for pulsed and UWB radar | ||
* Add cpp example with stub driver | ||
* Move C example to a subdir, link with stub radar | ||
* Move platform items out of example | ||
* Add a C++ stub radar driver | ||
* Add a C stub radar driver | ||
* Fixed Variadic macros | ||
* Pass log level as RadarLogLevel instead of int | ||
* Add virtual dtor for C++ interfaces | ||
* Add API to get maximum number of active configs | ||
* Add radar type | ||
* Separate API to get Ripple API version | ||
* Add API to retrieve TX/RX layout | ||
* Add GetVendorParamRange API | ||
* Add Create/Destroy RadarSensor API | ||
* Move bit fields in BurstFormat to bools | ||
* Remove FIFO related API | ||
* Fix SensorInfo members' type | ||
* Make LogSensorDetails as pure virtual function | ||
* Bring source code to unix format | ||
|
||
# v1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
|
||
### General settings ### | ||
project(hello-world VERSION 1.0.0) | ||
set(root_dir ${CMAKE_CURRENT_LIST_DIR}/../../..) | ||
|
||
### Add source files ### | ||
add_executable(${PROJECT_NAME} | ||
main.c | ||
${root_dir}/radars/c/stub/main.c | ||
) | ||
|
||
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 99) | ||
|
||
|
||
### Add include folders ### | ||
include_directories( | ||
${root_dir}/radar-api | ||
${root_dir}/radars/c/stub | ||
${root_dir}/platform | ||
) | ||
|
||
target_compile_options(${PROJECT_NAME} PRIVATE | ||
$<$<OR:$<C_COMPILER_ID:GNU>,$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>>: | ||
-Wall -Werror -Wextra -pedantic -pedantic-errors> | ||
$<$<C_COMPILER_ID:MSVC>: | ||
/W4>) |
Oops, something went wrong.