qba667 / FlySkyI6

14 channels FW modifications for FlySky I6
GNU General Public License v3.0
285 stars 72 forks source link

Help with compiling the firmware ((( #112

Closed maxtwin048 closed 4 years ago

maxtwin048 commented 4 years ago

Help me understand what the compilation problem is and what "Error 1" means?

Yenya commented 4 years ago

@maxtwin048 - it is explained in the documentation: https://github.com/qba667/FlySkyI6/wiki/Development You made the code bigger (in the .mod_code_E140_E754 section) and it does not fit between 0xE140 and 0xE754.

Also, the Issues in this repo are not meant as a help system - they are for reporting bugs and problems. If help is needed, you can for example join the rcgroups thread mentioned in the front page.

qba667 commented 4 years ago

@maxtwin048 Probably caused by compiler, we are using version 4.9.3. This one for sure will compile not changed code.

Yenya commented 4 years ago

FWIW, I use arm-none-eabi-gcc-cs-9.2.0-4.fc32.x86_64, arm-none-eabi-binutils-cs-2.32-3.fc32.x86_64, and arm-none-eabi-newlib-3.1.0-4.fc32.noarch. But yes, different toolchain versions can lead to different code segment sizes.