Commit Graph

11 Commits (cea7bbd8155b9fd358b0bb25be58dc38d99a38b6)

Author SHA1 Message Date
Arto Kinnunen adedd05139 Fix compiler warnings in Nanostack HAL
Fix compiler warnings:
 -"warning: 'size' argument to memset is '0'"
 -"warning: implicit declaration of function"
2019-03-26 13:19:33 +02:00
Volodymyr Medvid b0a33273ff Correctly include EventQueue.h
There are two EventQueue.h in mbed-os codebase:
events/EventQueue.h
features/FEATURE_BLE/ble/pal/EventQueue.h

By accident, `mbed compile` generates includes.txt with the correct
order of include search paths. This is not the case for the CMake
exporter: targets with FEATURE_BLE enables fail to compile with errors:

mbed-os/features/cellular/framework/AT/ATHandler.h:99:60: error:
'events' has not been declared

Update all places to always include either "events/EventQueue.h"
or "ble/pal/EventQueue.h": to always find the correct header.
2019-02-21 17:59:05 +02:00
Arto Kinnunen 932b3a2938 Update Nanostack_HAL licenses and copyright year
-Add Apache License to files that were missing a licence
-Update copyright year
2019-02-19 12:53:38 +02:00
Jarkko Paso 17e4e287de FHSS timer: Use singleton pointer with timer objects
This is to save statically allocated memory. Without SingletonPtr the timer objects would always be included in build.
2019-02-04 12:13:29 +02:00
Antti Kauppila 02b0f79e15 mbed.h includes removed 2018-12-28 14:36:10 +02:00
Martin Kojtal 29a1149bd6 nanostakc cmsis rtos: fix coding style 2018-11-15 07:20:12 +00: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
Jarkko Paso 61f4af0320 FHSS timer driver: Check if timeout alloc fails 2018-10-18 16:38:06 +03:00
Jarkko Paso 1b01709b3b FHSS timer driver: Make number of timeouts configurable 2018-10-18 16:37:51 +03:00
Jarkko Paso ea0f4863a2 FHSS timer: Calculation in critical state 2018-10-18 16:37:37 +03:00
Jarkko Paso 440fbfd694 NS hal: Implemented FHSS driver 2018-10-18 16:37:00 +03:00