-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix make exporters compilation #3243
Conversation
This fixes an issue with make_iar, since IAR requires all libraries that are linked to be prefixed with 'lib'.
/morph export-build |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 4 All exports and builds passed! |
Woohoo, make exporter coverage! Now to make sure I didn't break anything else 😄 /morph test |
LGTM! Will update our driver build script. |
Result: NOT_BUILTYour command has finished executing! Here's what you wrote!
|
/morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: null Examples Build failed! |
@bridadan Failure in the examples step : |
@0xc0170 Looks like the clone for that example failed:
Must have been a hiccup on the developer site. I'll go ahead and restart the tests. /morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 1050 All builds and test passed! |
If you have a second, @jeremybrodt and @fvincenzo could you please take a look at the changes I've made? We'd like to get this in ASAP. |
Sorry I haven't gotten to it yet. I will look at it today. |
Looks good to me. The mbed-cli should be updated to generate library names that match this new convention. |
Didn't even think about that, good thinking. @theotherjimmy does that make sense to you? |
Also, upon @fvincenzo's request, I've changed the BEETLE reviewer to @mmorenobarm. Could you please take a look at these changes? |
LGTM! |
@bridadan @jeremybrodt Yes I can make the tools generate libraries following the convention. What is the command you are using to create them? |
It'd be something along the lines of |
Ports for Upcoming Targets Fixes and Changes 3127: Fixed the issue about push/pop of VFP register. ARMmbed/mbed-os#3127 3176: Modifying micro:bit pin names to mirror micro:bit edge connector ARMmbed/mbed-os#3176 3160: Fix wrong index at LPC43xx tx end ring assignment ARMmbed/mbed-os#3160 3217: Add I2C_ASYNCH capability for DISCO_F469NI ARMmbed/mbed-os#3217 3211: [NUC472/M453] Support single UART shared by multiple serial objects and other updates ARMmbed/mbed-os#3211 3198: NUCLEO_F410RB: Add I2C_ASYNCH capability ARMmbed/mbed-os#3198 3194: Update K64 sdk drivers ARMmbed/mbed-os#3194 3159: User trim values for NCS36510 ARMmbed/mbed-os#3159 3243: Fix make exporters compilation ARMmbed/mbed-os#3243 3231: STM32F3: DISCO_F303VC - Add missing UART and ADC pin muxing options ARMmbed/mbed-os#3231 3233: K20xx Calculate PWM clock relative to bus clock ARMmbed/mbed-os#3233 3237: Added back USART 6 pins ARMmbed/mbed-os#3237 3253: Fix default polarity on LPC43XX PWM driver ARMmbed/mbed-os#3253 3238: Dev i2c stm32f4hal ARMmbed/mbed-os#3238 3251: Dev stm32l0 cube v1.7.0 ARMmbed/mbed-os#3251 3252: [NORDIC - NRF51 - MBED 2] Fix non handled RTC IRQ ARMmbed/mbed-os#3252
Description
IAR requires all pre-built libraries that are linked in to be prefixed with lib. This is a problem when used with the make exporters for a few platforms since the libraries do not have this prefix. This standardizes the prefix of lib for all pre-built libraries in the codebase.
There was also an assembly file that was using mixed notation for comments, switching between
; <COMMENT>
and/* <COMMENT> */
. This was causing issues for make with ARM compiler, so I've changed it to use only;
.Status
READY
Migrations
If this PR changes any APIs or behaviors, give a short description of what API users should do when this PR is merged.
NO
Todos
Steps to test or reproduce
Currently if you try and export mbed-os-example-blinky and use the
make_iar
exporter, you'll receive an error for the following platforms: MAX32620HSP, MAXWSNENV, UBLOX_EVK_ODIN_W2.After this PR, the example will compile correctly with Make.