Adjusted build script

This commit is contained in:
Mark Qvist 2015-05-21 10:53:32 +02:00
parent 1a2fcce149
commit 053f170f34
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
MCU = atmega328p
# Target file name (without extension).
TARGET = images/MicroAPRS
TARGET = images/MicroModemGP
# Programming hardware: type avrdude -c ?
# to get a full listing.

2
flash
View file

@ -1,2 +1,2 @@
#!/bin/bash
avrdude -p $2 -c arduino -P /dev/tty$1 -b 115200 -F -U flash:w:images/MicroAPRS.hex
avrdude -p $2 -c arduino -P /dev/tty$1 -b 115200 -F -U flash:w:images/MicroModemGP.hex

View file

@ -42,8 +42,8 @@ inline static uint8_t sinSample(uint16_t i) {
#define CONFIG_AFSK_RX_BUFLEN 64
#define CONFIG_AFSK_TX_BUFLEN 64
#define CONFIG_AFSK_RXTIMEOUT 0
#define CONFIG_AFSK_PREAMBLE_LEN 50UL
#define CONFIG_AFSK_TRAILER_LEN 5UL
#define CONFIG_AFSK_PREAMBLE_LEN 150UL
#define CONFIG_AFSK_TRAILER_LEN 25UL
#define BIT_STUFF_LEN 5
#define SAMPLERATE 9600