simavr
11 years agogdb: Read/write SREG values correctly
Jakob Gruber [Wed, 18 Jul 2012 10:37:50 +0000 (12:37 +0200)]
gdb: Read/write SREG values correctly

Accessing SREG through gdb seems to have been broken since SREG is no
longer synthesized at each instruction (2f67001d). As a quick fix, make
SREG accessors public and use them in sim_gdb.

Note that invalid avr->sreg values no longer trigger the CRASH macro.

11 years agotests: Correct expected output of atmega88_uart_echo
Jakob Gruber [Wed, 18 Jul 2012 08:16:14 +0000 (10:16 +0200)]
tests: Correct expected output of atmega88_uart_echo

Carriage return generation was added back to the file handler in
a26a2e43fc4b547090f3069e121713702593261d. Since the string is actually
passed through uart_putchar twice, the received string has a duplicate
'\r' character.

11 years agoMerge pull request #4 from schuay/markdown_syntax
Michel Pollet [Mon, 16 Jul 2012 17:21:03 +0000 (10:21 -0700)]
Merge pull request #4 from schuay/markdown_syntax

Markdown syntax

11 years agomisc: Update repository URL in README
Jakob Gruber [Mon, 16 Jul 2012 17:05:55 +0000 (19:05 +0200)]
misc: Update repository URL in README

11 years agomisc: Fix broken links in README.md
Jakob Gruber [Mon, 16 Jul 2012 17:00:31 +0000 (19:00 +0200)]
misc: Fix broken links in README.md

11 years agomisc: Github markdown uses indentation to mark code blocks
Jakob Gruber [Mon, 16 Jul 2012 16:57:51 +0000 (18:57 +0200)]
misc: Github markdown uses indentation to mark code blocks

11 years agomisc: Minor wording changes in README.md
Jakob Gruber [Mon, 16 Jul 2012 17:08:35 +0000 (19:08 +0200)]
misc: Minor wording changes in README.md

11 years agomisc: Github markdown uses underscores to italicize words
Jakob Gruber [Mon, 16 Jul 2012 16:47:49 +0000 (18:47 +0200)]
misc: Github markdown uses underscores to italicize words

11 years agoMerge pull request #2 from schuay/watchpoints
Michel Pollet [Mon, 16 Jul 2012 16:07:32 +0000 (09:07 -0700)]
Merge pull request #2 from schuay/watchpoints

Watchpoints

11 years agoMerge pull request #3 from schuay/not_known
Michel Pollet [Mon, 16 Jul 2012 14:35:41 +0000 (07:35 -0700)]
Merge pull request #3 from schuay/not_known

misc: Fix confusing typo in error message

11 years agomisc: Fix confusing typo in error message
Jakob Gruber [Mon, 16 Jul 2012 14:30:06 +0000 (16:30 +0200)]
misc: Fix confusing typo in error message

11 years agogdb: Use early termination in gdb_watch_find*
Jakob Gruber [Mon, 16 Jul 2012 13:32:56 +0000 (15:32 +0200)]
gdb: Use early termination in gdb_watch_find*

11 years agogdb: Implemented watchpoint handling
Jakob Gruber [Fri, 13 Jul 2012 12:22:51 +0000 (14:22 +0200)]
gdb: Implemented watchpoint handling

Per data access, we never signal more than one watchpoint. Possible
scenarios are several watchpoints at the same address (for example
WATCH_ACCESS and WATCH_WRITE) or overlapping watchpoint ranges. This is
not completely correct.

11 years agogdb: Store watchpoints in avr_gdb_t
Jakob Gruber [Fri, 13 Jul 2012 14:26:13 +0000 (16:26 +0200)]
gdb: Store watchpoints in avr_gdb_t

For now, quietly assume that all watchpoints are located in SRAM (with
0x800000 offset).

11 years agogdb: Prepare watchpoints_t data structure
Jakob Gruber [Fri, 13 Jul 2012 14:25:27 +0000 (16:25 +0200)]
gdb: Prepare watchpoints_t data structure

In preparation for the watchpoint implementation define an
avr_gdb_watchpoints_t struct to handle both. The struct is only accessed
through gdb_watch_* functions, therefore changing its internals should
be easy.

Note that this implementation cannot handle different watchpoints at the
same address with a different size.

The avr_gdb_watch_type enum is public and will be used in sim_core.c in
a follow-up commit.

11 years agoMerge pull request #1 from schuay/master
Michel Pollet [Fri, 13 Jul 2012 09:19:21 +0000 (02:19 -0700)]
Merge pull request #1 from schuay/master

Typos, mega1280 ADC channels

11 years agomega1280: Added upper ADC differential channels
Jakob Gruber [Thu, 12 Jul 2012 12:56:34 +0000 (14:56 +0200)]
mega1280: Added upper ADC differential channels

11 years agomisc: Fixed a couple of typos in comments
Jakob Gruber [Wed, 11 Jul 2012 22:14:15 +0000 (00:14 +0200)]
misc: Fixed a couple of typos in comments

11 years agosimavr: Makefile tweaks
Michel Pollet [Sat, 16 Jun 2012 10:02:18 +0000 (11:02 +0100)]
simavr: Makefile tweaks

Added install target too

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoMakefile: Add a debug log
Michel Pollet [Sat, 16 Jun 2012 08:42:26 +0000 (09:42 +0100)]
Makefile: Add a debug log

make V=1 will create a /tmp/simavr_conf.log to help find why
the cores won't compile

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: Deleted
Michel Pollet [Sat, 16 Jun 2012 08:41:35 +0000 (09:41 +0100)]
libc3: Deleted

Following the reprap board project on github

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Deleted example board
Michel Pollet [Sat, 16 Jun 2012 08:40:08 +0000 (09:40 +0100)]
reprap: Deleted example board

This as become a project in itself, it moves to:
https://github.com/buserror-uk/simreprap.git

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Added shadow mapping
Michel Pollet [Sat, 16 Jun 2012 08:15:09 +0000 (09:15 +0100)]
reprap: Added shadow mapping

Going to split this project into another one too..

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: Make & config tweaks
Michel Pollet [Sat, 16 Jun 2012 08:14:12 +0000 (09:14 +0100)]
libc3: Make & config tweaks

Now platform independent config headers
Also added a license

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3gl: Made c3gl_program_load public
Michel Pollet [Sat, 16 Jun 2012 08:12:43 +0000 (09:12 +0100)]
c3gl: Made c3gl_program_load public

Useful to reload shaders

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3gl_fbo: added depth texture
Michel Pollet [Sat, 16 Jun 2012 08:10:45 +0000 (09:10 +0100)]
c3gl_fbo: added depth texture

... which is different from the depth renderbuffer

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3program: Include digits in uniform names
Michel Pollet [Sat, 16 Jun 2012 08:09:45 +0000 (09:09 +0100)]
c3program: Include digits in uniform names

Somehow they were missing

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3context: Calculate the view projection matrix
Michel Pollet [Sat, 16 Jun 2012 08:09:13 +0000 (09:09 +0100)]
c3context: Calculate the view projection matrix

Turns out everything was there to do it

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3camera: Added a field-of-view
Michel Pollet [Sat, 16 Jun 2012 08:08:25 +0000 (09:08 +0100)]
c3camera: Added a field-of-view

For calculating perspective matrix

11 years agoreprap: Updated to reflects changes to libc3
Michel Pollet [Fri, 15 Jun 2012 08:23:48 +0000 (09:23 +0100)]
reprap: Updated to reflects changes to libc3

New fbo layer, lights and so on

11 years agoc3gl_fbo: New bits
Michel Pollet [Fri, 15 Jun 2012 08:22:58 +0000 (09:22 +0100)]
c3gl_fbo: New bits

Implement the framebuffer objects. It doesn't cover all the cases
but it'll help for now.

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3gl: Implemements lights
Michel Pollet [Fri, 15 Jun 2012 08:21:44 +0000 (09:21 +0100)]
c3gl: Implemements lights

Handles (some) fo the light parameters

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3texture: Added a resize() function
Michel Pollet [Fri, 15 Jun 2012 08:21:06 +0000 (09:21 +0100)]
c3texture: Added a resize() function

Changes the size of the display quad

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3program: can specify uniform order
Michel Pollet [Fri, 15 Jun 2012 08:20:33 +0000 (09:20 +0100)]
c3program: can specify uniform order

By passing an array of names, these will occupy the uniform
array first, before the parsing phase populates the list

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3object: Implements 'hidden' objects
Michel Pollet [Fri, 15 Jun 2012 08:19:05 +0000 (09:19 +0100)]
c3object: Implements 'hidden' objects

Objects and geometry can be hidden from specific c3context_views
using a bitfield

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3geometry: Added a set_dirty() function
Michel Pollet [Fri, 15 Jun 2012 08:17:47 +0000 (09:17 +0100)]
c3geometry: Added a set_dirty() function

Also dirties parent object

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3context: Make sure lights are 'drawn' first
Michel Pollet [Fri, 15 Jun 2012 08:17:07 +0000 (09:17 +0100)]
c3context: Make sure lights are 'drawn' first

Make sure the light pseudo geometries are always
at the top of the list

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3light: New bit
Michel Pollet [Fri, 15 Jun 2012 08:16:12 +0000 (09:16 +0100)]
c3light: New bit

Records lights position/type and can be carried around
in the geometry, transformed etc.

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3gl: Implemented buffer objects and vertex array objects
Michel Pollet [Wed, 13 Jun 2012 17:17:12 +0000 (18:17 +0100)]
c3gl: Implemented buffer objects and vertex array objects

Supports vertex objects. Still need support for updating them

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3algebra: Added ortho matrices
Michel Pollet [Wed, 13 Jun 2012 17:15:58 +0000 (18:15 +0100)]
c3algebra: Added ortho matrices

Including screen oriented ones

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3geometry: Added geometry buffers
Michel Pollet [Wed, 13 Jun 2012 17:15:16 +0000 (18:15 +0100)]
c3geometry: Added geometry buffers

added storage fields for buffer objects

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: c_array tweaks
Michel Pollet [Wed, 13 Jun 2012 17:11:23 +0000 (18:11 +0100)]
libc3: c_array tweaks

'free' no longer clears the entire struct, only generic
array fields
'realloc' frees the array if passed zero elements

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3context: Added a view draw callback
Michel Pollet [Tue, 12 Jun 2012 17:33:52 +0000 (18:33 +0100)]
c3context: Added a view draw callback

Unused for now, prepares a view to be drawn

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3geometry: Removed projected vertices
Michel Pollet [Tue, 12 Jun 2012 17:33:15 +0000 (18:33 +0100)]
c3geometry: Removed projected vertices

Now uses a world aligned transform matrix. Changed randering code
to use it. Still use a projection matrix for now.

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3algebra: Added frustrum and full perspective
Michel Pollet [Tue, 12 Jun 2012 17:29:59 +0000 (18:29 +0100)]
c3algebra: Added frustrum and full perspective

Replacements for glu stuff

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoc3camera: matrix contains the eye position
Michel Pollet [Tue, 12 Jun 2012 17:27:31 +0000 (18:27 +0100)]
c3camera: matrix contains the eye position

Moved stuff around and added the translation to eye coordinates
to the matrix.

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agospi: Reset the SPI Interrupt Flag
Michel Pollet [Wed, 6 Jun 2012 10:52:47 +0000 (11:52 +0100)]
spi: Reset the SPI Interrupt Flag

Reset the SPI Interrupt Flag in SPSR uppon read of a SPI byte.

via sebastien.besombes@gmail.com
Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agouart: Made the stdio buffer non-static
Michel Pollet [Wed, 6 Jun 2012 07:47:20 +0000 (08:47 +0100)]
uart: Made the stdio buffer non-static

Thanks to sebastien.besombes@gmail.com for the report

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoshared: Removed mongoose
Michel Pollet [Wed, 6 Jun 2012 07:45:16 +0000 (08:45 +0100)]
shared: Removed mongoose

It was never needed in the end

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Split arduidiot_pins for generic use
Michel Pollet [Wed, 6 Jun 2012 07:44:48 +0000 (08:44 +0100)]
reprap: Split arduidiot_pins for generic use

Returns a simavr irq for an arduinio pin (only for m644 for now)

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: remerged
Michel Pollet [Wed, 6 Jun 2012 06:59:35 +0000 (07:59 +0100)]
libc3: remerged

Submodules are a bit sensitive, so I'm remerging this and will use
'git subtree' instead to split libc3 development

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agogitignore: Updated
Michel Pollet [Wed, 6 Jun 2012 06:47:56 +0000 (07:47 +0100)]
gitignore: Updated

Added custom build flags file

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agosimduino: Updated readme
Michel Pollet [Wed, 6 Jun 2012 06:47:01 +0000 (07:47 +0100)]
simduino: Updated readme

Since it now uses a pty directly

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Uses libc3gl too now
Michel Pollet [Wed, 6 Jun 2012 06:43:17 +0000 (07:43 +0100)]
reprap: Uses libc3gl too now

Moved generic code out

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Added support for indexed elements
Michel Pollet [Tue, 5 Jun 2012 14:58:09 +0000 (15:58 +0100)]
reprap: Added support for indexed elements

And spheres

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agocores: Now duplicate the global structure
Michel Pollet [Sun, 3 Jun 2012 22:46:08 +0000 (23:46 +0100)]
cores: Now duplicate the global structure

Strangely, it didn't, so you could not allocate 2 cores even tho nothing else
is there to stop it...

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: Update
Michel Pollet [Sun, 3 Jun 2012 16:25:41 +0000 (17:25 +0100)]
libc3: Update

Minor update

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: Few more updates
Michel Pollet [Sun, 3 Jun 2012 14:11:49 +0000 (15:11 +0100)]
libc3: Few more updates

c3context can have several viewpoints
c3context has a list of c3programs
c3camera got renamed with standard type names
c3context/c3geometry driver got a dispose callback

gl code has a new generic glsl program loader

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agolibc3: Added c3program
Michel Pollet [Sun, 3 Jun 2012 14:09:34 +0000 (15:09 +0100)]
libc3: Added c3program

To load shader(s)

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: c_utils updates
Michel Pollet [Sun, 3 Jun 2012 14:09:07 +0000 (15:09 +0100)]
reprap: c_utils updates

Added a fre accessors

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agouart_pty: Add CR/LF conversion to the tap
Michel Pollet [Sun, 3 Jun 2012 14:08:34 +0000 (15:08 +0100)]
uart_pty: Add CR/LF conversion to the tap

Make sure whst we type is converted too

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Implemented the 'heatpot'
Michel Pollet [Sun, 3 Jun 2012 14:07:56 +0000 (15:07 +0100)]
reprap: Implemented the 'heatpot'

Somehow raise a temperature using a score, reduces it automatically etc

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agouart_pty: Introduced the notion of 'tap' port
Michel Pollet [Sat, 2 Jun 2012 14:34:21 +0000 (15:34 +0100)]
uart_pty: Introduced the notion of 'tap' port

The previous way to debug was 'stealing' the port by using an xterm on it..
the new way leaves the proper pty available to the application you want to use
but still allow you to have a 'tap' port that sees both the sides of the
communication om the other pty.

You can also type stuff obviously, and it does some cr/lf conversions.

/tmp/simavr-uart0 : will be the normal fake serial port
/tmp/simavr-uarttap0 : is the one to launch an xterm on

This allow you to really see the serial traffic as it happends with both
requests and replies.

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Compatibility with OSX
Michel Pollet [Sat, 2 Jun 2012 12:32:11 +0000 (13:32 +0100)]
reprap: Compatibility with OSX

The shader now works on both platform
Removed the .bin file, made sure it never happends again

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: c3 update etc
Michel Pollet [Fri, 1 Jun 2012 22:17:00 +0000 (23:17 +0100)]
reprap: c3 update etc

probably last update befire I spin it out

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Delete mongoose
Michel Pollet [Fri, 1 Jun 2012 22:15:03 +0000 (23:15 +0100)]
reprap: Delete mongoose

Don't need that anymore

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agocore: Cycle timer small fix
Michel Pollet [Fri, 1 Jun 2012 22:14:11 +0000 (23:14 +0100)]
core: Cycle timer small fix

Makes it better on threaded GL on OSX

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: c3 update
Michel Pollet [Mon, 28 May 2012 18:20:58 +0000 (19:20 +0100)]
reprap: c3 update

Also:
freenode group verification: token jkndwaw234

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agocores: New avr-libc fixes
Michel Pollet [Mon, 28 May 2012 09:20:29 +0000 (10:20 +0100)]
cores: New avr-libc fixes

New debian avr-libc has actually deprecated register names, unfortunately
the other distros will catchup in 4 years or so, so we still have to
reactivate them .

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agousb: Fix for new compiler
Michel Pollet [Mon, 28 May 2012 09:19:11 +0000 (10:19 +0100)]
usb: Fix for new compiler

Progmem now need 'const'. Also fixed the makefile

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: Steppers use proper logic
Michel Pollet [Mon, 28 May 2012 09:18:20 +0000 (10:18 +0100)]
reprap: Steppers use proper logic

For underflow detection, instead of using a signed value

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoMakefile: Use CPPFLAGS for -I stuff
Michel Pollet [Mon, 28 May 2012 09:17:34 +0000 (10:17 +0100)]
Makefile: Use CPPFLAGS for -I stuff

CFLAGS is for code generation

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoMakefile: Include a .make.options if present
Michel Pollet [Mon, 28 May 2012 09:16:42 +0000 (10:16 +0100)]
Makefile: Include a .make.options if present

A file .make.options will be loaded if present. It allows specifyong host
dependent flags without polluting the makefile, or use flags that wont work
on all hosts.
My current one contains:

export CC = clang
export CFLAGS = -march=corei7-avx

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoreprap: c3 documentation
Michel Pollet [Sat, 26 May 2012 22:20:00 +0000 (23:20 +0100)]
reprap: c3 documentation

Some documentation. c2 is probably going to be spin out soon

Signed-off-by: Michel Pollet <buserror@gmail.com>
11 years agoclang: Fixes of warning and nasty bugs
Michel Pollet [Fri, 25 May 2012 12:55:11 +0000 (13:55 +0100)]
clang: Fixes of warning and nasty bugs

XCode 4.3 & clang fixes. Should also apply to BSD

Found a nasty bug in clang with sign bit propagation

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agomisc: Fixes clang warnings
Michel Pollet [Tue, 22 May 2012 18:11:37 +0000 (19:11 +0100)]
misc: Fixes clang warnings

And it found some genuine bugs too

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoMakefiles: Tweaked to build using clang/llvm
Michel Pollet [Tue, 22 May 2012 18:10:45 +0000 (19:10 +0100)]
Makefiles: Tweaked to build using clang/llvm

Converted makefiles and tweaked to make it all work with clang etc.

Welcome to the future!

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: c3 stl loader
Michel Pollet [Mon, 21 May 2012 13:23:06 +0000 (14:23 +0100)]
reprap: c3 stl loader

Quick'n Dirty STL file loader, and added a small model doe the nozzle.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: c3 update
Michel Pollet [Mon, 21 May 2012 00:30:37 +0000 (01:30 +0100)]
reprap: c3 update

Allows having a custom callback set for geometries

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agogdb: Fixed a warning
Michel Pollet [Sun, 20 May 2012 20:25:42 +0000 (21:25 +0100)]
gdb: Fixed a warning

-Wall being pedantic

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: c3 update
Michel Pollet [Sun, 20 May 2012 20:25:16 +0000 (21:25 +0100)]
reprap: c3 update

Added tons of stuff to the micro-scene-graph 3D code.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agomake: Tweaks for freebsd
Michel Pollet [Sat, 19 May 2012 14:20:10 +0000 (15:20 +0100)]
make: Tweaks for freebsd

Use pkg-config if possible, don't use alloca()

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: Added opengl renderer
Michel Pollet [Sat, 19 May 2012 13:33:12 +0000 (14:33 +0100)]
reprap: Added opengl renderer

The small red cross moves as the nozzle. Very primitive still
Rotate with the mouse, sorta.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: Added c3, a small scene graph lib
Michel Pollet [Sat, 19 May 2012 13:32:04 +0000 (14:32 +0100)]
reprap: Added c3, a small scene graph lib

To display the hotend over the printer bed. Very very primitive

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoMakefile: Bit more cleanup
Michel Pollet [Fri, 18 May 2012 12:04:50 +0000 (13:04 +0100)]
Makefile: Bit more cleanup

Added -O2 for the examples too

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agocleanup: Remove codecrusader file
Michel Pollet [Fri, 18 May 2012 11:46:29 +0000 (12:46 +0100)]
cleanup: Remove codecrusader file

Obsolete

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agovhci: Added a patch
Michel Pollet [Fri, 18 May 2012 11:45:52 +0000 (12:45 +0100)]
vhci: Added a patch

Somehow now also need an extra include...

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agodoc: Updated callgraph
Michel Pollet [Fri, 18 May 2012 11:45:18 +0000 (12:45 +0100)]
doc: Updated callgraph

Had'nt updated it in a while

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoMakefiles: Updated for build on BSD
Michel Pollet [Fri, 18 May 2012 11:43:53 +0000 (12:43 +0100)]
Makefiles: Updated for build on BSD

Remove reference to explicit 'make' and /bin/bash

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoMigration to github, added some documentation and screenshots
Michel Pollet [Mon, 14 May 2012 10:55:08 +0000 (11:55 +0100)]
Migration to github, added some documentation and screenshots

github seems to have quite a bit more traction, so we're migrating the
primagry tree to github, but will also continue to mirror on gitorious.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: Some more updates, also a Marlin binary to test
Michel Pollet [Mon, 14 May 2012 09:33:16 +0000 (10:33 +0100)]
reprap: Some more updates, also a Marlin binary to test

Added a marlin binary that works, to help repsnapper's

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agostepper: Keep position in step numbers, not mm
Michel Pollet [Wed, 18 Apr 2012 09:56:57 +0000 (10:56 +0100)]
stepper: Keep position in step numbers, not mm

More precise, also use a cycle timer to send status positions in mm

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: Added a 'relief' sleep
Michel Pollet [Wed, 18 Apr 2012 09:49:57 +0000 (10:49 +0100)]
reprap: Added a 'relief' sleep

Tweaked Marlin to do a spurious write to GPIOR0 so allow
the simulator to get some usleep() and not use 100% cpu

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agouart_pty: Check value of environment variable
Michel Pollet [Wed, 18 Apr 2012 09:48:46 +0000 (10:48 +0100)]
uart_pty: Check value of environment variable

Can set it to 0 to disable the xterm

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agorun_avr: Use the new read_ihex_chunks
Michel Pollet [Wed, 18 Apr 2012 09:47:55 +0000 (10:47 +0100)]
run_avr: Use the new read_ihex_chunks

Still doesn't solve the problem of the avr assembler ihex being sparse,
but at least the problem is no longer int he ihex code.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoihex: Made read_ihexq_chunks allocare the table
Michel Pollet [Wed, 18 Apr 2012 09:46:35 +0000 (10:46 +0100)]
ihex: Made read_ihexq_chunks allocare the table

The table is allocared and returned as the result

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agoreprap: Progress
Michel Pollet [Wed, 11 Apr 2012 21:03:02 +0000 (22:03 +0100)]
reprap: Progress

Now the reprap board has fake stepper motors that know their position,
with endstops (they work with Marlin) also there is a way to use
arduidiot pins numbers and remap them to AVR pins..

There is a prototype "heatpot" part that will be used to collect
source and drain of heat and calculafe a temperature.

Also added mongoose embedable web server. The current plan is to
use WebGL to render the graphics of the 3D printer... altho it's
not entirely sure as yet.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agocore: Ensure we can run in >64K flash
Michel Pollet [Wed, 11 Apr 2012 20:59:28 +0000 (21:59 +0100)]
core: Ensure we can run in >64K flash

From an original patch from alex Bondarenko <alexian79@gmail.com>
Reworked to add a new type for flash addresses.

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agomisc: Cleanup & typos
Michel Pollet [Wed, 11 Apr 2012 20:57:37 +0000 (21:57 +0100)]
misc: Cleanup & typos

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
12 years agomega1280: Made PORTK work
Michel Pollet [Fri, 6 Apr 2012 17:25:43 +0000 (18:25 +0100)]
mega1280: Made PORTK work

This was triggering a limit in the AVR core IO table

Signed-off-by: Michel Pollet <buserror@gmail.com>