The ads is detector to monitor input voltage and current.
The mentor toolchain can't use double and float virable. so use arm-luminary-eabi-gcc now.