diff --git a/cntr/fw/common/config.h b/cntr/fw/common/config.h index cc98d7d..fe97eaf 100644 --- a/cntr/fw/common/config.h +++ b/cntr/fw/common/config.h @@ -35,16 +35,18 @@ */ #define PLATFORM_ENTER \ - LED_MODE |= 1 << LED_BIT; \ - XBR1 = XBARE; + LEDv1_MODE |= 1 << LEDv1_BIT; \ + LEDv2_MODE |= 1 << LEDv2_BIT; \ + XBR1 = XBARE /* * Turn off the LED when we exit the boot loader. */ -#define PLATFORM_EXIT \ - LED = 0 +#define PLATFORM_EXIT \ + LEDv1 = 0; \ + LEDv2 = 0 /* ----- Application configuration ----------------------------------------- */ diff --git a/cntr/fw/common/io.h b/cntr/fw/common/io.h index 33b5382..b80448e 100644 --- a/cntr/fw/common/io.h +++ b/cntr/fw/common/io.h @@ -16,7 +16,8 @@ /* Diagnostic LED */ -#define LED P1_3 +#define LEDv1 P1_3 +#define LEDv2 P2_2 /* Probe input */ @@ -24,7 +25,12 @@ #define PROBE_ECI P1_1 #define PROBE_INT0 P0_7 -/* Probe termination */ +/* + * Probe termination + * + * - v1: 100 kOhm termination (not very useful) + * - v2: pull-up for input amplifier + */ #define PROBE_TERM P1_2