Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ATtiny 4313 #1

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open

Adding ATtiny 4313 #1

wants to merge 43 commits into from

Conversation

dirixmjm
Copy link

@dirixmjm dirixmjm commented May 3, 2011

I've added the ATtiny4313 to the source.

While using the ATtiny4313 I've found T_SAMPLE to be to short to receive any ROM codes. Changing it to 25 resolved this. I'm not sure how this works for other Atmels, so I've changed it using an #ifdef

Furthermore, I've made some changes to the Makefile that I think should improve it. There are however also some small changes there for my programmer you probably don't want. Since I'm new to git I'm not sure how to leave them out of this push/pull.

Best regards,

Marc Dirix

Helmut Raiger and others added 30 commits May 18, 2010 10:40
…rking)

- added comments to most of the functions (still some TODOs)
- elaborated a bit on the timing macros, which led to wrong values for F_CPU=8MHz
- removed unused functions in uart.c (which were not ported to atmega32)
- some beautifying of the code
…fied 8bit and 16bit types, using register variables as a test only
…e now (not globally), receiver blocks aswell (bug), reduced ifdef hell to a more acceptable level, this was triggered by latency problems during debug
…it more debugging code, S_OPCODE defined for opcode states, set_reset inlined
…d debug information accordingly, some beautifying and more documentation
- introduced owtimer_is_set_to_short_timeout() instead of unportable (TCNT < 0xF0)
  - documentation added in onewire.c
  - short circuit evaluation turned again (more probable situation evaluated faster)
- moved header dependencies, features.h now only holds features ;-)
- cpu specific function composition moved to onewire.c (no-one else needs it)
- AVR specific optimization (registers) removed (was #if 0 already)
Some minor changes to the Makefile
@smurfix
Copy link
Owner

smurfix commented May 26, 2015

Owch. I just noticed your pull request …

Do you still use the code? I'm afraid that a lot has changed. However, most of your fixes still make sense.
I'd appreciate if you ported them to the current code, which lives in https://github.com/m-o-a-t/owslave now. Otherwise I'll go through them, however that could take some time. :-/

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.

2 participants