I thought I’d have a quick play with the internal temperature sensor, so I grabbed the example from
../hardware/STM32F1/2016.11.18/libraries/A_STM32_Examples/examples/General/InternalTempSensor/InternalTempSensor.ino
.. but it fails to compile for the generic stm2f103 board with the following error
/home/ahull/.arduino15/packages/stm32duino/hardware/STM32F1/2016.11.18/libraries/A_STM32_Examples/examples/General/InternalTempSensor/InternalTempSensor.ino: In function 'void setup_temperature_sensor()':
InternalTempSensor:22: error: 'ADC_CR2_TSEREFE' was not declared in this scope
regs->CR2 |= ADC_CR2_TSEREFE;
^
exit status 1
'ADC_CR2_TSEREFE' was not declared in this scope