mbed.org

github.com/ARMmbed/mbed-os

STM32

Creating Console Output

Handbook

Introduction to the mbed OS 5 Handbook
mbed OS API References
Explore mbed

Old Handbook

Handbook
mbed SDK

GCC

# LD = 'arm-none-eabi-gcc' \
# '-Wl,--gc-sections' \
# '-Wl,--wrap,main' \
# '-Wl,--wrap,_malloc_r' \
# '-Wl,--wrap,_free_r' \
# '-Wl,--wrap,_realloc_r' \
# '-Wl,--wrap,_calloc_r' \
# '-Wl,--wrap,exit' \
# '-Wl,--wrap,atexit' \
# '-mcpu=cortex-m4' '-mthumb' '-mfpu=fpv4-sp-d16' '-mfloat-abi=softfp'

LD = 'arm-none-eabi-gcc' '-Wl,--gc-sections' '-mcpu=cortex-m4' '-mthumb' '-mfpu=fpv4-sp-d16' '-mfloat-abi=softfp'

[...]

# LD_FLAGS := \
# -Wl,--gc-sections \
# -Wl,--wrap,main \
# -Wl,--wrap,_malloc_r \
# -Wl,--wrap,_free_r \
# -Wl,--wrap,_realloc_r \
# -Wl,--wrap,_calloc_r \
# -Wl,--wrap,exit \
# -Wl,--wrap,atexit \
# -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp 

LD_FLAGS := -Wl,--gc-sections -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp

Leave a Reply

Your email address will not be published. Required fields are marked *