센서보드 RF IRQ 테스트 중
Fork of stm-spirit1-rf-driver by
Revision 76:f4f990741baf, committed 2018-01-18
- Comitter:
- Seppo Takalo
- Date:
- Thu Jan 18 13:29:40 2018 +0200
- Parent:
- 75:8dc65c09af67
- Child:
- 77:a9a9807bf3ed
- Commit message:
- Skip compilation if FEATURE_NANOSTACK is not enabled
Changed in this revision
--- a/source/NanostackRfPhySpirit1.cpp Fri Sep 01 08:51:04 2017 +0200 +++ b/source/NanostackRfPhySpirit1.cpp Thu Jan 18 13:29:40 2018 +0200 @@ -1,6 +1,8 @@ +#include "NanostackRfPhySpirit1.h" + +#ifdef MBED_CONF_NANOSTACK_CONFIGURATION #if MBED_CONF_RTOS_PRESENT -#include "NanostackRfPhySpirit1.h" #include "SimpleSpirit1.h" #include "nanostack/platform/arm_hal_phy.h" #include "platform/arm_hal_interrupt.h" @@ -827,3 +829,4 @@ } #endif /* MBED_CONF_RTOS_PRESENT */ +#endif /* MBED_CONF_NANOSTACK_CONFIGURATION */ \ No newline at end of file
--- a/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h Fri Sep 01 08:51:04 2017 +0200
+++ b/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h Thu Jan 18 13:29:40 2018 +0200
@@ -3,6 +3,8 @@
#include <stdint.h>
+#ifdef MBED_CONF_NANOSTACK_CONFIGURATION
+
#include "NanostackRfPhy.h"
#include "PinNames.h"
@@ -51,4 +53,5 @@
const PinName _brd_led;
};
+#endif /* MBED_CONF_NANOSTACK_CONFIGURATION */
#endif /* NANOSTACK_RF_PHY_SPIRIT1_H_ */
