Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 20, 2012
Paul Brook GCC 4.7.0 workaround
Workaround bug in gcc 4.7.0

Signed-off-by: Paul Brook <paul@codesourcery.com>
5f8064a
Paul Brook Fix fuses
Use correct fuse values.

Signed-off-by: Paul Brook <paul@codesourcery.com>
4f41d7c
3  LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
View
@@ -552,6 +552,7 @@
static inline void Endpoint_Write_8(const uint8_t Data)
{
UEDATX = Data;
+ asm volatile("":::"memory"); // workaround bug in gcc 4.7.0
}
/** Discards one byte from the currently selected endpoint's bank, for OUT direction endpoints.
@@ -623,7 +624,9 @@
static inline void Endpoint_Write_16_LE(const uint16_t Data)
{
UEDATX = (Data & 0xFF);
+ asm volatile("":::"memory"); // workaround bug in gcc 4.7.0
UEDATX = (Data >> 8);
+ asm volatile("":::"memory"); // workaround bug in gcc 4.7.0
}
/** Writes two bytes to the currently selected endpoint's bank in big endian format, for IN
2  Projects/AVRISP-MKII/minimus_hack.c
View
@@ -207,7 +207,7 @@ program_minimus(void)
if (mm_StartISP())
goto fail;
mm_SetLockBits(0x3f);
- mm_SetFuse(FUSE_EXT, 0xcb);
+ mm_SetFuse(FUSE_EXT, 0xf4);
mm_SetFuse(FUSE_HIGH, 0xd8);
mm_SetFuse(FUSE_LOW, 0xff);
mm_StartISP();

No commit comments for this range

Something went wrong with that request. Please try again.