Commit Graph

422 Commits (59c03e1e75117279a6fe111f1a1887a9a7398714)

Author SHA1 Message Date
Martin Kojtal 57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
Martin Kojtal fad7f344e7
Merge pull request #13870 from rajkan01/feature-cmake-review-comment
CMake: Address review comment from PR#13566
2020-11-18 09:42:09 +00:00
Martin Kojtal 96f3de6914
Merge pull request #13910 from marcemmers/nrf-ble-config
Update NRF ble configuration options
2020-11-18 09:41:42 +00:00
Martin Kojtal 1bd5ce6af2
Merge pull request #13671 from balajicyp/topic/setsockopt_ip_tos
Add an socket option to set type of service to set specific precedence for QoS
2020-11-18 09:36:06 +00:00
Marc Emmers 01e56f1f34 Fix missing newline 2020-11-16 17:03:23 +01:00
Marc Emmers afc42b8fb7 Update NRF ble configuration options 2020-11-16 16:43:43 +01:00
Rajkumar Kanagaraj 438994ded4 Fix CI issue:
- Added absolute path as cmake failed to find linker file from relative path
- Added the missing MBED_CONF_CRYPTOCELL310_PRESENT
- Added the dependency library to BLE Cordio stack
2020-11-12 14:32:01 +00:00
Rajkumar Kanagaraj 4c05ce874a Remove add subdirectory of TARGET_MCU_NRF52840 as it contains only mbed_lib.json 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj cc7ae38fed CMake: Simplify inclusion of cryptocell310 library files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a044bfa9c1 CMake: Add more information to TODO comment 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj 766a9a8219 CMake: Remove empty input source files 2020-11-12 11:27:11 +00:00
Rajkumar Kanagaraj a4d8559c08 CMake: Rename input source files from CMakelists.txt to CMakeLists.txt 2020-11-12 11:27:10 +00:00
Martin Kojtal d5b4f42fcd
Merge pull request #13894 from noonfom/fix_compilation_warnings
Fix compilation warnings
2020-11-12 08:50:25 +00:00
Martin Kojtal e725df7d07
Merge pull request #13833 from AGlass0fMilk/privacy-enabled-cb-patch
Add new Gap::EventHandler callbacks to ChainableGapEventHandler class
2020-11-12 08:43:35 +00:00
Abbas Bracken Ziad 3e6cf78d6d Remove call to function-like macro with no effect 2020-11-11 14:23:42 +00:00
Martin Kojtal 5cbdbcb2d2
Merge pull request #13889 from artokin/nanostack_release_12_6_2
Nanostack release v12.6.2
2020-11-11 09:11:27 +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
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
Abbas Bracken Ziad 877436cc29 Replace calls to deprecated functions in the Timer API 2020-11-06 18:00:51 +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
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba c82e8c2337 CMake: Restore rtos api and netsocket presence macro names
The old tools rely on the old names to build
2020-11-06 17:25:22 +00:00
Hugues Kamba 0ddc75a8f6 CMake: Fix BLE private address linker error
List newly added files in CMake input source files.
2020-11-06 17:25:22 +00:00
Martin Kojtal 8529e88e61 cmake: fix present inclusion
We use only _PRESENT macros for components if they are enabled. Use the same in
the mbed.h file or anywhere else.
2020-11-06 17:25:21 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba e22b19d6db CMake: Fix build failure due to BLE dir changes 2020-11-06 17:25:21 +00:00
Hugues Kamba 9b8c5acb99 CMake: Fix build failure due to mbed-trace, mbed-client-randlib, and nanostack dir changes 2020-11-06 17:25:20 +00:00
Hugues Kamba ec376fb587 CMake: List missing files in sal-stack-nanostack 2020-11-06 17:25:20 +00:00
Hugues Kamba 0c8cb3134c CMake: Fix build failure due to PSA dir move 2020-11-06 17:25:20 +00:00
Hugues Kamba b3c614e921 CMake: Fix CORDIO_LL build failure
List missing CORDIO_LL source file in CMake source file.
2020-11-06 17:25:19 +00:00
Hugues Kamba 01ddb7d471 CMake: Fix NRF52840_DK build failure
* Remove duplicated ARM toolchain directory
* Link with archived cryptocell 310 libraries instead
  of adding them as source files
* Provide default MBED_BOOT_STACK_SIZE definition
  in scatter file as is done for GCC_ARM linker file
2020-11-06 17:25:19 +00:00
Martin Kojtal f856d6b0a3 CMake: Fix include path for Cryptocell 2020-11-06 17:25:19 +00:00
Hugues Kamba 67a20580cf CMake: Fix build failure due to lora, cryptocell, and nfc dirs move 2020-11-06 17:25:19 +00:00
Hugues Kamba fbaeae5a8e CMake: Fix failure due to MbedTLS rdir relocation 2020-11-06 17:25:19 +00:00
Hugues Kamba eb4102be48 CMake: Fix failure due to BLE component dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba 20e19de028 CMake: Fix breakage due to BLE dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba c30d9259e9 CMake: Fix build failure due to nanostack dir move 2020-11-06 17:25:19 +00:00
Hugues Kamba 76fd50a547 CMake: Fix access to cellular drivers 2020-11-06 17:25:18 +00:00
Hugues Kamba e744208c07 CMake: Fix build failure due to drivers and lwipstack dirs move 2020-11-06 17:25:18 +00:00
Hugues Kamba 24c79a4b47 CMake: Fix build failure due to nanostack drivers move 2020-11-06 17:25:17 +00:00
Hugues Kamba 8b21238e08 CMake: Fix failure due to events and netsocket dirs changes 2020-11-06 17:25:17 +00:00
Hugues Kamba 396ddc7a4d CMake: Fix build due to system_storage and netsocket dir move in master 2020-11-06 17:25:17 +00:00
Hugues Kamba bd45acba8c CMake: Fix failure due to kvstore and cellular dirs changes 2020-11-06 17:25:16 +00:00
Hugues Kamba 554a5d3597 CMake: Fix failure due to restructure of rtos and ppp directories 2020-11-06 17:25:16 +00:00
Hugues Kamba 59a7d77abf CMake: Add support for connectivity dir 2020-11-06 17:25:15 +00:00
Martin Kojtal c29a2e2338
Merge pull request #13811 from pan-/ble-conditional-compilation
Ble conditional compilation
2020-11-06 16:11:10 +00:00
Martin Kojtal c5bae34e9c
Merge pull request #13843 from marcelbrucker/fix_linking_issue
Fix linking issue #13793 when using -O0 compiler optimization in ARMC…
2020-11-03 14:01:25 +00:00
filics df0538923c Fix linking issue #13793 when using -O0 compiler optimization in ARMC6 toolchain 2020-11-02 20:04:15 +01:00
Martin Kojtal eb6b53ac92
Merge pull request #13753 from AGlass0fMilk/rm-nordic-bsp
Remove Unneeded nordic-bsp Folder from Cordio
2020-11-02 14:14:33 +00:00
Martin Kojtal 6db63e495b
Merge pull request #13822 from paul-szczepanek-arm/fix-preiod
BLE fix periodic advertising list function parameter checking
2020-11-02 14:13:40 +00:00