Hello everyone,
I'm having a trouble with using analog electrical conductivity sensor when using STM32F103C8 (20k RAM. 64k Flash), program with Arduino IDE. I copied library from https://github.com/DFRobot/DFRobot_EC but it didn't work with this error:
c:/users/dell/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: C:\Users\DELL\AppData\Local\Temp\arduino_build_86827/DFRobot_EC_Test.ino.elf section .text' will not fit in region
rom'
c:/users/dell/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: region `rom' overflowed by 15752 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
I think this problem maybe the library using for kit Arduino. But I dont know how to adjust this library to be suit for kit STM32F103C8.
Please help me