*** tpb has joined #tomu | 00:00 | |
*** newTomy has joined #tomu | 01:20 | |
*** newTomy is now known as newTomu | 01:20 | |
newTomu | Hello! Just got my Tomu from crowd supply and did update the firmware. The one sided case was broken though. When it was fabricated/cut, the left the edges, and it wouldn't fit into my USB port. Took some scissors and that's out of the way though | 01:21 |
---|---|---|
newTomu | Now my question is how do I get started coding? | 01:21 |
newTomu | The site, tomu.im, just covers bootloaders and says if you flash a bad file, it will reset | 01:21 |
newTomu | Not any link to a compiler/library... | 01:21 |
newTomu | (I'm expecting a GCC build and tomu.h header, I guess. Something akin to that) | 01:22 |
newTomu | Found this https://github.com/im-tomu/tomu-samples | 01:26 |
tpb | Title: GitHub - im-tomu/tomu-samples: Code samples for the Tomu board (at github.com) | 01:26 |
*** tommy_ has joined #tomu | 01:30 | |
newTomu | RIP me building libopencm3 on Windows? https://pastebin.com/Przms3YU | 01:42 |
tpb | Title: process_begin: CreateProcess(NULL, env python C:\Users\lukeP\Desktop\Tomu\sample - Pastebin.com (at pastebin.com) | 01:42 |
newTomu | I added the ARM GCC to my path after installing it. Make is failing though | 01:43 |
newTomu | Running it from inside the libopenmc3 directory which I got from GitHub and placed inside the samples directory where it had a pointer to libopenmc3 at a certain commit. Pretty sure I got the same one | 01:43 |
*** tommy_ has quit IRC | 02:06 | |
xobs | newTomu: Try the quickstart repo if you're on Windows. | 04:00 |
xobs | https://github.com/im-tomu/tomu-quickstart/ | 04:01 |
tpb | Title: GitHub - im-tomu/tomu-quickstart: A quicker way to get started building samples (at github.com) | 04:01 |
xobs | technomancy: I'm not sure what the answer there is. udev does use inotify to automatically pick up changes, which is why that's not in the documentation. | 04:18 |
xobs | technomancy: I believe the file you need access to is the node that gets created under /dev/bus/usb/ | 04:19 |
newTomu | THANK YOU xobs | 04:24 |
newTomu | I just put it down to get back to work after that error | 04:24 |
xobs | newTomu: I'm updating tomu.im now to make the quickstart repo more prominent. Thanks for pointing that out. | 04:25 |
newTomu | Yeah. I had to go tomu.im -> Bootloader -> GitHub profile -> samples | 04:25 |
newTomu | I've been coding for a while now. Know my way around. I'm interested as this is way more challenging then I thought it would be. That said, people less experienced may feel screwed without this available | 04:26 |
xobs | I know the feeling. Want to make it as easy as possible to get started. | 04:27 |
newTomu | xobs; Write the dfu file with dfu-utils -d file.dfu, right? | 04:32 |
newTomu | *: | 04:32 |
newTomu | *dfu-util | 04:32 |
newTomu | NVM. Got it | 04:33 |
xobs | dfu-util -D file.dfu / dfu-util --download file.dfu | 04:33 |
newTomu | Yep | 04:38 |
newTomu | Now flicking LEDs every 5 seconds :D | 04:38 |
newTomu | Yay | 04:38 |
newTomu | dfu-suffix is failing though | 04:40 |
xobs | How so? | 04:40 |
newTomu | Probably because I only have dfu-util | 04:40 |
newTomu | tomu.im only gave me the link for -util | 04:40 |
newTomu | And it's trying to find, in my path, -suffix | 04:40 |
xobs | It's not /really/ required. You can upload the .bin file instead. | 04:41 |
newTomu | Not just doing dfu-util suffix (and I doubt dfu-util has this... feature? Just commenting that's the only way it would work) | 04:41 |
newTomu | .dfu will upload too | 04:41 |
newTomu | Just complains | 04:41 |
xobs | Oh good. Complaints are helpful. | 04:41 |
newTomu | That said, I would like to be A-OK not scraping by | 04:41 |
newTomu | Is dfu-suffix in dfu-util, a separate binary, source code, or non-Windows only? | 04:42 |
xobs | It's a separate binary. | 04:42 |
*** newTomu is now known as TechAspirer | 04:42 | |
TechAspirer | Oh. I already registered this. I forgot what email. Dammit | 04:42 |
TechAspirer | Good thing it isn't trying to ghost me | 04:42 |
TechAspirer | Link? | 04:42 |
xobs | The documentation says to get dfu-util-static.exe and rename it, because the default links against a .dll and it's somewhat tricky to describe how to put both the .dll and the .exe in the path. | 04:43 |
xobs | http://dfu-util.sourceforge.net/releases/dfu-util-0.8-binaries/win32-mingw32/ | 04:43 |
tpb | Title: Index of /releases/dfu-util-0.8-binaries/win32-mingw32 (at dfu-util.sourceforge.net) | 04:43 |
TechAspirer | Thank you | 04:43 |
TechAspirer | And I have dfu-util (static). Do I need the dll to use -suffix as there's no -static? | 04:44 |
xobs | Actually, no. It looks like it doesn't link against the .dll. | 04:45 |
xobs | You should be able to get dfu-suffix.exe and run it without the .dll. Interesting. | 04:45 |
*** tomu-ci has joined #tomu | 04:47 | |
tomu-ci | [im-tomu.github.io] xobs pushed 2 new commits to master: https://git.io/vhRoA | 04:47 |
tomu-ci | im-tomu.github.io/master 80b2862 Sean Cross: README: add ruby-bundler to list of requirements... | 04:47 |
tomu-ci | im-tomu.github.io/master bd6bfd0 Sean Cross: index: add link to quickstart... | 04:47 |
*** tomu-ci has left #tomu | 04:47 | |
TechAspirer | Great. Thanks | 04:49 |
xobs | There, now I've added dfu-suffix.exe and dfu-util.exe to the quickstart repo, and added dfu-suffix.exe to the bootloader repo. | 04:53 |
*** tomu-ci has joined #tomu | 05:04 | |
tomu-ci | [im-tomu.github.io] xobs pushed 2 new commits to master: https://git.io/vhRK8 | 05:04 |
tomu-ci | im-tomu.github.io/master 3654640 Sean Cross: update: modify permissions listing on 10-tomu.rules... | 05:04 |
tomu-ci | im-tomu.github.io/master e0ed030 Sean Cross: update: inform Windows users about dfu-suffix.exe... | 05:04 |
*** tomu-ci has left #tomu | 05:04 | |
*** fadetime has joined #tomu | 05:23 | |
*** Kamilion has quit IRC | 05:28 | |
*** Kamilion has joined #tomu | 05:29 | |
*** fadetime has quit IRC | 05:49 | |
TechAspirer | I have to go to bed; be back tomorrow | 05:55 |
*** TechAspirer has quit IRC | 05:55 | |
*** k-man has quit IRC | 07:47 | |
kyaputen | my crowd supply just shipped! cant wait :-) | 10:41 |
*** k-man has joined #tomu | 12:41 | |
*** k-man has quit IRC | 12:45 | |
*** tomu-ci has joined #tomu | 15:05 | |
tomu-ci | [im-tomu.github.io] xobs pushed 1 new commit to master: https://git.io/vh0aJ | 15:05 |
tomu-ci | im-tomu.github.io/master 6e8da66 Sean Cross: samples: add newlib to list of debian packages... | 15:05 |
*** tomu-ci has left #tomu | 15:05 | |
*** NoGodDamnIdea has joined #tomu | 18:19 | |
*** motwok is now known as mo2000 | 18:44 | |
*** mo2000 is now known as motwok | 18:44 | |
*** dcorb has joined #tomu | 19:53 | |
*** dcorb has quit IRC | 19:54 | |
*** NoGodDamnIdea has quit IRC | 22:11 | |
*** TechAspirer has joined #tomu | 23:03 | |
TechAspirer | Hello! | 23:03 |
*** TechAspirer has quit IRC | 23:04 | |
*** TechAspirer has joined #tomu | 23:04 | |
*** TechAspirer has joined #tomu | 23:04 | |
TechAspirer | I have regained control of this account :D Yay. Today I was curious about the buttons. | 23:04 |
TechAspirer | That and proper debugging tbh | 23:04 |
TechAspirer | I tried the OpticSpy demo and then I connected a serial monitor intended for Arduino to it over a baud of 9600. The light changed from red to off and then staed off | 23:05 |
TechAspirer | No echoing serial data or flickering | 23:05 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!