Other Parts Discussed in Thread: CC2652R7, CC2340R5
Hi Teams,
I would like to run shutdown mode by LEFT botton pressed then wakeup mode by the same LEFT button pressed based on board of LP-EM-CC2340R5
Due to not found the shutdown example directly so I try to refer based on C:\ti\simplelink_cc13xx_cc26xx_sdk_7_10_01_24\examples\rtos\LP_CC2652R7\drivers\gpioshutdown
Now I got the compilation failures on the followings,
(1) Picture:
(2) The same as above: in text
**** Build of configuration Debug for project gpiointerrupt_LP_EM_CC2340R5_freertos_ticlang ****
"C:\\ti\\ccs1230\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../gpioshutdown.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-armllvm_2.1.3.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -Oz -I"C:/Users/paull_0duwwil/Dropbox/TI_CC2340R5Project/workspace_V0220_CC2340R5_CCS1230_SDK7100035_BLE5_GPIO_standby/gpiointerrupt_LP_EM_CC2340R5_freertos_ticlang" -I"C:/Users/paull_0duwwil/Dropbox/TI_CC2340R5Project/workspace_V0220_CC2340R5_CCS1230_SDK7100035_BLE5_GPIO_standby/gpiointerrupt_LP_EM_CC2340R5_freertos_ticlang/Debug" -I"C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source" -I"C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/kernel/freertos" -I"C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source/ti/posix/ticlang" -I"C:/ti/FreeRTOSv202104.00/FreeRTOS/Source/include" -I"C:/ti/FreeRTOSv202104.00/FreeRTOS/Source/portable/GCC/ARM_CM0" -DDeviceFamily_CC23X0R5 -gdwarf-3 -MMD -MP -MF"gpioshutdown.d_raw" -MT"gpioshutdown.o" -I"C:/Users/paull_0duwwil/Dropbox/TI_CC2340R5Project/workspace_V0220_CC2340R5_CCS1230_SDK7100035_BLE5_GPIO_standby/gpiointerrupt_LP_EM_CC2340R5_freertos_ticlang/Debug/syscfg" @"syscfg/ti_utils_build_compiler.opt" -o"gpioshutdown.o" "../gpioshutdown.c"
subdir_rules.mk:9: recipe for target 'gpioshutdown.o' failed
In file included from ../gpioshutdown.c:58:
In file included from C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/sys_ctrl.h:78:
In file included from C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/pwr_ctrl.h:70:
C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/osc.h:195:19: error: use of undeclared identifier 'AUX_DDI0_OSC_BASE'
DDI16BitWrite(AUX_DDI0_OSC_BASE, DDI_0_OSC_O_CTL0, DDI_0_OSC_CTL0_XOSC_HF_POWER_MODE,
^
C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/osc.h:217:25: error: use of undeclared identifier 'AUX_DDI0_OSC_BASE'
DDI16BitfieldWrite( AUX_DDI0_OSC_BASE, DDI_0_OSC_O_CTL0,
^
C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/osc.h:240:25: error: use of undeclared identifier 'AUX_DDI0_OSC_BASE'
DDI16BitfieldWrite( AUX_DDI0_OSC_BASE, DDI_0_OSC_O_CTL0,
^
C:/ti/simplelink_lowpower_f3_sdk_7_10_00_35/source\ti/devices/cc23x0r5/driverlib/osc.h:324:31: error: use of undeclared identifier 'AUX_DDI0_OSC_BASE'
return (DDI16BitfieldRead(AUX_DDI0_OSC_BASE, DDI_0_OSC_O_STAT0,
Here working project based on,
- PROJECT: C:\ti\simplelink_lowpower_f3_sdk_7_10_00_35\examples\rtos\LP_EM_CC2340R5\drivers\gpiointerrupt
- EVM: LP-EM-CC2340R5
- SDK: simplelink_lowpower_f3_sdk_7_10_00_35
- IDE: CCS V12.3.0
- OS: Windows 10
Regards,
Kevin