#avr Logs

Jan 21 2020

#avr Calendar

02:45 AM rue_bed: as an op I can bump someone out of the channel if its requested
02:52 AM nuxil: hu?
03:04 AM Thrashbarg_ is now known as Thrashbarg
05:39 AM vmt: rue_bed: honestly, you should kick the #avrs advertising people out
05:39 AM vmt: and keep them out. namely emil and nohit
06:39 AM Ellipsis753: Hi. Does anyone have an example of the smallest (output filesize) avr-gcc main code? Or just a set of the "best" compiler flags to use?
06:45 AM Ellipsis753: For example. Is it possible to inline main? It's a bit annoying to lose 2 bytes of stack by calling main. (already declaring it OS_main,noreturn,always_inline)
06:58 AM Fuchikoma: If you use interrupts at all, then no you need to use the interrupt table which means the first two bytes will be a JMP
06:58 AM Fuchikoma: If you want compact code, write it in assembly :D
07:05 AM Ellipsis753: Fuchikoma: More so, in "__ctors_end" it runs "rcall <main>" then "rjmp <_exit>". It's a bit odd to call main rather than jumping to it?
07:05 AM Ellipsis753: But yes. Assembly would be more compact.
07:06 AM Fuchikoma: Well the compiler is stupid.
07:07 AM Fuchikoma: *technically* all entries in the interrupt table should be a call, since you almost always want to return after the interrupt is serviced
07:09 AM djph: Fuchikoma: yes, compilers are stupid :)
08:26 AM nuxil: vmt & rue_xyz, well, fix the topic before kicking out people. there is advertising in the topic that there is advertisement of #avrs. not making it better :p
08:26 AM nuxil: how long this crap gone on for now? 1 year?
09:14 AM vmt: obvioiusly he should take it down too
09:14 AM vmt: obviously, even
09:14 AM vmt: but rue is a bit of a funny fella...
06:29 PM rue_mohr: dunno
06:30 PM -!- #avr mode set to +o by ChanServ
06:30 PM rue_mohr changed topic of #avr to: 8bit avr and stm32 | http://www.engbedded.com/fusecalc/ | http://ruemohr.org/~ircjunk/avr/baudcalc/avrbaudcalc-1.0.8.php
06:30 PM rue_mohr: ok
06:30 PM -!- #avr mode set to -o by rue_mohr
07:43 PM nuxil: better :)
07:48 PM nuxil: i been watching some diy, sla 3dprinter videos on youtube. when i came to part 9 in the video it made me wounder.. would this not be perfect to do exposure of photoresit pcb's ?
07:49 PM nuxil: basically take a lcd screen. remove the backlight. and stick the screen on a box with UV backlight.
07:50 PM nuxil: https://www.youtube.com/watch?v=zdHR6w-UEnI video of dude disasembeling the screen. and if you go to 17m:25sec you get what i mean.
07:50 PM nuxil: he dont have the reflector in the box yet tho.
08:21 PM rue_mohr: I'd like to do photoresist baords, but
08:21 PM rue_mohr: the photoresist is really pricey
08:21 PM rue_mohr: so I been working with UV nailpolish
08:22 PM rue_mohr: the uv might be blocked by anything
08:22 PM rue_mohr: and the lcd may not block it otherwise
11:58 PM day__ is now known as day