Skip to content

Sync to latest mbed-os #2

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

Merged
merged 365 commits into from
Mar 4, 2020
Merged

Sync to latest mbed-os #2

merged 365 commits into from
Mar 4, 2020

Conversation

juliensu
Copy link

@juliensu juliensu commented Mar 4, 2020

Summary of changes

Impact of changes

Migration actions required

Documentation


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


ccli8 and others added 30 commits February 13, 2020 11:24
TEST: Refactor mbedmicro tests to use utest framework
FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c
…of-STM32-Boards

EthernetInterface fix detecting change of connection status on ARCH_MAX
Disable restricted uart peripheral for NRF52840
FIX: LPUART clock source selection should be left to serial driver
add FLASHIAP in targets.json for KVStore used in PDMC
Cellular : add modem version in mbed trace
This is a minor optimisation to the mcr20a-rf-driver code:
1. The function parameter is 'uint8_t *byteArray',  (byteArray == NULL) instead of using (byteArray == 0). The code is more readable.
According to GCC man:
To use the link-time optimizer, -flto and optimization options should be
specified at compile time and during the final link. It is recommended
that you compile all the files participating in the same link with the
same options and also specify those options at link time.

Additionally, move the '-g3' flag out of 'common' flags in the debug
profile. Although the '-g' is correctly ignored by the linker, the
'-glevel' is not and causes a build error "ld: unrecognized option
'-g3'".
This fixes the undefined reference to 'main' that arose after adding
the "-flto" flag to compilation.

This was the case for combined "-Wl,--wrap,main" and "-flto" flags.
Disable the lto for the default develop and release prifiles and move
the flags to tools/profiles/extensions/lto.json profile.

Usage:
mbed compile --profile release --profile tools/profiles/extensions/lto.json
This is a workaround for the GCC not using the strong symbols from
C files to override the weak symbols from ASM files. This GCC bug is only
present when building with the link-time optimizer (LTO) enabled. For
more details please see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967

This can be fixed by changing the order of object files in the linker
command; objects providing the weak symbols and compiled from assembly
must be listed before the objects providing the strong symbols.
To keep things simple, ALL object files from ASM are listed before
other object files.
…p' in a local

gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
Add BlockDevice unittests and fix issues they revealed
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
0xc0170 and others added 28 commits February 28, 2020 16:12
…_future_sequana

Remove reset reason from Future Sequana targets.
GCC: Fix the toolchain LTO workaround for Python 3
Remove explicit include of mbedtls/config.h
Stops using deprecated TCPSocket constructors and string-based APIs.
- PHY default configuration can be changed
  - AutoNegotiation
  - Speed
  - DuplexMode
- PHY register offset can be updated depending on chosen PHY

All unused parameters are cleaned.
Remove CriticalSectionLock deprecated APIs
tests-integration-net-single: fix build error
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435)
C++11-ify virtualisation in netsocket
allow reconfiguring a running watchdog
Inline nsapi_create_stack(NetworkStack)
Fix build failure when target's cmsis doesn't exist
…erdown

M487: Fix crash on WDT reset from power-down
Remove the deprecated CallChain class and its APIs
travis: scancode ret value not cat fix
STM32 EMAC : add configuration choice and connection check
@juliensu juliensu merged commit a1d9695 into macronix:master Mar 4, 2020
rogeryou pushed a commit that referenced this pull request Apr 14, 2020
Signed-off-by: PARKJIHOON <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.