### Description This is to fix linker not finding symbols declared in object files inside static library files. For this case throwing:- > rm-none-eabi-g++: error: unrecognized command line option '--wrap=main'; did you mean '--warn-main'? For this case to include libmbed.a which contains mbed_alloc_wrappers.o: U __real__calloc_r U __real__free_r U __real__malloc_r U __real__memalign_r U __real__realloc_r 00000000 T __wrap__calloc_r 00000000 T __wrap__free_r 00000000 T __wrap__malloc_r 00000000 T __wrap__memalign_r 00000000 T __wrap__realloc_r 00000000 T free_wrapper 00000000 T malloc_wrapper 00000000 T mbed_stats_heap_get U memset This patch also changed the library order to system and then user. -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed Resolves: #7155 ### Pull request type [ x ] Fix [ ] Refactor [ ] Target update [ ] Feature [ ] Breaking change |
||
---|---|---|
.github | ||
TESTS | ||
cmsis | ||
drivers | ||
events | ||
features | ||
hal | ||
platform | ||
rtos | ||
targets | ||
tools | ||
.astyleignore | ||
.astylerc | ||
.coveragerc | ||
.gitattributes | ||
.gitignore | ||
.pylintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
DOXYGEN_FRONTPAGE.md | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
doxyfile_options | ||
doxygen_options.json | ||
logo.png | ||
mbed.h | ||
requirements.txt |
README.md
Arm Mbed OS is an open source embedded operating system designed specifically for the "things" in the Internet of Things. It includes all the features you need to develop a connected product based on an Arm Cortex-M microcontroller, including security, connectivity, an RTOS and drivers for sensors and I/O devices.
Mbed OS provides a platform that includes:
- Security foundations.
- Cloud management services.
- Drivers for sensors, I/O devices and connectivity.
Release notes
The release notes detail the current release. You can also find information about previous versions.
Getting started for developers
We have a developer website for asking questions, engaging with others, finding information on boards and components, using an online IDE and compiler, reading the documentation and learning about what's new and what's coming next in Mbed OS.
Getting started for contributors
We also have a contributing and publishing guide that covers licensing, contributor agreements and style guidelines.