#avr | Logs for 2015-01-16

Back
[14:48:58] <robin_sz> sigh ... AVR Studio ... why does your default formatting suck so?
[14:49:27] <robin_sz> where/how do you adjust the default code layout in this thing?
[15:04:39] <specing> robin_sz: real programmers use vim and avr-gcc
[15:05:22] <LeoNerd> :)
[15:08:06] <Thrashbarg> specing: a friend of mine is a programmer for an ISP, PHP I think. When other programmers as "What IDE do you use" he responds with "I don't, I use vim." and they look at him like he has three heads
[15:09:29] <LeoNerd> Having three heads sounds possibly useful
[15:09:42] <specing> and then he programs PHP
[15:09:44] <LeoNerd> Though sometimes I find it's more my hands that are the bottleneck
[15:09:48] <Thrashbarg> like on the Quest for the Holy Grail
[15:09:49] <specing> the evilest of all evil languages
[15:09:54] <Thrashbarg> "oh! You've got bad breath!"
[15:10:08] <Thrashbarg> specing: yup
[15:11:38] <Thrashbarg> specing: I rationalise it by thinking he's a "real programmer" forced to write scripts, and the rest are just terrible at it
[15:11:48] <Thrashbarg> because they need to use IDE's ;)
[15:25:57] <robin_sz> specing, yeah, sure .. whatever
[15:35:10] <specing> what a brainwashed peasant
[15:44:23] <robin_sz> i guess it depends on whether you have the spare time, personally i am too busy to put stuff like that together from scratch
[15:48:35] <specing> once you have the setup up and running, it is faster than using an IDE
[15:50:19] <robin_sz> sure, but you could be looking at weeks to set it up
[15:50:43] <specing> lolno
[15:50:49] <robin_sz> really?
[15:50:56] <specing> yes really
[15:51:00] <robin_sz> so I could get the same functionallity?
[15:51:04] <specing> yup
[15:51:12] <robin_sz> debugging
[15:51:21] <robin_sz> device programming
[15:52:03] <robin_sz> context sensitive auto-complete?
[15:53:16] <robin_sz> oh and "go to implementation" is a biggie too, thats so useful on larger projects
[15:54:29] <robin_sz> infact, I can live with external tools for the first too, so long as I can get the second two in Vim
[15:58:14] <robin_sz> im quite quick with Vim on server side stuff, and I use it a lot for bash scripts and even a bit of Perl from time to time
[16:00:33] <robin_sz> a good visual debugger would be nice too, I do spend a fair bit of time debugging over JTAG and single stepping through the code
[16:04:00] <specing> ddd is the gui for gdb
[16:05:21] <robin_sz> and it shoud connect to my JTAG tool OK?
[18:34:02] <LeoNerd> What am I doing wrong here? I'm getting error: ‘asm’ undeclared (first use in this function) on asm volatile( ...
[18:38:16] <twnqx> isn't it __asm__ ?
[18:38:56] <twnqx> hm
[18:39:02] <twnqx> no, i use asm without the __
[18:39:49] <twnqx> but that means you probably miss an include
[18:40:03] <twnqx> grepping through avr libc headers shows __asm__
[18:40:27] <twnqx> try #include <avr/io.h>
[18:40:36] <LeoNerd> Ahah
[18:40:42] <LeoNerd> -std=gnu99 vs -std=c99
[18:40:48] <LeoNerd> In straight C99 mode it doesn't like 'asm'
[20:54:15] <vermeille> Hello guys! I'm interested in making usb devices. Anything to advise for my first steps?
[20:58:10] <Tom_itx> google LUFA