outbreakinc / galago Goto Github PK
View Code? Open in Web Editor NEWGalago hardware designs
Galago hardware designs
This gist demonstrates the issue: main.cpp
Is the C Standard Library runtime not included in the build by default? Or are there certain parts that are not implemented by default that I should be expecting?
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
/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?
(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)
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.
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.
This collisions prevents the use of other c-string functions such as strlen(), etc.
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]$
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
/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?
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.
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 :)
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.