Skip to content

Added LGT MCU cpu duty support.#6

Open
rgwan wants to merge 2 commits into
obdev:masterfrom
rgwan:master
Open

Added LGT MCU cpu duty support.#6
rgwan wants to merge 2 commits into
obdev:masterfrom
rgwan:master

Conversation

@rgwan

@rgwan rgwan commented Dec 21, 2013

Copy link
Copy Markdown

No description provided.

@AndreiCherniaev

Copy link
Copy Markdown

Dear @rgwan can you sync your code with last version of v-usb?

@starkjohann

Copy link
Copy Markdown
Contributor

Since Andrei asked to merge with the latest version: The merge should be simple, but I don't want to add a second assembler implementation for each clock speed. I would prefer a minimal conditional change with macros. The main difference seems to be that push, pop, ld and jumps take one cycle instead of two. We could add a macro lgt_delay which defines to no delay on AVR and a single NOP on LGT. That way the code could be shared and we would not need to update two files when something changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants