where is the libc at wiced platform?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chch_2120956
Level 3
Level 3
First like received First like given

Dear ,

I want to reduce code,but don't find libc code at wiced sdk?

Making .gdbinit

snip_scan-BCM943362WCD2-FreeRTOS-LwIP-SDIO

----------------------------------|---------|---------|

                                  |         |  Static |

              Module              |  Flash  |   RAM   |

----------------------------------+---------+---------|

App                               |     596 |       8 |

Bootloader                        |     133 |       0 |

FreeRTOS                          |    6181 |     420 |

Host MCU-family library           |    7092 |    2431 |

Interrupt Vectors                 |     368 |       0 |

libc                              |   23644 |    2264 |

LwIP                              |   30124 |    2076 |

Networking                        |     686 |     281 |

Packet Buffers                    |       0 |   10512 |

Platform                          |     666 |       0 |

RAM Initialisation                |    2260 |       0 |

Startup Stack & Link Script fill  |     441 |     848 |

Wi-Fi Firmware                    |  204580 |       0 |

Wiced                             |    7961 |     314 |

WWD                               |   13588 |     138 |

----------------------------------+---------+---------|

TOTAL (bytes)                     |  298320 |   19292 |

----------------------------------|---------|---------|

Thanks!

0 Likes
2 Replies
Anonymous
Not applicable

WICED IDE links only required parts of libraries.

So I think you don't need to modify libc code.

If you want to shrink size of libc, please try reducing number of functions (provided by libc) used in your application.

0 Likes
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

In this case is the size of the library .../build/<build_project>/Libraries/common_GCC.a

-Seyhan

0 Likes