Arduino_STM32/STM32F1/variants/generic_stm32f103t
Floris Lambrechts 9b759c87f8 Fix F103T compilation error: remove const
Method adc_default_config still had the adc_dev* 'const' for F103T, but this doesn't compile.

For other boards, the 'const' was removed already.  See for example commits 0b34af3b6a and
2cdbbc8339.

Tested on Arduino IDE 1.6.13.

Compilation error message was along these lines:
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:183:34: error: invalid conversion from 'const adc_dev*' to 'adc_dev*' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:306:13: error:   initializing argument 1 of 'void adc_enable_single_swstart(adc_dev*)' [-fpermissive]
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:184:53: error: invalid conversion from 'const adc_dev*' to 'adc_dev*' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:268:6: error:   initializing argument 1 of 'void adc_set_sample_rate(adc_dev*, adc_smp_rate)' [-fpermissive]
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp: In function 'void setup_adcs()':
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:189:35: error: invalid conversion from 'void (*)(const adc_dev*)' to 'void (*)(adc_dev*)' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:282:13: error:   initializing argument 1 of 'void adc_foreach(void (*)(adc_dev*))' [-fpermissive]
2017-03-22 13:55:27 +01:00
..
board add generic STM32F103T[8B] variants 2015-10-27 10:41:08 +01:00
ld add generic STM32F103T[8B] variants 2015-10-27 10:41:08 +01:00
wirish Fix F103T compilation error: remove const 2017-03-22 13:55:27 +01:00
board.cpp add generic STM32F103T[8B] variants 2015-10-27 10:41:08 +01:00
pins_arduino.h add generic STM32F103T[8B] variants 2015-10-27 10:41:08 +01:00
variant.h Changed defines for MOSI, MISO etc into const static vars, to address compatibility issues 2016-05-03 20:23:51 +10:00