pico-tracker/firmware/Pre-flight.md

40 wiersze
1.4 KiB
Markdown
Czysty Zwykły widok Historia

## Pre-Flight Checklist ##
- In `hw_config.h`
- `USE_XOSC` is set. Otherwise the symbol timing frequency will be
somewhat inaccurate.
- `RF_TX_ENABLE` is set
- `APRS_ENABLE` is set if APRS is to be used on the flight
2015-07-11 19:17:46 +00:00
- `APRS_USE_GEOFENCE` is set
- `TELEMETRY_USE_GEOFENCE` is set
- `GEOFENCE_USE_PREFIX` is set
2016-03-05 14:30:12 +00:00
- Check the `COLD_OUT` parameters. These prevent start-up spikes when the battery may not be viable.
- Check the correct barometer is defined, for instance `BAROMETER_TYPE_MS5607` is set.
- `DEBUG_USE_INTWATCHDOG` can be disabled during flight. This saves some power
- Check interrupts are regular enough to kick the hardware
2016-01-16 16:35:13 +00:00
watchdog under all conditions.
- In `watchdog.h`
- Set the various `MAXIDLE` values to values determined during
testing. These define how many sleep cycles are permitted in that
state before we stop kicking the watchdog. 0xFFFF seems like a
good conservative value, but you may want to be more agressive.
2015-07-25 01:20:30 +00:00
- In `aprs.h`
- Set callsign and symbol
- Make sure `APRS_FLIGHT_PARAMS` is defined
2015-07-25 01:20:30 +00:00
- In `gps_osp.c`
- Check reinit parameters for `gps_get_data_wrapped` are reasonable.
2016-01-16 16:35:13 +00:00
- Check memory works and is erased
- `make test tc=backlog_write_read` Run this more than once to check functionality of a non-blank memory
- `make test tc=mem_erase_all`
2016-01-16 16:35:13 +00:00
- Check geofences are in order. Run
- `make test tc=location_aprs`
- `make test tc=location_telemetry`
2015-07-25 01:20:30 +00:00
- In `main.c`
- Set callsign