GCC Header Files

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In the header file uc3a0512.h there is a constant for the flash controller defined as:

#define AVR32_FLASHC_FLASH_SIZE            524288

which is equal to 512 * 1024 -- all well and good.

In the related header file uc3a0256.h the same definition shows up as:

#define AVR32_FLASHC_FLASH_SIZE            256

It is my considered opinion that these two usages are not consistent and therefore one of them is wrong. Which is the correct usage?

We never have time to do it right,
but we always have time to do it over

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hehe at one of the 2 is right ;-)
uc3a0512.h is correct, uc3a025 is wrong.

-sma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That is good to know. I may check the other files and post the results.

We never have time to do it right,
but we always have time to do it over