Eclipse settings for BC66

use this eclipse and GCC from BC66 SDK folder (is none-eabi-hard or gcc from my PlatformIO port)
http://www.quectel.com/Qdownload/eclipse-cpp-kepler-SR2-win32.zip

So I do not have to use the external GCC but use that one present in BC66 SDK?

you can use whatever gcc-none-eabi-hard
hard gcc exist in BC66 SDK

I tried in every way but stil not working:

‘Building target: APPGS3MDM32A01.elf’
‘Invoking: ARM Windows GCC C Linker (Sourcery Lite Bare)’
arm-none-eabi-gcc -T"D:\Lavori\OpenCpu\BC66_OpenCPU_NB1_SDK_V1.5_S02_Eclipse\libs\gcc\linkscript.ld" -nostartfiles -Xlinker --gc-sections -L"D:\Lavori\OpenCpu\BC66_OpenCPU_NB1_SDK_V1.5_S02_Eclipse\libs\gcc" -L"C:\sdk\arm-none-eabi\lib\thumb" -L"C:\sdk\lib\gcc\arm-none-eabi\4.8.3\thumb" -L"C:\sdk\arm-none-eabi\bin" -Wl,-Map,“APPGS3MDM32A01.map” -Rbuild -march=armv4 -mthumb-interwork -mfloat-abi=hard -mfpu=vfp -o “APPGS3MDM32A01.elf” ./ril/src/ril_atResponse.o ./ril/src/ril_dfota.o ./ril/src/ril_init.o ./ril/src/ril_lwm2m.o ./ril/src/ril_mqtt.o ./ril/src/ril_network.o ./ril/src/ril_sim.o ./ril/src/ril_socket.o ./ril/src/ril_system.o ./ril/src/ril_urc.o ./ril/src/ril_util.o ./custom/config/custom_sys_cfg.o ./custom/config/sys_config.o ./custom/main.o -lapp_start -lm -lc -lgcc
c:/sdk/bin/…/lib/gcc/arm-none-eabi/4.7.2/…/…/…/…/arm-none-eabi/bin/ld.exe: error: APPGS3MDM32A01.elf uses VFP register arguments, C:\sdk\arm-none-eabi\lib\thumb\libc.a(lib_a-memset.o) does not
c:/sdk/bin/…/lib/gcc/arm-none-eabi/4.7.2/…/…/…/…/arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\sdk\arm-none-eabi\lib\thumb\libc.a(lib_a-memset.o)
collect2.exe: error: ld returned 1 exit status
make: *** [APPGS3MDM32A01.elf] Error 1

I’m able to compile M66 projet but not BC66 :frowning:

Mirko,
GCC for M66 can compile CPUs only Soft Float
for BC66 need GCC with Hard Float

Hello Georgi

I dit it

but the linker complain mismatch mode Soft and hard

it seem that the library lib_a-memset.o has been compiled as soft.

:frowning:

This ( in red ) GCC is from M66 and support only Soft Float
BC66 api library is compiled with Hard Float GCC compiler ( exist in BC66 SDK )

change this with your gcc-hard-float and Prefix

Hi Georgi in the Zip that I received form Qualtel support the gcc-none-eabi-hard was missing .

could you share it please?

Mirko

huh 150 Mega :slight_smile: please ask from Quectel for link
or IF you install platformIO port for Quectel there is GCC
look at
C:\Users\USER_NAME \ .platformio\packages\toolchain-gccarmnoneeabi
prefix is: arm-none-eabi-

Ok Georgi,

I’ll try to ask them for download link.

But I do not understand…

Why thy do not let that info public?

Is very hard to find information and keep informed on new release.

:pensive:

Compiled :slight_smile:

thanks a lot Georgi

you welcome :slight_smile: