#include "protocol.h"
#include "cmd_ctor.h" // MAKE_CMD, REGISTER_CMD
#include "verstag.h"
-#include "hw_adc.h"
-#include "hw_input.h"
+#include "hw/hw_adc.h"
+#include "hw/hw_input.h"
#include <drv/timer.h>
#include <drv/ser.h>
#include <stdlib.h>
#include <string.h>
-#include "appconfig.h"
-
// Define the format string for ADC
#define ADC_FORMAT_STR "dddd"
*/
+#include "protocol.h"
+#include "hw/hw_input.h"
+#include "hw/hw_adc.h"
+#include "cfg/cfg_ser.h"
+
+#include <cfg/macros.h>
+
#include <drv/timer.h>
#include <drv/buzzer.h>
#include <drv/ser.h>
#include <drv/sipo.h>
-#include <cfg/macros.h>
#include <mware/parser.h>
#include <net/keytag.h>
-#include "protocol.h"
-#include "hw_input.h"
-#include "hw_adc.h"
static KFileSerial fd_ser;
TagPacket pkt;
/* Open the main communication port */
- ser_init(&fd_ser, CONFIG_SER_HOSTPORT);
- ser_setbaudrate(&fd_ser, CONFIG_SER_HOSTPORTBAUDRATE);
+ ser_init(&fd_ser, CONFIG_TRIFACE_PORT);
+ ser_setbaudrate(&fd_ser, CONFIG_TRIFACE_BAUDRATE);
ser_init(pkt.tag_ser, TAG_SER_PORT);
ser_setbaudrate(pkt.tag_ser, TAG_SER_BAUDRATE);
app/triface/hw/hw_adc.c \
bertos/drv/timer.c \
bertos/drv/ser.c \
+ bertos/drv/buzzer.c \
bertos/cpu/avr/drv/ser_avr.c \
bertos/cpu/avr/drv/sipo.c \
bertos/mware/formatwr.c \
bertos/mware/event.c \
bertos/kern/kfile.c \
bertos/net/keytag.c \
- bertos/drv/buzzer.c \
#
triface_PCSRC += bertos/mware/formatwr.c