Skip to content

Commit

Permalink
feat(library): fixed some issues and increased version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Steven Strange committed Aug 14, 2023
1 parent fe87fe7 commit dc272c2
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 2 deletions.
31 changes: 31 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# !!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE
# https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
#
# If you need to override existing CMake configuration or add extra,
# please create `CMakeListsUser.txt` in the root of project.
# The `CMakeListsUser.txt` will not be overwritten by PlatformIO.

cmake_minimum_required(VERSION 3.13)
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER_WORKS 1)
set(CMAKE_CXX_COMPILER_WORKS 1)

project("dialer" C CXX)

include(CMakeListsPrivate.txt)

if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeListsUser.txt)
include(CMakeListsUser.txt)
endif ()

add_custom_target(
Production ALL
COMMAND platformio -c clion run "$<$<NOT:$<CONFIG:All>>:-e${CMAKE_BUILD_TYPE}>"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

add_custom_target(
Debug ALL
COMMAND platformio -c clion debug "$<$<NOT:$<CONFIG:All>>:-e${CMAKE_BUILD_TYPE}>"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 9 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Dial2AbstractSensors",
"keywords": "sensors, abstract, interfaces",
"keywords": "dial2, sensors, abstract, interfaces",
"description": "A simple library containing abstract interfaces for sensor adapters for the AhmsVille Dial 2",
"version": "1.0.0",
"version": "1.0.1",
"authors": {
"name": "Igor Voronin",
"url": "https://github.com/divStar"
Expand All @@ -11,6 +11,13 @@
"type": "git",
"url": "https://github.com/divStar/ahmsville-dial2-abstract-sensors.git"
},
"export": {
"exclude": [
".pio",
"cmake-build-*",
"platformio.ini"
]
},
"frameworks": "*",
"platforms": "*",
"build": {
Expand Down
18 changes: 18 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
description = Abstract sensor interfaces for the AhmsVille Dial2
default_envs = native

[env:native]
platform = native
build_flags = -std=gnu++17
build_unflags = -std=gnu++11
Empty file added src/.gitkeep
Empty file.

0 comments on commit dc272c2

Please sign in to comment.