Helper library to use modem_ref driver.

Dependencies:   WizziCom WizziDebug ram_fs modem_ref

Dependents:   D7A_WM_Updater D7A_1x_demo_ActiveRFIDReader D7A_1x_demo_big_file D7A_1x_demo_CodeUpgradeProtocol ... more

Revision:
0:e9dd36a15d07
Child:
1:0ec0bae00588
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hwcfg.h	Wed May 17 16:02:05 2017 +0000
@@ -0,0 +1,43 @@
+// -----------------------------------------------
+// TARGET Options
+// -----------------------------------------------
+
+#if defined(TARGET_STM32L152RE)
+
+    // -----------------------------------------------
+    // Hardware configuration for sh2001 / sh2030
+    // -----------------------------------------------
+    #define MODEM_PIN_TX            (D10)
+    #define MODEM_PIN_RX            (D2)
+    #define MODEM_PIN_IRQ_OUT       (D13)
+    #define MODEM_PIN_IRQ_IN        (D9)
+    #define MODEM_PIN_RESET         (A3)
+    #define DEBUG_LED               (NC)
+    #define DEBUG_BUTTON            (USER_BUTTON)
+    #define SENSOR_I2C_SDA          (D14)
+    #define SENSOR_I2C_SCL          (D15)
+    
+    #define __HW_VERSION__          0x15200000
+ 
+#elif defined(TARGET_STM32L432KC)
+
+    // -----------------------------------------------
+    // Hardware configuration for sh2050
+    // -----------------------------------------------
+    #define MODEM_PIN_TX            (D5)
+    #define MODEM_PIN_RX            (D4)
+    #define MODEM_PIN_IRQ_OUT       (D11)
+    #define MODEM_PIN_IRQ_IN        (D10)
+    #define MODEM_PIN_RESET         (D12)
+    #define DEBUG_LED               (D13) // LED1
+    #define DEBUG_BUTTON            (D9)
+    #define SENSOR_I2C_SDA          (D0)
+    #define SENSOR_I2C_SCL          (D1)
+    #define SENSOR_LIGHT_EN         (A1)
+    #define SENSOR_LIGHT_MEAS       (A4)
+    
+    #define __HW_VERSION__          0x43200000
+ 
+#else
+    #error "Please choose or add the right platform."
+#endif
\ No newline at end of file