Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.0.0"
".": "2.1.0"
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

## [2.1.0](https://github.com/embedded-pro/hal-ti/compare/v2.0.0...v2.1.0) (2026-08-24)


### Features

* Add async adc ([#9](https://github.com/embedded-pro/hal-ti/issues/9)) ([7893b95](https://github.com/embedded-pro/hal-ti/commit/7893b951eae850a965bc48ca3a48b2dc602c721d))
* Add async pwm ([#72](https://github.com/embedded-pro/hal-ti/issues/72)) ([1dd0ce2](https://github.com/embedded-pro/hal-ti/commit/1dd0ce202990ffdb5d3c3a6adc4eb4c1b8a38b68))
* Add canbus ([#45](https://github.com/embedded-pro/hal-ti/issues/45)) ([27d9309](https://github.com/embedded-pro/hal-ti/commit/27d930929218a58fe0e184769ccc9fc9a2a5fd09))
* Add digital comparator to adc ([#74](https://github.com/embedded-pro/hal-ti/issues/74)) ([6b23e8d](https://github.com/embedded-pro/hal-ti/commit/6b23e8d00d245e19044f61cb544cad06fcd0df92))
* Add dwt ([#8](https://github.com/embedded-pro/hal-ti/issues/8)) ([60cb7f1](https://github.com/embedded-pro/hal-ti/commit/60cb7f1041d42296247721958f7e65270936132d))
* Add eeprom ([#61](https://github.com/embedded-pro/hal-ti/issues/61)) ([72ec2c6](https://github.com/embedded-pro/hal-ti/commit/72ec2c625abdf41fc6b8e24db15fa87459c7ad85))
* Add sync and async analog comparator ([#73](https://github.com/embedded-pro/hal-ti/issues/73)) ([7079808](https://github.com/embedded-pro/hal-ti/commit/707980871c0ecc302c0eedd5f1eadc2a4b7aff1f))
* Merge embedded branch ([#6](https://github.com/embedded-pro/hal-ti/issues/6)) ([9357493](https://github.com/embedded-pro/hal-ti/commit/935749360589249658d04baef659c96c07074219))


### Bug Fixes

* Adc and pwm fixed ([#29](https://github.com/embedded-pro/hal-ti/issues/29)) ([e5d2339](https://github.com/embedded-pro/hal-ti/commit/e5d23397de885510435b451337561468a143f535))
* Fix qei ([#35](https://github.com/embedded-pro/hal-ti/issues/35)) ([66f773e](https://github.com/embedded-pro/hal-ti/commit/66f773ea7def81befded632d9c9dac22b63855ec))
* Fix synchronous pwm ([#12](https://github.com/embedded-pro/hal-ti/issues/12)) ([dced9c7](https://github.com/embedded-pro/hal-ti/commit/dced9c7a3a7eb57b1aee7856b37ed7e83baa54f0))
* Move SystemCoreClock extern "C" declarations to file scope for GCC 15 compatibility ([#80](https://github.com/embedded-pro/hal-ti/issues/80)) ([1699571](https://github.com/embedded-pro/hal-ti/commit/1699571aeb5a9d69a84299d33112bee28bbf3862))
* Pwm and adc issues ([#38](https://github.com/embedded-pro/hal-ti/issues/38)) ([7015591](https://github.com/embedded-pro/hal-ti/commit/701559186e88e932a6e7abc1c7b14ce297559e29))
* Sync pwm ([#20](https://github.com/embedded-pro/hal-ti/issues/20)) ([1dc90c7](https://github.com/embedded-pro/hal-ti/commit/1dc90c7780cdf02936a18d8b70ee4a2a335d3d2c))
* Uart with dma impl ([#64](https://github.com/embedded-pro/hal-ti/issues/64)) ([86b30ec](https://github.com/embedded-pro/hal-ti/commit/86b30ec8e7ab2c79a54710ed6ef7918fa701b857))
176 changes: 88 additions & 88 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
cmake_minimum_required(VERSION 3.24)
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(HAL_TI_STANDALONE On)
endif()
option(CMAKE_COMPILE_WARNING_AS_ERROR "Enable warnings-as-error" ON)
option(HAL_TI_BUILD_TESTS "Enable building the tests" Off)
option(HAL_TI_INCLUDE_DEFAULT_INIT "Include default initialization code; turn off when providing custom initialization" ON)
option(HAL_TI_BUILD_EXAMPLES "Enable build of the examples" OFF)
option(HAL_TI_BUILD_EXAMPLES_FREERTOS "Enable build of the FreeRTOS example" OFF)
if (HAL_TI_BUILD_TESTS)
# CTest cannot be included before the first project() statement, but amp-embedded-infa-lib
# needs to see that test utilities need to be built.
set(BUILD_TESTING On)
endif()
if (HAL_TI_STANDALONE)
set(EMIL_INCLUDE_FREERTOS ${HAL_TI_BUILD_EXAMPLES_FREERTOS})
include(FetchContent)
FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/embedded-pro/embedded-infra-lib.git
GIT_TAG 9c3d4c32bba0123abdc0013b8b9d5aea26e1f103 # Unreleased
)
add_definitions(-DEMIL_ENABLE_TRACING=1)
set(EMIL_INCLUDE_MBEDTLS Off CACHE BOOL "" FORCE)
set(EMIL_ENABLE_DOCKER_TOOLS Off CACHE BOOL "" FORCE)
set(EMIL_INCLUDE_ECHO Off CACHE BOOL "" FORCE)
set(EMIL_INCLUDE_LWIP Off CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(emil)
endif()
project(hal_ti LANGUAGES C CXX ASM VERSION 2.0.0) # x-release-please-version
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED On)
set_directory_properties(PROPERTY USE_FOLDERS ON)
# When building hal-ti by itself do not exclude any targets from all
# Libraries will only be excluded from all when hal-ti is a consumed as a dependency.
if (HAL_TI_STANDALONE)
set(HAL_TI_EXCLUDE_FROM_ALL "")
else()
set(HAL_TI_EXCLUDE_FROM_ALL "EXCLUDE_FROM_ALL")
endif()
if (HAL_TI_BUILD_TESTS)
include(CTest)
emil_enable_testing()
endif()
add_subdirectory(tiva)
add_subdirectory(hal_tiva)
if (HAL_TI_BUILD_EXAMPLES OR HAL_TI_BUILD_EXAMPLES_FREERTOS)
add_subdirectory(examples)
endif()
if (HAL_TI_STANDALONE)
add_subdirectory(integration_test)
endif()
emil_clangformat_directories(hal_tiva DIRECTORIES .)
if (HAL_TI_STANDALONE)
emil_folderize_all_targets()
endif()
set(CPACK_GENERATOR "ZIP;TGZ")
set(CPACK_SOURCE_IGNORE_FILES ".vs/;.git/;build/")
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
set(CPACK_PACKAGE_DESCRIPTION "${PROJECT_DESCRIPTION}")
set(CPACK_DEBIAN_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")
set(CPACK_RPM_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")
set(CPACK_PACKAGE_HOMEPAGE_URL "${PROJECT_HOMEPAGE_URL}")
set(CPACK_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
include(CPack)
cmake_minimum_required(VERSION 3.24)

if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(HAL_TI_STANDALONE On)
endif()

option(CMAKE_COMPILE_WARNING_AS_ERROR "Enable warnings-as-error" ON)
option(HAL_TI_BUILD_TESTS "Enable building the tests" Off)
option(HAL_TI_INCLUDE_DEFAULT_INIT "Include default initialization code; turn off when providing custom initialization" ON)
option(HAL_TI_BUILD_EXAMPLES "Enable build of the examples" OFF)
option(HAL_TI_BUILD_EXAMPLES_FREERTOS "Enable build of the FreeRTOS example" OFF)

if (HAL_TI_BUILD_TESTS)
# CTest cannot be included before the first project() statement, but amp-embedded-infa-lib
# needs to see that test utilities need to be built.
set(BUILD_TESTING On)
endif()

if (HAL_TI_STANDALONE)
set(EMIL_INCLUDE_FREERTOS ${HAL_TI_BUILD_EXAMPLES_FREERTOS})

include(FetchContent)

FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/embedded-pro/embedded-infra-lib.git
GIT_TAG 9c3d4c32bba0123abdc0013b8b9d5aea26e1f103 # Unreleased
)

add_definitions(-DEMIL_ENABLE_TRACING=1)

set(EMIL_INCLUDE_MBEDTLS Off CACHE BOOL "" FORCE)
set(EMIL_ENABLE_DOCKER_TOOLS Off CACHE BOOL "" FORCE)
set(EMIL_INCLUDE_ECHO Off CACHE BOOL "" FORCE)
set(EMIL_INCLUDE_LWIP Off CACHE BOOL "" FORCE)

FetchContent_MakeAvailable(emil)
endif()

project(hal_ti LANGUAGES C CXX ASM VERSION 2.1.0) # x-release-please-version

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED On)

set_directory_properties(PROPERTY USE_FOLDERS ON)

# When building hal-ti by itself do not exclude any targets from all
# Libraries will only be excluded from all when hal-ti is a consumed as a dependency.
if (HAL_TI_STANDALONE)
set(HAL_TI_EXCLUDE_FROM_ALL "")
else()
set(HAL_TI_EXCLUDE_FROM_ALL "EXCLUDE_FROM_ALL")
endif()

if (HAL_TI_BUILD_TESTS)
include(CTest)
emil_enable_testing()
endif()

add_subdirectory(tiva)
add_subdirectory(hal_tiva)
if (HAL_TI_BUILD_EXAMPLES OR HAL_TI_BUILD_EXAMPLES_FREERTOS)
add_subdirectory(examples)
endif()
if (HAL_TI_STANDALONE)
add_subdirectory(integration_test)
endif()

emil_clangformat_directories(hal_tiva DIRECTORIES .)

if (HAL_TI_STANDALONE)
emil_folderize_all_targets()
endif()

set(CPACK_GENERATOR "ZIP;TGZ")
set(CPACK_SOURCE_IGNORE_FILES ".vs/;.git/;build/")
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
set(CPACK_PACKAGE_DESCRIPTION "${PROJECT_DESCRIPTION}")
set(CPACK_DEBIAN_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")
set(CPACK_RPM_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")
set(CPACK_PACKAGE_HOMEPAGE_URL "${PROJECT_HOMEPAGE_URL}")
set(CPACK_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")

include(CPack)
Loading