A bit of a rant here... but I'm getting tired of Atmel's buggy bloated example code. Mostly I've used their usb framework and examples, and for the most part its horrible.
I've found 6 pretty serious bugs, all of which have been reported and acknowledge. None of which have been fixed (I should probably post a summary of them here somewhere).
I routinely rewrite or reorganize their code and making it 10 to 50 percent smaller and *much* easier to read. The source is full of "helpful" comments like:
wVal = Usb_read_byte() //! read a byte
Maybe that comment is needed in case we get confused by the incorrectly applied 'w' hungarian notation. ;)
Beggars can't be choosers I guess, and I do like Atmel's hardware. Except for the bugs, the example code does speed things up. But you would think that code meant for wide distribution and potentially wide use would get a little bit more love.
Is code from other vendors like this? I've only worked with Atmel so far.