Commit Graph

31649 Commits (58c0319b287bfcc785ab832788290ee05109d9c9)

Author SHA1 Message Date
Martin Kojtal e8a3282181
Merge pull request #13816 from pennam/patch-stm32-usbhs-pull
STM32: allow HS USB endpoints and increase USB OTG_HS endpoints number
2020-11-11 08:27:19 +00:00
Martin Kojtal f550ed3bd5
Merge pull request #13802 from jeromecoutant/PR_FLASH_F4
STM32F4 FLASH API update
2020-11-11 08:26:44 +00:00
Martin Kojtal 43ff4ae865
Merge pull request #13874 from jeromecoutant/PR_F3_11
STM32F3 update drivers version to CUBE V1.11.1
2020-11-11 08:26:25 +00:00
Martin Kojtal 0909f6fac6
Merge pull request #13882 from hugueskamba/hk_cmake_use_relative_paths
CMake: Use relative paths to list source files and directories
2020-11-11 08:25:55 +00:00
Martin Kojtal dc0ef45f9e mergify: fix travis rename check 2020-11-11 08:22:43 +00:00
Heuisam Kwag eb32b25c8a SIDK_S1SBP6A: fix to support rtc range from 0 to 0xEFFFFFFF
BP6A do not support from 0 to 0xEFFFFFFF in SOC.
This patch fixes it in s/w manner.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-11 13:54:32 +09:00
Hugues Kamba a70edcda0a CMake: Fix error that prevented re-build
Promote MBED_TOOLCHAIN_FILE_USED to cache variable so
its previous state can be recalled when re-building. This
is because CMAKE_TOOLCHAIN_FILE is also a cache variable and its
value is set on first run when it has not been set.
2020-11-10 19:54:47 +00:00
Hugues Kamba 97c7a38bec CMake: Specify mbedtools in the build instructions
mbedtools provides a more user friendly UX for
building application.
2020-11-10 18:54:30 +00:00
jeromecoutant f7a2247442 STM32 : enable OSPI for DISCO_L562QE 2020-11-10 18:38:21 +01:00
jeromecoutant 4cf3a7f0f2 OSPIF: dummy cycles update 2020-11-10 18:38:21 +01:00
jeromecoutant 4d8127223c OSPI test: dummy cycle update 2020-11-10 18:38:21 +01:00
jeromecoutant 3697167b73 STM32: add OSPI capability
PeripheralPins.c and PinNames.h files
generated by STM32_gen_PeripheralPins.py v1.17
2020-11-10 18:37:51 +01:00
Martin Kojtal afb37068ea
Merge pull request #13847 from harmut01/pbl_scancode_fix
Add workaround for files with permissive binary licenses
2020-11-10 16:38:38 +00:00
Martin Kojtal f9737a2dd4
Merge pull request #13886 from Patater/too-old-requirements
Don't require too old mbed tools
2020-11-10 16:36:50 +00:00
Martino Facchin f1ea281613 STM32: USB: allow more endpoints for OTG_HS ports 2020-11-10 17:22:29 +01:00
Martino Facchin db7954bc9b STM32: allow high speed USB endpoints 2020-11-10 17:22:28 +01:00
Teemu Takaluoma f74b1293c2 MIMXRT1050_EVK return bootloader support 2020-11-10 15:29:24 +02:00
adbridge 3cdc0f4b3d Remove nanostack border router from examples list
nanostack border router is now owned by ISG and has been moved
out of ARMmbed and into their organisation. ISG will be
responsible for updating and testing this example going forward.
2020-11-10 11:52:47 +00:00
Arto Kinnunen c8c2e5437f Merge commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe'
* commit '48fcb2ba25d66cbcc3be602a7662306caae0f9fe':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..715ae9a693
2020-11-10 13:47:13 +02:00
Arto Kinnunen 48fcb2ba25 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..715ae9a693
715ae9a693 Merge remote-tracking branch 'origin/release_internal' into release_external
42c9807207 Nanostak trace level configuration (#2489)
6f5217119a Bug fix: socket reference count made 16-bit (#2490)
f51669adc7 Bug fix: Do not print UFSI drift when fixed channel is used (#2488)
18fa0486e3 RPL DAO timeout update:
660e178506 Clear debug traces.
cbac0bbca4 DIO init send block for node
fed5d1c819 Created different MPL configuration based on network size
7ad7e81209 Wi-SUN recovery and BR BSI update:
d207f4d9f9 Merge branch 'release_internal' into release_external
d166c89427 MPL: buffered max limit increased to 8k (#2482)
0f6666a97e Fixed Unit test's
1ff9b1d6c6 LLC drop a packet if FHSS shedule is not configured.
7cecc28c98 Fixed missing asynch trigle setup stop at if down process
7a8b2bfd98 Wi-SUN fhss API default value setting fixes
164a3706c6 Fixed coverity issues from management API
8b5b433284 Corrected out of bounds access coverity warning (#2475)
4ffe6a12cc Multicast forwarding is separated from the routing flag
30f431581d Wi-SUN discovery staten enter upxdate
083b84e9c5 Iotthd 4308 (#2473)
fcc33d559c Removed time increment from NVM time read function on interface up
9c8e3afc9f fhss_tx_handle update
5491a6b052 Fixed UFSI update print function (#2470)
86f64c58b6 FHSS WS: Check if BC schedule is stopped before computing timeout delay (#2469)
a0b112a97b Corrected defects and coding style
2f4678a2f2 Corrected trace macro
5e967515ee Distributed key storage NVM writes to longer time period
9b3891fffb FHSS WS: handle blocked interrupts (#2466)
a792e832de Added validation at MAC ack buffer handler
2a465b2e49 DNS configuration lifetime validation

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 715ae9a69376af5c96d53e5445b0d280ee1edf28
2020-11-10 13:47:13 +02:00
Martin Kojtal 6068428209
Merge pull request #13885 from jamesbeyond/cmake_ble
TEST: update cmake example on ble examples
2020-11-09 20:33:21 +00:00
Jaeden Amero c95d2b32b1 Don't require too old mbed tools
Don't require too old of a version of mbed-greentea, mbed-host-tests, or
mbed-ls. We conservatively limit the versions to less than 2.0 for now,
in case we'ld like to break backwards compatibility in the future.
2020-11-09 16:11:42 +00:00
Qinghao Shi 776ad7aa90 TEST: update cmake example on ble examples 2020-11-09 15:39:29 +00:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Martin Kojtal 22d926fe8a
Merge pull request #13566 from ARMmbed/feature-cmake
CMake: Add initial support
2020-11-09 08:07:03 +00:00
Abbas Bracken Ziad 877436cc29 Replace calls to deprecated functions in the Timer API 2020-11-06 18:00:51 +00:00
Rajkumar Kanagaraj 073ae1d343 CMake: Validate selected application profile (#13856)
Check if the selected application profile is supported by the selected Mbed Target
2020-11-06 17:25:23 +00:00
Hugues Kamba 66f65c0e89 CMake: Fix third party toolchain file suppport
Compile defintions are always included. However, functions that set compile options
are only called if a third party toolchain file is not used
2020-11-06 17:25:23 +00:00
Hugues Kamba 0bf4683f46 CMake: Set compile defintions for supported toolchain at top level input source file
The compile defintions should always be added depending on the
selected toolchain.
mbed_set_toolchain_options() should only be called if a third-party
toolchain file has not been used as it has compile options that can
cause conflicts.
2020-11-06 17:25:23 +00:00
Hugues Kamba 46c35965c5 CMake: Create separate function to set MCU core compile defintions
The new function (mbed_set_cpu_core_definitions()) should always be
called as it has defintions needed by Mbed OS to work with that
particular MCU core.
mbed_set_cpu_core_options() should only be called if a third-party
toolchain file has not been used as it has compile options that can
cause conflicts.
2020-11-06 17:25:23 +00:00
Rajkumar Kanagaraj 76f4953688 CMake: Remove depth level argument to match map console prints the same depth
and format as old mbed-CLI
2020-11-06 17:25:23 +00:00
Hugues Kamba 3fa52b9312 CMake: Fix Microlib selection (#13871)
As the assembler does not seem to recognise the request to the
linker to use microlib, remove that instruction.
Microlib is still used as the linker selects microlib as a result
of being explicitly asked to do so.
2020-11-06 17:25:23 +00:00
Martin Kojtal d48415cc67 CMake nrf52480: fix startup/linker inclusion 2020-11-06 17:25:23 +00:00
Hugues Kamba e80fa8b715 CMake: Rename Mbed OS path variable for consistency
Rename the CMake variable expected from applications from MBED_ROOT to
MBED_PATH to be consistent with the naming used for the configuration file
(MBED_CONFIG_PATH) also expected from applications.
2020-11-06 17:25:23 +00:00
Ladislas de Toldi 76cf2f7232 Activate ccache for CMake 2020-11-06 17:25:23 +00:00
Martin Kojtal 7a32e42a60 CMake readme: update mbed-tools to 3.4 2020-11-06 17:25:23 +00:00
Martin Kojtal e77c5324eb CMake: 3.19.0 update to fix ARMClang ASM defines 2020-11-06 17:25:23 +00:00
Martin Kojtal 9faeadc522 CMake: ninja reponse files disabled for ARMClang on Windows
Issue https://gitlab.kitware.com/cmake/cmake/-/issues/21093

Until this is fixed, we should disable response files for ARMClang + ninja on Windows.
Other toolchains and host systems should benefit from response files thus not disabling them
completely.

This fixes the issue with not finding includes. It's not trivial to find the root cause, it took me a while to figure out why ARMClang can't find the paths.

I moved the check to Mbed OS main cmake. It should not be in the toolchain file as it is not
related to the toolchain but to generator. We need toolchain properly set up first.

Note, I had to protect setting CMAKE_NINJA_FORCE_RESPONSE_FILE. If I set it to 0, ninja
would still use rsp files so I rather protected it and define that variable only when
required, not always.

Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-11-06 17:25:23 +00:00
Qinghao Shi bf552af039 TEST: use mbed-tools build wrapper replace cmake build commands 2020-11-06 17:25:23 +00:00
Qinghao Shi 3558a7aa0e restrict BLE example only build BLE_LED 2020-11-06 17:25:23 +00:00
Qinghao Shi c391accc1b TEST: fix a bug on example scripts 2020-11-06 17:25:23 +00:00
Qinghao Shi 411ea55716 TEST: add BLE example to cmake example json 2020-11-06 17:25:23 +00:00
Qinghao Shi 0bb812a706 TEST: remove cmake build test from TravisCI 2020-11-06 17:25:23 +00:00
Qinghao Shi 2d67c670b8 TEST: update example scripts for cmake 2020-11-06 17:25:23 +00:00
Martin Kojtal 062bb5faf0 Update CMakeLists.txt
Co-authored-by: Rajkumar Kanagaraj <45570536+rajkan01@users.noreply.github.com>
2020-11-06 17:25:23 +00:00
Martin Kojtal 52bc5b569c CMake: fix the output bin-hex file
$<TARGET_FILE:${target}> is the output from CMake. As it can contain suffix for some toolchains, we can use ${target} instead (output from hex/bin generation).
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj 7171f62489 Replace PUBLIC to INTERFACE keyword 2020-11-06 17:25:22 +00:00
Hugues Kamba e0aa49ffcf CMake: Add support for NUCLEO_F303K8
Added the board so it can be used for testing the bare-metal profile on a Mbed 2 board
2020-11-06 17:25:22 +00:00
Martin Kojtal f8a02ce5de Update rtos/CMakeLists.txt
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj e7c0d93ad4 CMake: add mbed-os and mbed-baremetal targets
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core

The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.

This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00