Commit Graph

41 Commits (latest)

Author SHA1 Message Date
Lingkai Dong db8852c5d8 CMake: connectivity: Guard unit test directories
When unit tests or unit test stubs get added as CMake targets, they
becomes part of the "all" target and get compiled when building the
whole project. When building greentea tests we need to disable unit
tests and stubs to avoid unnecessary compilation and errors.
2021-09-20 16:28:54 +01:00
Rajkumar Kanagaraj d488597a97 CMake: Limit the mbed-stubs-nanostack-libservice to required dependency mocks 2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj 22b2e9f800 CMake: Add mbed-headers-nanostack-libservice library
Previously all nanostack libservice headers part of
mbed-headers-connectivity. This PR moves all the nanostack
libservice headers into newly added mbed-headers-nanostack-libraries.
This makes the nanostack libservice stubs more self-contained and
improves the composition of the library.
2021-07-13 05:49:53 -07:00
Rajkumar Kanagaraj d95bf96bbf CMake: Move nanostack libservice stubs to the connectivity/libraries dir
Move the connectivity nanostack-libservice stubs into the connectivity/libraries
directory where the nanostack libservice component present as nanostack
libservice source copied from the external repo. So we can avoid duplicating
the mbed-os source tree in a central UNITTESTS folder.
2021-07-13 05:49:53 -07:00
Arto Kinnunen 6c50a1880b Merge commit '16ad9f6f25a4bac7613e5a9acd1465d3650caab5' into nanostack_rel_14_0_0_master
* commit '16ad9f6f25a4bac7613e5a9acd1465d3650caab5':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
2021-06-23 11:21:42 +03:00
Antti Yli-Tokola 6a3e0d55ae Update mbed-coap to version v5.1.11
Block-Wise request (block1) error handling improvements:
 * Removed SN_COAP_BLOCKWISE_MAX_TIME_DATA_STORED usage. Block-Wise requests will now follow normal retranmission rules.
 * Process block1 responses only once. If response is coming in wrong order just ignore it wait next response to happen.
2021-06-14 09:21:45 +03:00
Antti Yli-Tokola 18728957b5 Update mbed-coap to version v5.1.10
- Fix regression from previous release concerning 1024 byte blocksize operations.
- Do not store ACK's into duplicate list.
- Code size optimizations
2021-05-18 13:24:20 +03:00
Arto Kinnunen 776d5db357 Merge commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81' into nanostack_release_13_0_master
* commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from a526cc3f41..260d80f42d
2021-04-21 10:17:34 +03:00
Arto Kinnunen 4d13419f38 Add nsdynmem_tracker_lib.c to CMakeLists.txt 2021-01-20 13:09:06 +02:00
Arto Kinnunen 6354a1e8dc Merge commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793'
* commit '084b722d1c3fa00e29d7ded181aaabbcc3f1f793':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from 67d7b93ec6..a526cc3f41
2021-01-19 11:43:02 +02: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 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 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
Risto Huhtala 0bb9eb6563 Update Mbed CoAP to v5.1.8 2020-10-20 08:18:24 +03:00
Harrison Mutai d1d6bf51b3 Add license notice to Arm copyrighted source files
Scancode found missing license notices in our source files. This commit
addresses those issues by adding an Apache-2.0 notice to source files
highlighted.
2020-10-15 10:46:35 +01:00
Martin Kojtal 05babec988
Merge pull request #13607 from teetak01/coap-5.1.7-for-master
Update Mbed CoAP to v5.1.7
2020-09-29 15:22:51 +01:00
Lingkai Dong ca157c9eb6 nanostack-libservice: add config to indicate its availability 2020-09-21 14:59:32 +01:00
Teemu Takaluoma cbd3685575 Update Mbed CoAP to v5.1.7 2020-09-14 12:29:44 +03:00
Martin Kojtal 5d245ad553
Revert "Always build both .hex and .bin files" 2020-09-10 10:19:04 +01:00
Martin Kojtal b2ac60924c
Merge pull request #13476 from talorion/bugfix/fix-warnings
Fix trivial compiler Warnings
2020-09-07 09:58:41 +01:00
talorion c4b93fee9f Update connectivity/drivers/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAT86RF215.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-08-27 21:13:24 +02:00
Gregor Mayramhof 0e032eaab0
Update connectivity/libraries/ppp/source/ppp_service.cpp
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-27 07:45:16 +02:00
talorion f901436125 resolved astyle - coding format. 2020-08-26 20:21:58 +02:00
talorion f8d90dd5b0 suggested change by Hugues Kamba
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-08-26 18:29:57 +02:00
Martin Kojtal a32168c819
Merge pull request #13473 from artokin/nanostack_relase_12_4_0_to_master
Nanostack release v12.4.0
2020-08-25 09:40:45 +01:00
talorion fa0ab3e31f resolved astyle - coding format. 2020-08-24 15:34:20 +02:00
talorion c7d520ee74 fixed warnings: deprecated call of bool rtos::Semaphore::try_acquire_for(uint32_t) 2020-08-24 15:34:19 +02:00
talorion 30e0ff60d9 fixed warnings: deprecated call of events::EventQueue::call_in(int. F) 2020-08-24 15:34:19 +02:00
Arto Kinnunen 9aac23d49e Merge commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded' into nanostack-as_subtree
* commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from c6cae6992a..67d7b93ec6
2020-08-20 17:06:12 +03:00
Arto Kinnunen b4e5062ecd Merge commit 'f4cdbeb7c134c67322772cbc526c7ce123e5fbcd' as 'connectivity/libraries/nanostack-libservice' 2020-08-18 14:24:46 +03:00
Arto Kinnunen e79743e33d Remove copy of nanostack-libservice 2020-08-18 14:22:12 +03:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Lingkai Dong 8a57df0cea ppp: Move headers to include/, source files to source/ 2020-07-17 15:30:53 +01:00
Lingkai Dong bda46e0fa8 Move ppp_nsapi.cpp from ppp library to netsocket/nsapi_ppp.cpp
This file is the source for nsapi_ppp.h and is not implementation
specific.
2020-07-17 15:30:53 +01:00
Lingkai Dong b8a1c5ba23 Move ppp into connectivity/libraries 2020-07-17 15:30:53 +01:00
Anna Bridge 63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Lingkai Dong 3b2e07c12e Move mbed-coap to connectivity/libraries 2020-07-16 17:06:57 +01:00
Lingkai Dong cb828c3aa1 Move nanostack-libservice into connectivity/libraries/ 2020-07-08 17:25:18 +01:00