UBSEDS9 pre-flight

master ubseds9
Richard Meadows 2015-07-25 02:20:30 +01:00
rodzic cdb58d037c
commit eb1ad8d872
4 zmienionych plików z 12 dodań i 6 usunięć

Wyświetl plik

@ -14,3 +14,9 @@
testing. These define how many sleep cycles are permitted in that testing. These define how many sleep cycles are permitted in that
state before we stop kicking the watchdog. 0xFFFF seems like a state before we stop kicking the watchdog. 0xFFFF seems like a
good conservative value, but you may want to be more agressive. good conservative value, but you may want to be more agressive.
- In `aprs.h`
- Set callsign and symbol
- In `main.c`
- Set callsign

Wyświetl plik

@ -150,7 +150,7 @@
/** /**
* XOSC * XOSC
*/ */
#define USE_XOSC #define USE_XOSC 1
#define XOSC_FREQUENCY 16369000 #define XOSC_FREQUENCY 16369000
#define XOSC_GCLK1_DIVIDE 2 #define XOSC_GCLK1_DIVIDE 2
@ -164,7 +164,7 @@
* APRS * APRS
*/ */
#define APRS_ENABLE 1 #define APRS_ENABLE 1
#define APRS_USE_GEOFENCE 0 #define APRS_USE_GEOFENCE 1
#define APRS_POWER RF_POWER_14dBm #define APRS_POWER RF_POWER_14dBm
/** /**
@ -173,7 +173,7 @@
* There is a performance penalty to using the watchdog - you must * There is a performance penalty to using the watchdog - you must
* wait up to 1/16kHz when kicking to sync with it. Disable when not in use * wait up to 1/16kHz when kicking to sync with it. Disable when not in use
*/ */
#define DEBUG_USE_INTWATCHDOG 1 #define DEBUG_USE_INTWATCHDOG 0
#define WDT_GCLK GCLK_GENERATOR_4 #define WDT_GCLK GCLK_GENERATOR_4
/** /**

Wyświetl plik

@ -43,9 +43,9 @@ typedef enum {
* is triggered. Values defined to be well above values encountered in * is triggered. Values defined to be well above values encountered in
* normal operation. * normal operation.
*/ */
#define MAXIDLE_WAIT_FOR_GPS 1800 #define MAXIDLE_WAIT_FOR_GPS 2400
#define MAXIDLE_WHILE_TELEMETRY_ACTIVE 60000 #define MAXIDLE_WHILE_TELEMETRY_ACTIVE 60000
#define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 7200 #define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 30000
struct idle_counter { struct idle_counter {
uint32_t wait_for_gps; uint32_t wait_for_gps;

Wyświetl plik

@ -42,7 +42,7 @@
#include "backlog.h" #include "backlog.h"
#include "pips.h" #include "pips.h"
#define CALLSIGN "UBSEDSx" #define CALLSIGN "UBSEDS9"
#define APRS_COMMENT "RTTY/434.6U8N2" #define APRS_COMMENT "RTTY/434.6U8N2"
/** /**