File tree Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 26
26
#include " nanostack/platform/arm_hal_phy.h"
27
27
#include " mbed_trace.h"
28
28
#include " mbed_toolchain.h"
29
+ #include " DigitalIn.h"
30
+ #include " DigitalOut.h"
31
+ #include " InterruptIn.h"
32
+ #include " SPI.h"
33
+ #include " inttypes.h"
34
+ #include " Timeout.h"
29
35
30
36
#define TRACE_GROUP " AtRF"
31
37
@@ -219,8 +225,9 @@ static inline rf_trx_states_t rf_if_trx_status_from_full(uint8_t full_trx_status
219
225
}
220
226
221
227
#ifdef MBED_CONF_RTOS_PRESENT
222
- # include " mbed.h "
228
+
223
229
#include " rtos.h"
230
+
224
231
using namespace mbed ;
225
232
using namespace rtos ;
226
233
Original file line number Diff line number Diff line change 18
18
#define NANOSTACK_PHY_MCR20A_H_
19
19
20
20
#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && defined(MBED_CONF_RTOS_PRESENT)
21
- #include " mbed .h"
21
+ #include " inttypes .h"
22
22
#include " NanostackRfPhy.h"
23
+ #include " DigitalIn.h"
24
+ #include " DigitalOut.h"
25
+ #include " InterruptIn.h"
26
+ #include " SPI.h"
27
+ #include " rtos.h"
23
28
24
29
// Arduino pin defaults for convenience
25
30
#if !defined(MCR20A_SPI_MOSI)
Original file line number Diff line number Diff line change 22
22
#include " nanostack/platform/arm_hal_phy.h"
23
23
#include < string.h>
24
24
#include " rtos.h"
25
+ #include " mbed_interface.h"
25
26
26
27
using namespace mbed ;
27
28
using namespace rtos ;
Original file line number Diff line number Diff line change 26
26
#include " mbed_toolchain.h"
27
27
#include " common_functions.h"
28
28
#include < Timer.h>
29
+ #include " Timeout.h"
30
+ #include " Thread.h"
31
+ #include " mbed_wait_api.h"
32
+
33
+ using namespace mbed ;
34
+ using namespace rtos ;
29
35
30
36
#define TRACE_GROUP " s2lp"
31
37
@@ -216,7 +222,7 @@ static const phy_device_channel_page_s phy_channel_pages[] = {
216
222
};
217
223
218
224
#ifdef MBED_CONF_RTOS_PRESENT
219
- # include " mbed.h "
225
+
220
226
#include " rtos.h"
221
227
222
228
static void rf_irq_task_process_irq ();
Original file line number Diff line number Diff line change 18
18
#define NANOSTACK_PHY_S2LP_H_
19
19
20
20
#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && defined(MBED_CONF_RTOS_PRESENT)
21
- #include " mbed .h"
21
+ #include " inttypes .h"
22
22
#include " NanostackRfPhy.h"
23
+ #include " DigitalIn.h"
24
+ #include " DigitalOut.h"
25
+ #include " InterruptIn.h"
26
+ #include " SPI.h"
23
27
24
28
// Uncomment to use testing gpios attached to TX/RX processes
25
29
// #define TEST_GPIOS_ENABLED
You can’t perform that action at this time.
0 commit comments