mega2560 update
Junk pulses on PORTB_4 with SD-Card option
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ ifeq ($(PCB), MEGA2560)
|
|||||||
TRGT = avr-
|
TRGT = avr-
|
||||||
MCU = atmega2560
|
MCU = atmega2560
|
||||||
OPT = s
|
OPT = s
|
||||||
CPPDEFS = -DF_CPU=$(F_CPU)UL -DPCBMEGA2560 -DCPUM2560 -DEEPROM_VARIANT=0 -DAUDIO -DRTCLOCK
|
CPPDEFS = -DF_CPU=$(F_CPU)UL -DPCBMEGA2560 -DCPUM2560 -DEEPROM_VARIANT=0 -DAUDIO
|
||||||
SDCARD = YES
|
SDCARD = YES
|
||||||
BUZZER = YES
|
BUZZER = YES
|
||||||
THR_TRACE = YES
|
THR_TRACE = YES
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
/* Port Controls (Platform dependent) */
|
/* Port Controls (Platform dependent) */
|
||||||
// GCC optimisation should result in a single CBI/SBI instructions here
|
// GCC optimisation should result in a single CBI/SBI instructions here
|
||||||
#if defined (PCBGRUVIN9X)
|
#if defined (CPUM2560)
|
||||||
# define CS_LOW() PORTB &= ~0x01 /* MMC CS = L */
|
# define CS_LOW() PORTB &= ~0x01 /* MMC CS = L */
|
||||||
# define CS_HIGH() PORTB |= 0x01 /* MMC CS = H */
|
# define CS_HIGH() PORTB |= 0x01 /* MMC CS = H */
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user