1 // ********************************************************************* 2 // * IQRF OS basic include file * 3 // ********************************************************************* 4 // 5 // Online IQRF OS Reference Guide: http://www.iqrf.org/IQRF-OS-Reference-guide/ 6 // 7 // Copyright (c) IQRF Tech s.r.o. 8 // 9 // Intended for: 10 // HW: TR-72D, TR-76D, TR-77D, TR-78D, TR-75D 11 // OS: v4.03D 12 // 13 // File: IQRF.h 14 // Version: v1.00 Revision: 10/05/2018 15 // 16 // Revision history: 17 // v1.00: 10/05/2018 First release for OS 4.03D. 18 // 19 // ********************************************************************* 20 21 #if IQRFOS != 403 22 #error Invalid IQRF OS version, V4.03 is expected. Make sure matching header files and project IQRF OS version setting are used. 23 #endif 24 25 #if defined TR72D 26 #message Compilation for TR-72D modules (PIC16LF1938) and IQRF OS 4.03D. 27 #define TR7xD 28 #elif defined TR76D 29 #message Compilation for TR-76D modules (PIC16LF1938) and IQRF OS 4.03D. 30 #define TR7xD 31 #elif defined TR77D 32 #message Compilation for TR-77D modules (PIC16LF1938) and IQRF OS 4.03D. 33 #define TR7xD 34 #elif defined TR78D 35 #message Compilation for TR-78D modules (PIC16LF1938) and IQRF OS 4.03D. 36 #define TR7xD 37 #elif defined TR75D 38 #message Compilation for TR-75D modules (PIC16LF1938) and IQRF OS 4.03D. 39 #define TR7xD 40 #else 41 #error Unsupported TR module type. 42 #endif 43 44 #pragma chip PIC16F1938 45 46 #if __CC5X__ < 3701 47 #warning Insufficient CC5X compiler version, V3.7A is recommended. 48 #endif 49 50 #pragma origin 0x100 51 #pragma update_RP 0 52 53 void APPLICATION(); 54 55 void main() // Skipped during Upload 56 { 57 APPLICATION(); 58 } 59 60 #include "IQRF-memory.h" // Memory definitions 61 #include "IQRF-functions.h" // Functions definitions 62 #include "IQRF-macros.h" 63 64 // ********************************************************************* 65