ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.63k stars 2.96k forks source link

Adding RTL8711, RTL8710 #4643

Closed malachib closed 6 years ago

malachib commented 7 years ago

Description


Question

I am excited to see Ameba support officially materializing in mbed-os! Any chance the RTL871x series are invited to the party?

0xc0170 commented 7 years ago

cc @Archcady

Archcady commented 7 years ago

Hi @malachib, thank you for your interest. The latest mbed-os 5.5 does not support our RTL871x series. And for future support, it still need some research before any decision is made.

malachib commented 7 years ago

OK, thank you for the response. I hope RTL871x does get targeted, as an inexpensive & easy WiFi SoC mbed OS solution would be pretty sweet

xiangzhai commented 6 years ago

Hi @Archcady thanks for your kind response! mbed-os-example-wifi for RTL8195A target is including Realtek SDK, lib_wlan_mbed_gcc.a the static library's size is weird... #5517, mbed CMSIS RTOS wrapper, HAL, lwip, mbedtls, netsocket, filesystem, mbed rtos, drivers, platform, and events. If build with GCC ARM Embedded Toolchain, the binary size is 367KB, and ELF size:

   text    data     bss     dec     hex filename
 275232   54704  473484  803420   c425c mbed-os-example-wifi.elf

The binary size is OK for RTL8195A, but might too big for RTL8710BN. I argue that: it might doesn't need freertos_intfs.o, freertos_isr.o, freertos_recv.o, freertos_xmit.o, freertos_ioctl.o, freertos_mp.o or freertos_skbuff.o for mbed-os? Realtek SDK supports freertos, ecos and mbed-os, but perhaps it might be able to delete useless object files only for mbed? And there are .debug_str, .debug_abbrev, .debug_info, .debug_frame, .debug_line sections in the object files, so perhaps it might be able to turn off -g debug and open -O3 optimization? Please give me some hint about how to tailor, @0xc0170 and please how to make mbed-os smaller :) thanks a lot!

Regards, Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/

ciarmcom commented 6 years ago

ARM Internal Ref: MBOTRIAGE-315

0xc0170 commented 6 years ago

Thanks for your interest for these platforms. There is currently no plan to add support. @Archcady please correct me if it is.

Feel free to add these as new targets via new pull request. I'll close the issue as won't fix.

janjongboom commented 5 years ago

FYI https://github.com/ARMmbed/mbed-os/pull/7965