Commit Graph

49 Commits (9780c9018e14adecec1d3f36281cb8b822db9273)

Author SHA1 Message Date
Jarkko Paso 45d1c68814 S2-LP: Sync with development repository 2019-08-27 11:42:08 +03:00
Hugues Kamba bfa1b4dd84 Drivers/Events/RTOS Public and internal APIs cleanup (#10955)
Separate drivers, events, and rtos internal APIs from public APIs.

* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.

Release Notes

This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00
Kevin Bracey a522dcfa0a Replace deprecated wait calls 2019-07-15 10:13:50 +03:00
Arto Kinnunen 5e23fbaa83 Add compilation flags to rf_configuration
Add flags to allow compilation without nanostack.
2019-05-27 17:06:59 +03:00
Arto Kinnunen f03e51a23d Sync 802.15.4 RF drivers from master repos
-Sync STM S2LP with v0.0.6 in master repo
-Sync Atmel with v3.0.8 in master repo
-Sync MCR20A with v1.0.6 in master repo
2019-05-20 15:27:25 +03:00
Cruz Monrreal 4dd55d2db6
Merge pull request #10281 from ashok-rao/S2_LP
Adding support for S2_LP (WiSUN) as a new MTB target
2019-04-01 17:03:37 -05:00
Ashok Rao 479bcfdbfe Incorporating review comments
Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB.
2019-04-01 11:16:16 +01:00
Arto Kinnunen 0710298a3c Nanostack 802.15.4 RF drivers update
Sync Nanostack RF drivers from master copy:
-MCR20A: v1.0.6
-S2LP: v0.0.5
2019-03-22 08:28:13 +02:00
Martin Kojtal 4a2985a5c3
Merge pull request #10144 from kjbracey-arm/atmel_wait_ns
Atmel RF: use system wait_ns
2019-03-21 10:43:57 +01:00
Kevin Bracey 9ad6b10b43 Atmel RF: use system wait_ns
This driver's delay_ns was used as the basis of the system wait_ns -
migrate to that refined implementation.
2019-03-18 17:22:17 +02:00
Arto Kinnunen 0c34a13538 Nanostack 802.15.4 RF drivers update
Sync Nanostack RF drivers from master copies:
-Atmel: v3.0.7
-MCR20A: v1.0.3
-S2LP: v0.0.4
2019-03-18 14:21:02 +02:00
Arto Kinnunen 05dc1f2f0e Sync STM S2LP RF driver to v0.0.2
Sync with v0.0.2 in master repository.
2019-02-27 14:59:19 +02:00
Arto Kinnunen e8225fbd7c Sync with STM S2LP RF driver v0.0.1
Sync with v0.0.1 in master repository.
2019-02-27 14:59:19 +02:00
Arto Kinnunen 2c78427932 Sync with MCR20a RF driver v1.0.3
Sync with v1.0.3 in https://github.com/ARMmbed/mcr20a-rf-driver
2019-02-27 14:59:19 +02:00
Arto Kinnunen 3a9a50a7d7 Sync with Atmel RF driver v3.0.6
Sync with v3.0.6 in https://github.com/ARMmbed/atmel-rf-driver
2019-02-27 14:59:19 +02:00
Antti Kauppila 2ff6cd3df3 Cleaned 802.15.4_RF to not have mbed.h includes 2018-12-28 15:19:03 +02:00
David Saada ec0ebc2cec Fix LTO build failures due to duplicate local types 2018-12-19 15:52:43 +02:00
Cruz Monrreal 61ade84447
Merge pull request #8875 from deepikabhavnani/fix_components
Add dependency checks to components
2018-12-10 19:20:30 -06:00
Martin Kojtal bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Martin Kojtal c62f654da1
Merge pull request #8843 from miyuki/fix-cxx11
Fix C++11 build with Arm Compiler 6
2018-12-03 13:22:11 +01:00
Deepika b32c6ba2a5 Components if using RTOS modules should be enabled only when RTOS is present
Build failures were observed when rtos is ignored with .mbedignored.
Components dependent on RTOS should be guarded with MBED_CONF_RTOS_PRESENT
2018-11-27 13:55:59 -06:00
Deepika 74ad47b269 Fix header files used in 802.15.4_RF
"ns_types.h" is not used, but included. Results in build failure when networking
feature is ignored with .mbedignored

"mbed_trace.h" not used.
2018-11-27 13:55:59 -06:00
Michal Paszta e101943cce Fix compilation warnings (apart from nanostack) 2018-11-26 14:27:48 +01:00
Mikhail Maltsev 5c351dc6ae Fix C++11 build with Arm Compiler 6
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
  initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
  does not provide

This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-11-26 12:54:51 +00:00
Jarkko Paso 04c9283bf3 S2-LP: Cleaned thread deprecation warnings
- Sniffer mode
- RX buffer overflow fix
- Updated read register function
2018-11-22 15:19:39 +02:00
Cruz Monrreal 760b0740a9
Merge pull request #8602 from artokin/sync_rf_drivers
Sync 802.15.4 RF drivers
2018-11-08 10:06:27 -06:00
Arto Kinnunen d5df64299a Sync with MCR20a RF driver v1.0.3 2018-11-06 16:51:35 +02:00
Arto Kinnunen c0647267cc Sync with Atmel RF driver v3.0.6 2018-11-06 16:45:09 +02:00
Cruz Monrreal 8d014bcce6
Merge pull request #8585 from JarkkoPaso/IOTTHD-2884
Phy drivers: Added S2-LP driver
2018-10-31 20:41:24 -05:00
Arto Kinnunen 135a894b07 Sync with MCR20a RF driver v1.0.2 2018-10-31 16:12:03 +02:00
Arto Kinnunen a215d9d856 Sync with Atmel RF driver v3.0.5 2018-10-31 16:01:16 +02:00
Jarkko Paso 425e7a96e6 S2-LP: Needs Nanostack configuration and device SPI 2018-10-31 15:14:08 +02:00
Jarkko Paso 0f08b35510 S2-LP: Renamed GPIO to RF_S2LP_GPIO as it had conflict with some platforms 2018-10-31 10:26:05 +02:00
Jarkko Paso 2cb017bf47 S2-LP: Removed license files 2018-10-31 09:23:34 +02:00
Jarkko Paso 3916c0ba5e S2-LP: astyle run done 2018-10-30 15:52:51 +02:00
Jarkko Paso ef1e121937 Phy drivers: Added S2-LP driver 2018-10-30 13:51:24 +02:00
deepikabhavnani 451cf7ccb3 Add required namespace instead of relying on mbed.h
mbed.h has 'using namespace mbed;', hence some of the files skip
adding required namespace to the code, it is always good to specify the
namespace around the elements in header and `using namespace` in
specific CPP files, instead of all
2018-10-25 12:43:59 -05:00
Kevin Bracey 1ef213ec89 Clean up Thread deprecation warnings
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Martin Kojtal 06dffda530
Merge pull request #8327 from SeppoTakalo/i2c_guard
Guard Atmel RF driver build by DEVICE_I2C
2018-10-09 11:37:43 -05:00
Martin Kojtal 7491482a6c
Merge pull request #8243 from jarlamsa/interrupt_disable
mcr20a use core_util_critical_section functions
2018-10-09 10:34:09 -05:00
Seppo Takalo f16a99cf15 Guard Atmel RF driver build by DEVICE_I2C
This module uses AT24MAC chip which is in I2C bus, so it requires
device to support I2C
2018-10-08 11:17:06 +03:00
Jarno Lamsa 83a85d7830 mcr20a use core_util_critical_section functions 2018-09-25 16:29:24 +03:00
deepikabhavnani a30da7e61e I2CReset is not required as I2C driver does the recovery before init 2018-09-12 16:37:32 -05:00
Seppo Takalo d39c5c58ae RF drivers need DEVICE_SPI 2018-09-01 12:40:42 -05:00
Seppo Takalo ab78c34345 Add dummy delay loop for ARMC6
This needs proper implementation later.
2018-09-01 12:37:46 -05:00
Seppo Takalo 50376154b4 Fix AT24MAC driver builds on targets that device SDA/SCL names
Some targets have SDA and SCL defined in public headers, breaking the
build of AT24MAC driver.
2018-09-01 12:37:46 -05:00
Seppo Takalo f81b728575 Remove unneeded .gitignore files 2018-09-01 12:37:46 -05:00
Seppo Takalo b5240db10d Add MCR20A RF driver v1.0.1 2018-09-01 12:36:27 -05:00
Seppo Takalo d02097f97c Add Atmel RF driver v3.0.4 2018-09-01 12:36:27 -05:00