Code Monkey home page Code Monkey logo

galago's People

Contributors

kuym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

galago's Issues

Can't install on windows 8

Windows prevents to install the driver since it unable to find the digital signature.
Please post the steps to install the driver on windows 8.

Thanks,
Anbu

OS X 10.6.8: cannot create project and download to galago

nitride_0_10_3

  1. OS X 10.6.8: cannot download to board:
    used the provided node-webkit version for OS X 10.6. and 64bit and downloaded nitrIDE_0_10_3 ->
    the IDE comes up fine and verifies OK (no more "unable to resolve dependency logiblock/galago required" ...) ->
    but then I cannot download (an existing project) to the galago board (the button is not even active, even though the board is recognised).
  2. cannot create project:
    imac-27_lan:GalProjects lutzbickhardt$ node10 ../galagPlatform/bin/SDK.js --init
    nitride_0_10_3
    wrote: /Users/lutzbickhardt/GalProjects/main.cpp
    Building...

/Users/lutzbickhardt/galagPlatform/bin/SDK.js:773
Object.keys(moduleJson.dependencies).forEach(function(o, i)
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at /Users/lutzbickhardt/galagPlatform/bin/SDK.js:773:12
at Object.noQ_callSequence_noTry as __seq
at Object.noQ_Promise_resolve as resolve
at Object. (/Users/lutzbickhardt/galagPlatform/bin/SDK.js:268:12)
at fs.js:266:14
at /Users/lutzbickhardt/galagPlatform/bin/node_modules/moduleverse/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js:103:5
at Object.oncomplete (fs.js:107:15)

What can I do?

UART transmit code overruns the FIFO

(Moved from OutbreakInc/nitride#9)

The UART transmit code can send more than 16 characters to the FIFO if there are several chained transmit tasks waiting with less than 16 characters each but totaling more than 16 when a transmit interrupt happens.

This corrected code is from IO_UART_startTransmission and shows the necessary change. Moving the counter initialisation outside the where loop ensures that no more than 16 characters can be sent to the UART from the chain of transmit tasks.

(code omitted)

OS X 10.8.5 Can't run test program from IDE

downloaded the latest node-wedbkit
downloaded the latest IDE 0.3.7
plug galago in
IDE starts, new project
Devices line says "Galago (00DF)"
Hit Build button says "(no build errors)"
Run or Continue button still grayed out :-(

idefail

Bummer.

Provide details of commands executed for build/deploy

I've been coding C/C++ for years and am quite comfortable with gcc/make etc tool chains. Would it be possible to get a reference of the command used to allow for the use existing IDE's.

Have already started porting various libraries from Arduino to work with Galago but I am finding the current IDE cumbersome and would like to be able to automate much of my workflow with my own scripts.

Moduleverse down?

I'm trying to initialize a project and it's stuck.

node ....\sdk\bin\SDK.js --init
Did not find an SDK on your system. I will try to download the latest one
and then build your project.
Note: you must have an internet connection to update.

SDK.js does not adequately warn if a malformed module.json is built

This set: https://github.com/OutbreakInc/Galago/wiki/Getting-started-guide

[herrold@centos-6 galago]$ wget http://moduleverse.com/v1/modules/logiblock/platform/0.9.12/gz
... snip ...
2013-07-02 11:47:25 (379 KB/s) - โ€œgzโ€ saved [451556/451556]

[herrold@centos-6 galago]$ tar -zxf gz
[herrold@centos-6 galago]$ ls
bin galago gz module.json nxp targets.json
[herrold@centos-6 galago]$ ls bin
GalagoServer-linux64 GalagoServer-win32.exe package.json SDK.js
GalagoServer-Mac node_modules pty.js-prebuilt
[herrold@centos-6 galago]$ node bin/SDK.js
Did not find an SDK on your system. I will try to download the latest one
and then build your project.
Note: you must have an internet connection to update.
Downloaded and installed successfully!
Building...

/home/herrold/galago/bin/SDK.js:253
paths.forEach(function(source)
^
TypeError: Cannot call method 'forEach' of undefined
at Object.module.exports.Toolchain.resolvePaths (/home/herrold/galago/bin/SDK.js:253:9)
at Object.module.exports.Toolchain.compile (/home/herrold/galago/bin/SDK.js:311:27)
at build (/home/herrold/galago/bin/SDK.js:678:20)
at /home/herrold/galago/bin/SDK.js:703:6
at Object. (/home/herrold/galago/bin/SDK.js:233:4)
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
[herrold@centos-6 galago]$ rpm -q nodejs
nodejs-0.10.12-1.orc6.x86_64
[herrold@centos-6 galago]$

Allow the Pin object to bind to a callback method on IRQ interupt

Would it be possible to use IRQ's to provide an callback when the input state of a Pin changes, rather than the current approach of polling a pins state. Unless I'm doing something wrong.

I have been working with a Rotary Encoder that uses 2bit grey code to from which I can derive the direction but have had to resort to polling the pin states at very short intervals to prevent missing state changes when the encoder is turned quickly.

Cheers

OS X 10.6.8: cannot create project and download to galago

  1. OS X 10.6.8: cannot download to board:
    used the provided node-webkit version for OS X 10.6. and 64bit and downloaded nitrIDE_0_10_3 ->
    the IDE comes up fine and verifies OK (no more "unable to resolve dependency logiblock/galago required" ...) ->
    but then I cannot download (an existing project) to the galago board (the button is not even active, even though the board is recognised).
    nitride_0_10_3
  2. cannot create project:
    imac-27_lan:GalProjects lutzbickhardt$ node10 ../galagPlatform/bin/SDK.js --init
    nitride_0_10_3
    wrote: /Users/lutzbickhardt/GalProjects/main.cpp
    Building...

/Users/lutzbickhardt/galagPlatform/bin/SDK.js:773
Object.keys(moduleJson.dependencies).forEach(function(o, i)
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at /Users/lutzbickhardt/galagPlatform/bin/SDK.js:773:12
at Object.noQ_callSequence_noTry as __seq
at Object.noQ_Promise_resolve as resolve
at Object. (/Users/lutzbickhardt/galagPlatform/bin/SDK.js:268:12)
at fs.js:266:14
at /Users/lutzbickhardt/galagPlatform/bin/node_modules/moduleverse/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/graceful-fs.js:103:5
at Object.oncomplete (fs.js:107:15)

What can I do?

OS X 10.8.5 Can't run test program from command line tools

So the IDE is broken, I'm happier with command line tools anyway. I follow the instructions here:
https://github.com/OutbreakInc/Galago/wiki/Getting-started-guide#getting-started-with-the-command-line-tools

Download and install Node.js
Download and unpack logiblock platform 0.9.16
Try to build a test project and gcc crashes :-(

host:~ jrb$ node --version
v0.10.20
host:~ jrb$ mkdir test
host:~ jrb$ cd test
host:test jrb$ node /data/jrb/Downloads/[email protected]/bin/SDK.js --init --install --debug
Did not find an SDK on your system.  I will try to download the latest one
 and then build your project.
Note: you must have an internet connection to update.
Downloading SDK version: 0.2.1
Downloaded and installed successfully!...        
wrote:  /Users/jrb/test/main.cpp
Building...
stderr:  arm-none-eabi-g++: internal compiler error: Segmentation fault: 11 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.

Did not build successfully.  Please check the compiler warnings and errors list for more information.
host:test jrb$ 

Major bummer.

Can't run/debug the default program

I'm on Windows 7, I've install the Logiblock platform, downloaded the arm sdk, installed python27 for x86. The program has been correctly built from what I see.
I'm invoking the following command in one prompt :

node <logiblock-path>/bin/SDK.js --install 

It tells me:

"Device 'Galago' (serial number '01DN') attached, available to debug with gdb command:
target remote localhost:1033

-> Running gdb server; press ctrl+z, enter (end-of-file) to exit."

Then in another prompt, I start gdb, try to connect to the galago device with :

"target remote localhost:1033"

Then after a few second, I got this message in my first prompt :

"Driver terminated unexpectedly!"

What I'm doing wrong ?

Thanks for any help you might give me :)

PWM Output

Could anybody chime in and help me learn how to access the PWM function on Pin5 or any of the other capable pins? I have coded a project using SPI and I2C but want to add an IR emitter at 37KHz. Can anybody shed some light on using PWM from the galagoAPI ? I am coding from the CLI which i don't mind and would be happy to share my Max7219 code if it helps anyone else using an LED Matrix

Provide a command-line tool chain

It would be great if there was also a command-line tool chain available, or at least instructions on how to assemble one yourself. I would like to manage my source code and project files myself and use my preferred editor instead of a web browser.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.