Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: RadioHeadLite
board.h
00001 // 00002 // SkyShepherd Firmware 00003 // 00004 // Copyright © 2018 GPSip, Inc. All rights reserved. 00005 // 00006 00007 #pragma once 00008 #ifndef BOARD_H 00009 #define BOARD_H 00010 00011 // ---- Includes --------------------------------------------------------------- 00012 //#include "PinNames.h" 00013 #include "Geneva.h" 00014 // ---- Defines ---------------------------------------------------------------- 00015 00016 #define DEBUG_UART_TX STDIO_UART_TX // defined by mbed_app.json 00017 #define DEBUG_UART_RX STDIO_UART_RX // defined by mbed_app.json 00018 00019 00020 #define nvm_mosi A5 // SPI Data Out 00021 #define nvm_miso A4 // SPI Data IN 00022 #define nvm_sclk A3 // SPI Clock output 00023 #define nvm_cs A2 // CS output 00024 00025 #define UBLOX_M8N_GPS 00026 #define GPS_EN A1 // GPS power enable. 1 = GPS on, 0 = GPS off 00027 #define GPS_tx TX // gps tx 00028 #define GPS_rx RX // gps rx 00029 00030 #define BLE_DTR B5 // Module pin function controlled by AT commands, see reference 00031 #define BLE_DSR B4 // led by AT commands Module pin function contro, see reference 00032 #define BLE_TX S4_TX // bluetooth TX 00033 #define BLE_RX S4_RX // bluetooth RX 00034 #define BLE_RTS C1 // HW flow control. Not required to support 00035 #define BLE_CTS C0 // HW flow control. Not required to support 00036 #define nRESET D2 // Bluetooth Reset: Low = Reset, High = Normal mode 00037 00038 #define TONE_PWM B2 // PWM output for the alert signal. High = buzzer on 00039 #define STIM_PWM B1 // PWM output for the STIM signal. Active High = PWM on 00040 #define VIBE_PWM B1 // PWM output for the vibrator motor. High = motor on. 00041 00042 00043 #endif // BOARD_H 00044
Generated on Fri Jul 15 2022 12:18:03 by
1.7.2