Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 20, 2012
@pbrook GCC 4.7.0 workaround
Workaround bug in gcc 4.7.0

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

Signed-off-by: Paul Brook <paul@codesourcery.com>
4f41d7c
View
3  LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
@@ -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
View
2  Projects/AVRISP-MKII/minimus_hack.c
@@ -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.