From fae0b0091878bba96f106455c3337227e9f68725 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 7 Aug 2020 17:53:28 +0200 Subject: [PATCH] cpu/cc26x0: set CPU_HAS_BITBAND > Bit-banding is supported in order to reduce the execution time for > read-modify-write (RMW) operations to memory. > With bit-banding, certain regions in the memory map > (SRAM and peripheral space) can use address aliases to access > individual bits in one atomic operation. https://www.ti.com/lit/ug/swcu117i/swcu117i.pdf --- cpu/cc26x0/include/cpu_conf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpu/cc26x0/include/cpu_conf.h b/cpu/cc26x0/include/cpu_conf.h index d2f54a9174..661b545c40 100644 --- a/cpu/cc26x0/include/cpu_conf.h +++ b/cpu/cc26x0/include/cpu_conf.h @@ -27,6 +27,11 @@ #include "cc26x0_fcfg.h" #include "cc26x0_prcm.h" +/** + * @brief Bit-Band configuration + */ +#define CPU_HAS_BITBAND 1 + #ifdef __cplusplus extern "C" { #endif