Commit Graph

120 Commits

Author SHA1 Message Date
Martin Preuss
9178a6fca5 avr: indentation changes. 2024-11-03 15:29:16 +01:00
Martin Preuss
eb68e66746 avr: adapted pin defs. 2024-10-31 22:24:42 +01:00
Martin Preuss
2b68bfd3af avr: reduce resend time. 2024-10-31 22:23:28 +01:00
Martin Preuss
e4a0e8557a avr: added routine sk6812SendPattern 2024-10-31 22:23:08 +01:00
Martin Preuss
57bbefdf38 Revert "avr: started working on value manager"
This reverts commit dfad168875.
2024-10-31 18:57:06 +01:00
Martin Preuss
7707cb0a82 avr started working on irq driven uart module.
will be used for routers and usb-serial interface.
2024-10-31 18:50:53 +01:00
Martin Preuss
dfad168875 avr: started working on value manager
will probably not use this since this takes many bytes in flash.
2024-10-31 18:50:08 +01:00
Martin Preuss
8904d33789 avr: implemented motion detector module. 2024-10-28 23:44:34 +01:00
Martin Preuss
d28e20b179 avr: allow for adjustable timing in simple LED module. 2024-10-28 23:44:08 +01:00
Martin Preuss
c5915b5583 avr: more work on bitbang module (works now). 2024-10-28 23:43:19 +01:00
Martin Preuss
2626c4365c avr: add delay when sending messages in boot loader. 2024-10-28 23:42:55 +01:00
Martin Preuss
9c35e7a006 avr: adapted boot firmware to latest changes (mainly switch to uart_bitbang). 2024-10-28 23:42:30 +01:00
Martin Preuss
3546c93d23 avr: adapted to latest changes in COM2 module (using uartBitbang) 2024-10-25 00:15:24 +02:00
Martin Preuss
e232b4adbf avr: fixed a few errors in new uart_bitbang module. 2024-10-20 23:35:26 +02:00
Martin Preuss
89019f1e60 avr: removed unneeded code. 2024-10-20 23:09:38 +02:00
Martin Preuss
efc91241d9 avr: new uart_bitbang module works now. 2024-10-20 23:09:24 +02:00
Martin Preuss
cc6ed1198b avr: beautification. 2024-10-20 18:53:50 +02:00
Martin Preuss
97138bcbe0 avr: fixed a typo. 2024-10-20 18:49:53 +02:00
Martin Preuss
2b8cabd391 avr: add code to prepare a RESULT message. 2024-10-20 18:49:39 +02:00
Martin Preuss
85d0992ce9 avr: added uart_bitbang module.
Started reorganizing COM module by splitting into higher and lower level
functions.
2024-10-20 18:49:12 +02:00
Martin Preuss
b3199681de avr: optimized value functions. 2024-10-20 18:46:34 +02:00
Martin Preuss
b78fc0999b avr: added message, fixed description. 2024-10-20 18:40:50 +02:00
Martin Preuss
3cba4a1f7c avr: make COM2 buffer functions macros. 2024-10-20 18:40:24 +02:00
Martin Preuss
d7705590fe avr: make REED module usable with one and two output pins. 2024-10-06 01:31:44 +02:00
Martin Preuss
adcb037976 avr: fixed 1-wire protocol for multiple speeds.
fixed delays won't work with 8MHz when calibrated for 1MHz... use
wait macro instead.
2024-10-06 01:30:52 +02:00
Martin Preuss
ee73bb0f69 avr: added screen.asm files to buildfiles. 2024-09-29 21:03:40 +02:00
Martin Preuss
8aa4143d8a avr: move ds18b20 screen code into module file. 2024-09-29 21:03:12 +02:00
Martin Preuss
c2d7564e0c avr: removed debug vars from CPRO module. 2024-09-29 15:08:33 +02:00
Martin Preuss
d70c673b8a avr: introduced screens. 2024-09-29 15:05:33 +02:00
Martin Preuss
5767c1307d avr: improved protocol timing for COM2.
- increased waiting time after lowering ATTN line
- lengthten stop bit for cleaner frames (now recognized by PulseView)
- count "NOTFORME" conditions
- introduce definition COM_HALFBIT_LENGTH (I dont' trust value calculations
  in avrasm)
2024-09-29 14:59:19 +02:00
Martin Preuss
b93ead5e5f avr: fixed a typo. 2024-09-27 01:23:27 +02:00
Martin Preuss
6fc7f5fc7a avr: fixed clobber lists. 2024-09-27 01:23:16 +02:00
Martin Preuss
60c86c7598 Revert "avr: Try to fix a bug (not respecting DENY_ADDRESS)."
This reverts commit 07f99b7050.
2024-09-27 00:33:26 +02:00
Martin Preuss
07f99b7050 avr: Try to fix a bug (not respecting DENY_ADDRESS). 2024-09-27 00:33:11 +02:00
Martin Preuss
7e4977f472 avr: fixed a typo. 2024-09-22 21:22:56 +02:00
Martin Preuss
9adb95d532 avr: make basetimer work on AtTiny85, too. 2024-09-22 21:22:46 +02:00
Martin Preuss
caa7138738 avr: disabled debug led. 2024-09-18 20:24:48 +02:00
Martin Preuss
91752156f2 avr: fixed timer usage in COM2 and COM2_PROTO module. 2024-09-18 20:24:32 +02:00
Martin Preuss
741dd4fe12 avr: some sorting. 2024-09-18 20:22:13 +02:00
Martin Preuss
5ca1fd4275 avr: added module for sk6812 LED controllers. 2024-09-18 20:21:55 +02:00
Martin Preuss
0e83988904 avr: fixed wait phase in 1-wire-master code. 2024-09-18 00:14:08 +02:00
Martin Preuss
3bec999ae0 avr: don't wait before checking ATTN line. 2024-09-18 00:13:37 +02:00
Martin Preuss
5b3c813981 avr: beautifications. 2024-09-18 00:12:56 +02:00
Martin Preuss
b490646799 avr: fixed docu. 2024-09-18 00:11:59 +02:00
Martin Preuss
7a5900be25 avr: added functions to change speed.
Main code might work at 8 MHz, but boot code is compiled for 1 MHz,
so we need to set speed accordingly when rebooting into boot loader.
2024-09-13 21:41:38 +02:00
Martin Preuss
2d09e22ec6 avr: "Utils_WaitNanoSecs 100000" doesn't work at 8MHz (too many cycles). 2024-09-13 21:40:22 +02:00
Martin Preuss
cdcb4e2b3e avr: rewrote timer code (split into timer and basetimer).
Only basetimer depends on hardware and clock speed. Works onj AtTiny 84
at 1 MHz and 8 MHz.
2024-09-13 21:39:24 +02:00
Martin Preuss
ee94d8a583 avr: finalized label names. 2024-09-13 01:08:07 +02:00
Martin Preuss
c908eb4840 avr: removed dead code. 2024-09-12 13:12:01 +02:00
Martin Preuss
892dc65898 avr: added missing defs. 2024-09-12 13:11:50 +02:00