initial fork/publish for Geneva platform

Dependencies:   ublox-cellular-driver-gen ublox-cellular-base C12832 ublox-at-cellular-interface-ext easy-connect ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx MQTT ublox-ppp-cellular-interface

Committer:
rlanders73
Date:
Fri Dec 14 18:22:02 2018 +0000
Revision:
32:3a077f470397
initial publish for Geneva

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rlanders73 32:3a077f470397 1 //
rlanders73 32:3a077f470397 2 // SkyShepherd Firmware
rlanders73 32:3a077f470397 3 //
rlanders73 32:3a077f470397 4 // Copyright © 2018 GPSip, Inc. All rights reserved.
rlanders73 32:3a077f470397 5 //
rlanders73 32:3a077f470397 6
rlanders73 32:3a077f470397 7 #pragma once
rlanders73 32:3a077f470397 8 #ifndef BOARD_H
rlanders73 32:3a077f470397 9 #define BOARD_H
rlanders73 32:3a077f470397 10
rlanders73 32:3a077f470397 11 // ---- Includes ---------------------------------------------------------------
rlanders73 32:3a077f470397 12 //#include "PinNames.h"
rlanders73 32:3a077f470397 13 #include "Geneva.h"
rlanders73 32:3a077f470397 14 // ---- Defines ----------------------------------------------------------------
rlanders73 32:3a077f470397 15
rlanders73 32:3a077f470397 16 #define DEBUG_UART_TX STDIO_UART_TX // defined by mbed_app.json
rlanders73 32:3a077f470397 17 #define DEBUG_UART_RX STDIO_UART_RX // defined by mbed_app.json
rlanders73 32:3a077f470397 18
rlanders73 32:3a077f470397 19
rlanders73 32:3a077f470397 20 #define nvm_mosi A5 // SPI Data Out
rlanders73 32:3a077f470397 21 #define nvm_miso A4 // SPI Data IN
rlanders73 32:3a077f470397 22 #define nvm_sclk A3 // SPI Clock output
rlanders73 32:3a077f470397 23 #define nvm_cs A2 // CS output
rlanders73 32:3a077f470397 24
rlanders73 32:3a077f470397 25 #define UBLOX_M8N_GPS
rlanders73 32:3a077f470397 26 #define GPS_EN A1 // GPS power enable. 1 = GPS on, 0 = GPS off
rlanders73 32:3a077f470397 27 #define GPS_tx TX // gps tx
rlanders73 32:3a077f470397 28 #define GPS_rx RX // gps rx
rlanders73 32:3a077f470397 29
rlanders73 32:3a077f470397 30 #define BLE_DTR B5 // Module pin function controlled by AT commands, see reference
rlanders73 32:3a077f470397 31 #define BLE_DSR B4 // led by AT commands Module pin function contro, see reference
rlanders73 32:3a077f470397 32 #define BLE_TX S4_TX // bluetooth TX
rlanders73 32:3a077f470397 33 #define BLE_RX S4_RX // bluetooth RX
rlanders73 32:3a077f470397 34 #define BLE_RTS C1 // HW flow control. Not required to support
rlanders73 32:3a077f470397 35 #define BLE_CTS C0 // HW flow control. Not required to support
rlanders73 32:3a077f470397 36 #define nRESET D2 // Bluetooth Reset: Low = Reset, High = Normal mode
rlanders73 32:3a077f470397 37
rlanders73 32:3a077f470397 38 #define TONE_PWM B2 // PWM output for the alert signal. High = buzzer on
rlanders73 32:3a077f470397 39 #define STIM_PWM B1 // PWM output for the STIM signal. Active High = PWM on
rlanders73 32:3a077f470397 40 #define VIBE_PWM B1 // PWM output for the vibrator motor. High = motor on.
rlanders73 32:3a077f470397 41
rlanders73 32:3a077f470397 42
rlanders73 32:3a077f470397 43 #endif // BOARD_H
rlanders73 32:3a077f470397 44