10 years, 2 months ago.

Newb question about gcc

Hello all,

I've been looking at the different mbed platforms, and am excited to dive in. I see that arm-gcc is supported by mbed, but I'm wondering if all of the various platforms support arm-gcc, or if only some of them do? I was specifically thinking about the LPC1114FN28 and ST Nucleo's. In short, I'd like to have a free linux compiler for mbed that is offline and am wondering if all the platforms support this equally, or if some platforms have better support for gcc?

Also, do all the official libraries work equally well with gcc, or do some of them work better with different compilers?

I'm just getting started so any hints about which platform would be best for an environment running on linux would be great. Thanks.

Josh

1 Answer

10 years, 2 months ago.

Hello Josh Grauman,

this platforms (targets per se) supports gcc export

        'LPC1768',
        'KL05Z',
        'KL25Z',
        'KL46Z',
        'K20D5M',
        'LPC4088',
        'LPC11U24',
        'LPC1114',
        'LPC11U35_401',
        'LPC11U35_501',
        'STM32F407',
        'DISCO_F100RB',
        'DISCO_F051R8',
        'DISCO_F407VG',
        'DISCO_F303VC',

Libraries should work with all supported toolchains, in case they don't fill, a new bug report or just fix it by yourself and send a new pull request.

Regards,
0xc0170

Accepted Answer

Thanks, that is really helpful. So from what I can see, the new ST Nucleo boards don't have gcc support. Is that likely to be added in the future? Is that a big porting job, or is there something else preventing gcc support? Thanks.

posted by Josh Grauman 19 May 2014