Commit Graph

14 Commits (212e9477d3928d693aacec9b8cd25b6192ea8e6e)

Author SHA1 Message Date
Phyo Kyaw 87304f8812 Updated to include user defined static lib files in the Linker object files path.
### 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
2018-08-13 09:19:47 +01:00
Jimmy Brisson ed7793de65 Add clean methods to many more exporters 2018-02-22 14:46:21 -06:00
Jimmy Brisson 8d7311d38d Avoid blowing away .mbedignore files in exporters 2018-02-16 14:45:55 -06:00
Cruz Monrreal 6da5d54e40
Merge pull request #5933 from phyokyaw/master
Add OpenOCD 5x launch file to e2 studio and update naming
2018-01-29 10:10:08 -06:00
Phyo Kyaw d3ac7d3997 Updated exporter for e2 studio: added new launch file 2018-01-23 17:16:26 +00:00
TomoYamanaka 87968c2536 Enable exporter for GR_LYCHEE is a Renesas new target board
I added GR_LYCHEE as a new target board in DS-5, e2studio and IAR export.
2018-01-16 13:30:31 +09:00
Jimmy Brisson 44e72fdc7d Correct typo? in e2studio exporter code 2017-12-05 10:01:15 -06:00
Jimmy Brisson 1a04b0a7b4 Merge pull request #5052 from mbedNoobNinja/Branch_Export
ds5 & e2studio export fix
2017-09-29 10:09:30 -05:00
mbedNoobNinja 3ba6620521 "ds5_5 & e2studio export fix" 2017-09-11 09:30:43 +03:00
Phyo Kyaw 2cbca704d8 e2 studio exporter update 2017-08-23 17:00:55 +01:00
Jimmy Brisson 1c4d615912 Deprecate e2studio 2017-07-11 11:15:43 -05:00
Phyo Kyaw a301527c71 This change is for RZ_A1H and VK_RZ_A1H target. 2017-03-14 14:08:01 +00:00
mbedNoobNinja d627bf2d1f Export IDE support added 2017-01-31 10:23:21 +02:00
Jimmy Brisson ad58ec47e0 Move e2studio into its own folder 2017-01-17 12:38:40 -06:00