I am testing mbed os cellular example with bluepill and a simcom sim7000e modem. Bluepill flash is 64Kb, 20Kb RAM.
I get lot of errors
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_thread.o(.text.osRtxMutexObject).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_thread.o(.text.osRtxThreadId).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_timer.o(.text.osRtxMessageQueueId).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/targets/TARGET_STM/TARGET_STM32F1/STM32Cube_FW/STM32F1xx_HAL_Driver/stm32f1xx_hal.o(.text.HAL_MspInit).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/targets/TARGET_STM/TARGET_STM32F1/STM32Cube_FW/STM32F1xx_HAL_Driver/stm32f1xx_hal_tim.o(.text.HAL_TIM_Base_MspInit).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/targets/TARGET_STM/TARGET_STM32F1/STM32Cube_FW/STM32F1xx_HAL_Driver/stm32f1xx_hal_uart.o(.text.HAL_UART_MspInit).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/targets/TARGET_STM/mbed_overrides.o(.text.TargetBSP_Init).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/features/cellular/framework/AT/AT_CellularInformation.o(.rodata.str1.1).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/features/cellular/framework/AT/AT_ControlPlane_netif.o(.rodata.str1.1).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/features/lwipstack/lwip/src/api/lwip_api_msg.o(.rodata.netconn_aborted).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/features/lwipstack/lwip/src/api/lwip_api_msg.o(.rodata.netconn_reset).
>
> Error: L6406E: No space in execution regions with .ANY selector matching BUILD/NUCLEO_F103RB/ARMC6/mbed-os/features/lwipstack/lwip/src/api/lwip_api_msg.o(.rodata.netconn_closed).
>
> Error: L6406E: No space in execution regions with .ANY selector matching c:\ProgramData\Mbed Studio\mbed-studio-tools\ac6\bin..\lib\libcxx\libcpp_w.l(new.cpp.o)(.rodata._ZSt7nothrow).
>
> Error: L6407E: Sections of aggregate size 0xae1c bytes could not fit into .ANY selector(s).
>
> Not enough information to list the image map.
>
> Finished: 1 information, 1 warning and 1736 error messages.
How to reduce the memory usage.