log for 8a362b7623ed36cb04b06fbe893e31dbc90f55ef
Commit 8a362b7623ed36cb04b06fbe893e31dbc90f55ef
committer: Jakob Gruber [Tue, 31 Jul 2012 11:08:25 +0000 (13:08 +0200)]
author: Jakob Gruber [Tue, 31 Jul 2012 10:46:59 +0000 (12:46 +0200)]
Message:
cores: Set raise_sticky in TWI interrupt vectors
Commit 33c05fb002222858d4fc18f7175324d9e738dae5
committer: Jakob Gruber [Tue, 31 Jul 2012 11:08:25 +0000 (13:08 +0200)]
author: Jakob Gruber [Tue, 31 Jul 2012 10:43:46 +0000 (12:43 +0200)]
Message:
interrupts: Introduce raise_sticky flag

If set, the raise bit is not cleared in avr_clear_interrupt. This
corresponds to the hardware not clearing the interrupt flag when
executing the interrupt routine.

The only known example of this is the TWI Interrupt Flag TWINT.
Commit a37330f6cc0d3e034b0f9158218ab9530aa56dfb
committer: Jakob Gruber [Tue, 31 Jul 2012 11:08:25 +0000 (13:08 +0200)]
author: Jakob Gruber [Tue, 31 Jul 2012 10:42:59 +0000 (12:42 +0200)]
Message:
interrupts: Do not clear raised bit twice

avr_regbit_clear is already called in avr_clear_interrupt.
Commit 18b7902f64a1af238a4d04aab34fe9dbea514bd6
committer: Jakob Gruber [Tue, 31 Jul 2012 11:06:00 +0000 (13:06 +0200)]
author: Jakob Gruber [Tue, 31 Jul 2012 10:22:22 +0000 (12:22 +0200)]
Message:
twi: Correct swapped twi irq names
Commit da3a776a394e41d3e2d3a3da389ad46ffb61b6a2
committer: Jakob Gruber [Tue, 31 Jul 2012 11:06:00 +0000 (13:06 +0200)]
author: Jakob Gruber [Tue, 31 Jul 2012 08:45:07 +0000 (10:45 +0200)]
Message:
interrupts: Typo correction (pooling -> polling)
Commit 28fe073e48558af93ae41ea4ae84b66e6c2ad71f
committer: Jakob Gruber [Tue, 31 Jul 2012 11:06:00 +0000 (13:06 +0200)]
author: Jakob Gruber [Fri, 27 Jul 2012 11:58:13 +0000 (13:58 +0200)]
Message:
misc: Consistent include guards in headers

Changed all include guard defines to a consistent form and added them if
missing.
Commit 242d9d81f037c7114282ae0da520200b288b8369
committer: Jakob Gruber [Tue, 31 Jul 2012 11:06:00 +0000 (13:06 +0200)]
author: Jakob Gruber [Fri, 27 Jul 2012 11:46:28 +0000 (13:46 +0200)]
Message:
misc: Add extern "C" blocks to headers

Most headers already had these. This commit adds them where they weren't
included yet.
Commit 98a2078b49ca5b0324acaa2257504d7952389b2c
committer: Jakob Gruber [Thu, 26 Jul 2012 12:40:46 +0000 (14:40 +0200)]
author: Jakob Gruber [Thu, 26 Jul 2012 11:05:21 +0000 (13:05 +0200)]
Message:
simavr: Do not call avr_terminate in run callbacks

Neither run_avr nor the examples expect avr_terminate to be called by
simavr itself.
This also caused issues for cleanup code (such as IRQ disconnections)
that did not know if avr_terminate had already been called or not.
Commit 01b69068c91fcc90ed7dc0cdf7e1a7d0cb08af53
committer: Jakob Gruber [Thu, 26 Jul 2012 12:40:46 +0000 (14:40 +0200)]
author: Jakob Gruber [Thu, 26 Jul 2012 10:46:49 +0000 (12:46 +0200)]
Message:
irq: Print errors to stderr

Trying to (dis)connect an invalid IRQ is an error. Note that the
incorrect function name printed in avr_unconnect_irq has been corrected.
Commit 363de56ad82a5dbd9866a8db1b70cd9091ef948f
committer: Jakob Gruber [Thu, 26 Jul 2012 12:40:46 +0000 (14:40 +0200)]
author: Jakob Gruber [Thu, 26 Jul 2012 09:23:33 +0000 (11:23 +0200)]
Message:
twi: Move avr_twi_irq_msg to avr_twi.c

This fixes inclusion of avr_twi.h into C++ files.
Commit d7f5a703ce3ac183ddef9651f4f97e812bae0234
committer: Jakob Gruber [Thu, 26 Jul 2012 12:40:46 +0000 (14:40 +0200)]
author: Jakob Gruber [Mon, 23 Jul 2012 16:46:48 +0000 (18:46 +0200)]
Message:
interrupts: Don't wake up if not sleeping

This caused the CPU to wake up even if it was explicitly set to
cpu_Stopped.
Commit 98ff83eb832dec98d5a524077cf2fdf33f33f881
committer: Michel Pollet [Wed, 25 Jul 2012 08:25:11 +0000 (09:25 +0100)]
author: Michel Pollet [Wed, 25 Jul 2012 08:24:39 +0000 (09:24 +0100)]
Message:
Makefile: Create .deb files using fpm

Handy way of creating debian packages quickly

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit eccb603b20b9154d5c488720ea3818c47a731e54
author: Jakob Gruber [Fri, 20 Jul 2012 19:52:05 +0000 (21:52 +0200)]
Message:
examples: Correct instructions for timer_64led example
Commit 0a8aa4993092cbbe6cd16eee6d04bee3c35b98fd
committer: Jakob Gruber [Fri, 20 Jul 2012 12:51:14 +0000 (14:51 +0200)]
author: Jakob Gruber [Fri, 20 Jul 2012 12:47:06 +0000 (14:47 +0200)]
Message:
run_avr: Abort if firmware could not be read

Otherwise, simavr continues and tries to process whichever random memory
content is located in the flash memory section even when the file could
not be read.
Commit fddb2a02e9feadaefaf690b07a69a1556fb96fd1
committer: Jakob Gruber [Fri, 20 Jul 2012 12:31:26 +0000 (14:31 +0200)]
author: Jakob Gruber [Fri, 20 Jul 2012 12:19:48 +0000 (14:19 +0200)]
Message:
examples: hd44780 responds on falling edge of E pin

The example itself works both ways, but the actual HD44780 chip
processes data on the falling edge - see the data sheet.
Commit d63e2a190fcc83978ffcead60e2d6db597ed8ecc
author: Jakob Gruber [Thu, 19 Jul 2012 22:10:39 +0000 (00:10 +0200)]
Message:
examples: Fix frequency of ac_input signal

The comment in ac_input.h specifies 50 Hz, but it was actually 500 Hz.

This off-by-one-zero error probably went unnoticed because of inaccurate
sleep handling (which was fixed in the previous commit).
Commit 8e195b43da0db4f2e9bd6f56cf68ba91b57676e2
committer: Jakob Gruber [Thu, 19 Jul 2012 21:46:19 +0000 (23:46 +0200)]
author: Jakob Gruber [Thu, 19 Jul 2012 21:37:02 +0000 (23:37 +0200)]
Message:
simavr: Improved accuracy of sleep durations

This commit solves (or at least improves) an issue that occurs when
short sleep times are requested in avr_callback_sleep_*. The operating
system cannot accurately handle short sleep requests, and sending many
short requests takes significantly longer than requesting the equivalent
time in longer bursts. This can be observed by running the board_hd77480
example - the counter is much slower when vcd recording is turned on
(= short sleep requests) than when it is turned off (= long sleep
requests).

We improve this situation by accumulating sleep requests until a certain
minimum count of pending usecs is reached which can be handled somewhat
accurately (200 microseconds worked well for me).
Commit de9f70375c1967c9d24f9181b66bbb949afee47f
committer: Jakob Gruber [Wed, 18 Jul 2012 10:43:28 +0000 (12:43 +0200)]
author: Jakob Gruber [Wed, 18 Jul 2012 10:37:50 +0000 (12:37 +0200)]
Message:
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.
Commit ebaa00a9b6e58407cbc6bacd5066ca3c9bf04f97
committer: Jakob Gruber [Wed, 18 Jul 2012 10:43:28 +0000 (12:43 +0200)]
author: Jakob Gruber [Wed, 18 Jul 2012 08:16:14 +0000 (10:16 +0200)]
Message:
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.
Commit 2b8180f35ec5b98a2827e59bdeb2cf81fc90a636
author: Michel Pollet [Mon, 16 Jul 2012 17:21:03 +0000 (10:21 -0700)]
Message:
Merge pull request #4 from schuay/markdown_syntax

Markdown syntax
Commit 2321695a49c4a290ab1c27aef28483bf72676b23
committer: Jakob Gruber [Mon, 16 Jul 2012 17:09:13 +0000 (19:09 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 17:05:55 +0000 (19:05 +0200)]
Message:
misc: Update repository URL in README
Commit eda48ea35f19757a243327cce2f58e746c20e722
committer: Jakob Gruber [Mon, 16 Jul 2012 17:09:13 +0000 (19:09 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 17:00:31 +0000 (19:00 +0200)]
Message:
misc: Fix broken links in README.md
Commit 05a3af1c57c044100ee1763d81ce763aaf9a6fb2
committer: Jakob Gruber [Mon, 16 Jul 2012 17:09:08 +0000 (19:09 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 16:57:51 +0000 (18:57 +0200)]
Message:
misc: Github markdown uses indentation to mark code blocks
Commit 801524a8f230934c960899d07620a8615dd57060
author: Jakob Gruber [Mon, 16 Jul 2012 17:08:35 +0000 (19:08 +0200)]
Message:
misc: Minor wording changes in README.md
Commit 049eef6e9a5ab2ed50df7a74605eacebb2d1069f
committer: Jakob Gruber [Mon, 16 Jul 2012 17:06:45 +0000 (19:06 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 16:47:49 +0000 (18:47 +0200)]
Message:
misc: Github markdown uses underscores to italicize words
Commit e59905578654dd4b66f821e9c1b9fd0e90b310a9
author: Michel Pollet [Mon, 16 Jul 2012 16:07:32 +0000 (09:07 -0700)]
Message:
Merge pull request #2 from schuay/watchpoints

Watchpoints
Commit 40c40d5dfccc12d788daa20dc4008bfba34fab8d
author: Michel Pollet [Mon, 16 Jul 2012 14:35:41 +0000 (07:35 -0700)]
Message:
Merge pull request #3 from schuay/not_known

misc: Fix confusing typo in error message
Commit 6afcd2a88c5ef2fa2d3e2839dea316fb9b1786ac
committer: Jakob Gruber [Mon, 16 Jul 2012 14:30:45 +0000 (16:30 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 14:30:06 +0000 (16:30 +0200)]
Message:
misc: Fix confusing typo in error message
Commit 24bc2f45d8de0cec89855cc745ccc77e1ea502e4
committer: Jakob Gruber [Mon, 16 Jul 2012 13:40:52 +0000 (15:40 +0200)]
author: Jakob Gruber [Mon, 16 Jul 2012 13:32:56 +0000 (15:32 +0200)]
Message:
gdb: Use early termination in gdb_watch_find*
Commit 909198fa8bd460772d3729a85444333ab4ef38d7
committer: Jakob Gruber [Sun, 15 Jul 2012 21:26:45 +0000 (23:26 +0200)]
author: Jakob Gruber [Fri, 13 Jul 2012 12:22:51 +0000 (14:22 +0200)]
Message:
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.
Commit 30bd286ca4766cf45ae58e66e377e531efc53a51
committer: Jakob Gruber [Sun, 15 Jul 2012 21:26:45 +0000 (23:26 +0200)]
author: Jakob Gruber [Fri, 13 Jul 2012 14:26:13 +0000 (16:26 +0200)]
Message:
gdb: Store watchpoints in avr_gdb_t

For now, quietly assume that all watchpoints are located in SRAM (with
0x800000 offset).
Commit d15b56e87c0e485017ad441462de916627f0cc9f
committer: Jakob Gruber [Sun, 15 Jul 2012 21:26:44 +0000 (23:26 +0200)]
author: Jakob Gruber [Fri, 13 Jul 2012 14:25:27 +0000 (16:25 +0200)]
Message:
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.
Commit 2cf07567ba52d3606e53e395fac259caf8ace2e1
author: Michel Pollet [Fri, 13 Jul 2012 09:19:21 +0000 (02:19 -0700)]
Message:
Merge pull request #1 from schuay/master

Typos, mega1280 ADC channels
Commit e7d318246283b69cef48397d67c75f7a6137ca12
committer: Jakob Gruber [Thu, 12 Jul 2012 13:18:08 +0000 (15:18 +0200)]
author: Jakob Gruber [Thu, 12 Jul 2012 12:56:34 +0000 (14:56 +0200)]
Message:
mega1280: Added upper ADC differential channels
Commit 6d2da708b0b554f5f70d0c74ce09d4dd279d49d2
committer: Jakob Gruber [Thu, 12 Jul 2012 13:18:08 +0000 (15:18 +0200)]
author: Jakob Gruber [Wed, 11 Jul 2012 22:14:15 +0000 (00:14 +0200)]
Message:
misc: Fixed a couple of typos in comments
Commit 6dd257f754fb29815eac1123e1ed97eead1d10cb
author: Michel Pollet [Sat, 16 Jun 2012 10:02:18 +0000 (11:02 +0100)]
Message:
simavr: Makefile tweaks

Added install target too

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 2e7cd176d49f93fc000d0db24c90b9511fe383ce
author: Michel Pollet [Sat, 16 Jun 2012 08:42:26 +0000 (09:42 +0100)]
Message:
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>
Commit 5325bf64305963eca0e14cd07c227b14d1849eaf
author: Michel Pollet [Sat, 16 Jun 2012 08:41:35 +0000 (09:41 +0100)]
Message:
libc3: Deleted

Following the reprap board project on github

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 802a8e0987509f538ca1d47c2474381759eae523
author: Michel Pollet [Sat, 16 Jun 2012 08:40:08 +0000 (09:40 +0100)]
Message:
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>
Commit 06346f65b6642990695f15b87760f4a9aa3ebd06
author: Michel Pollet [Sat, 16 Jun 2012 08:15:09 +0000 (09:15 +0100)]
Message:
reprap: Added shadow mapping

Going to split this project into another one too..

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

Now platform independent config headers
Also added a license

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

Useful to reload shaders

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

... which is different from the depth renderbuffer

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

Somehow they were missing

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

Turns out everything was there to do it

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

For calculating perspective matrix
Commit 0995f10939e8e756edbe601455061074b07913fb
author: Michel Pollet [Fri, 15 Jun 2012 08:23:48 +0000 (09:23 +0100)]
Message:
reprap: Updated to reflects changes to libc3

New fbo layer, lights and so on
Commit e5d03e43609fb6deeed857e3f13fc4027b694c79
author: Michel Pollet [Fri, 15 Jun 2012 08:22:58 +0000 (09:22 +0100)]
Message:
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>
Commit 99dffcc6be6ba995efc9f1fa47f4813bb759bd40
author: Michel Pollet [Fri, 15 Jun 2012 08:21:44 +0000 (09:21 +0100)]
Message:
c3gl: Implemements lights

Handles (some) fo the light parameters

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

Changes the size of the display quad

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit cfa527859288457f413cc78cdf33c5a7e79518b6
author: Michel Pollet [Fri, 15 Jun 2012 08:20:33 +0000 (09:20 +0100)]
Message:
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>
Commit 15c1e7379018f38a5aed98f60be7e5b6135b1a0f
author: Michel Pollet [Fri, 15 Jun 2012 08:19:05 +0000 (09:19 +0100)]
Message:
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>
Commit 28a895184b561b9054a55b705eb3aeb5d7dc2df2
author: Michel Pollet [Fri, 15 Jun 2012 08:17:47 +0000 (09:17 +0100)]
Message:
c3geometry: Added a set_dirty() function

Also dirties parent object

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 1d2a0a8eb394034b838f759678b2dca74d0de52e
author: Michel Pollet [Fri, 15 Jun 2012 08:17:07 +0000 (09:17 +0100)]
Message:
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>
Commit ede3c505b3cb75db4e7314e58849bd3a8c74992b
author: Michel Pollet [Fri, 15 Jun 2012 08:16:12 +0000 (09:16 +0100)]
Message:
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>
Commit b2fd603f4aca04fd83d4dae6310067c406410998
author: Michel Pollet [Wed, 13 Jun 2012 17:17:12 +0000 (18:17 +0100)]
Message:
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>
Commit 7bf79ff628dc3c46445a3a5eaf70ac0aa96c927a
author: Michel Pollet [Wed, 13 Jun 2012 17:15:58 +0000 (18:15 +0100)]
Message:
c3algebra: Added ortho matrices

Including screen oriented ones

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

added storage fields for buffer objects

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 1c4c07586f0591e7a6d8e46e91a4a6ba90a95a5f
author: Michel Pollet [Wed, 13 Jun 2012 17:11:23 +0000 (18:11 +0100)]
Message:
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>
Commit d63b5c761a663ecccd8f2d6969016a8b596a61e7
author: Michel Pollet [Tue, 12 Jun 2012 17:33:52 +0000 (18:33 +0100)]
Message:
c3context: Added a view draw callback

Unused for now, prepares a view to be drawn

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 1d39956926c07a7625830872db830789a8dda508
author: Michel Pollet [Tue, 12 Jun 2012 17:33:15 +0000 (18:33 +0100)]
Message:
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>
Commit 7303a27e00000a7ff6e2bba401d99b421df2c02b
author: Michel Pollet [Tue, 12 Jun 2012 17:29:59 +0000 (18:29 +0100)]
Message:
c3algebra: Added frustrum and full perspective

Replacements for glu stuff

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 2463c19868be5e060bb8c0cf897d89397a6d88be
author: Michel Pollet [Tue, 12 Jun 2012 17:27:31 +0000 (18:27 +0100)]
Message:
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>
Commit 90da54280f2ff2d91f2e51f41a5e747c56db6f94
author: Michel Pollet [Wed, 6 Jun 2012 10:52:47 +0000 (11:52 +0100)]
Message:
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>
Commit 1b14bdb55e8dd1bdbcc410f16a500802c741741c
author: Michel Pollet [Wed, 6 Jun 2012 07:47:20 +0000 (08:47 +0100)]
Message:
uart: Made the stdio buffer non-static

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

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

It was never needed in the end

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 80ac5d5142c6658f4fa57b79e6b4cb87114df47d
author: Michel Pollet [Wed, 6 Jun 2012 07:44:48 +0000 (08:44 +0100)]
Message:
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>
Commit 1b4c2367d6ee9a886949eaa64feec929cf8e387d
author: Michel Pollet [Wed, 6 Jun 2012 06:59:35 +0000 (07:59 +0100)]
Message:
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>
Commit a7b89bc57a1fd76bd25c686eeb10616831bfbcfc
committer: Michel Pollet [Wed, 6 Jun 2012 06:51:44 +0000 (07:51 +0100)]
author: Michel Pollet [Wed, 6 Jun 2012 06:47:56 +0000 (07:47 +0100)]
Message:
gitignore: Updated

Added custom build flags file

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit bc623500a6d4ef6825d33990563e644810154d66
committer: Michel Pollet [Wed, 6 Jun 2012 06:51:44 +0000 (07:51 +0100)]
author: Michel Pollet [Wed, 6 Jun 2012 06:47:01 +0000 (07:47 +0100)]
Message:
simduino: Updated readme

Since it now uses a pty directly

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 83a65621c18ecd675bbfa6dd5465bbbf9ddaee04
committer: Michel Pollet [Wed, 6 Jun 2012 06:51:44 +0000 (07:51 +0100)]
author: Michel Pollet [Wed, 6 Jun 2012 06:43:17 +0000 (07:43 +0100)]
Message:
reprap: Uses libc3gl too now

Moved generic code out

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 80f3b77b2ef322b1f21e3505f1135ed150842008
committer: Michel Pollet [Wed, 6 Jun 2012 06:51:44 +0000 (07:51 +0100)]
author: Michel Pollet [Tue, 5 Jun 2012 14:58:09 +0000 (15:58 +0100)]
Message:
reprap: Added support for indexed elements

And spheres

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit a8f5ed10cc964eb744d3d1f82e2ec27588d4e777
author: Michel Pollet [Sun, 3 Jun 2012 22:46:08 +0000 (23:46 +0100)]
Message:
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>
Commit 21205cf046922476737bb97feacd33bbabe01132
author: Michel Pollet [Sun, 3 Jun 2012 16:25:41 +0000 (17:25 +0100)]
Message:
libc3: Update

Minor update

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 8afc0af666a8ca83db318c132a44e57afc40b50a
author: Michel Pollet [Sun, 3 Jun 2012 14:11:49 +0000 (15:11 +0100)]
Message:
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>
Commit 18edacce09a16a3c701686c9e3c8cd2f22d8d1ca
author: Michel Pollet [Sun, 3 Jun 2012 14:09:34 +0000 (15:09 +0100)]
Message:
libc3: Added c3program

To load shader(s)

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

Added a fre accessors

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 06d4a1c42edadccd03295f7824817fffa535cf80
author: Michel Pollet [Sun, 3 Jun 2012 14:08:34 +0000 (15:08 +0100)]
Message:
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>
Commit f57913cc58292ec2e5e6e3f4477d95650fa7e3cf
author: Michel Pollet [Sun, 3 Jun 2012 14:07:56 +0000 (15:07 +0100)]
Message:
reprap: Implemented the 'heatpot'

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

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 8c5185f9db51a5eea9a0e0a794f95131cacd391c
author: Michel Pollet [Sat, 2 Jun 2012 14:34:21 +0000 (15:34 +0100)]
Message:
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>
Commit 47a131708adafd4eba74038fd981baab91c1ff40
author: Michel Pollet [Sat, 2 Jun 2012 12:32:11 +0000 (13:32 +0100)]
Message:
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>
Commit d03d508ebf29745d1a92dd3581793e8bacb12ccf
author: Michel Pollet [Fri, 1 Jun 2012 22:17:00 +0000 (23:17 +0100)]
Message:
reprap: c3 update etc

probably last update befire I spin it out

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

Don't need that anymore

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

Makes it better on threaded GL on OSX

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

Also:
freenode group verification: token jkndwaw234

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e51bd6752e5c6a95298a16457b2e97150247735f
author: Michel Pollet [Mon, 28 May 2012 09:20:29 +0000 (10:20 +0100)]
Message:
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>
Commit 90de5703f0722c022d854f9df596a4c0a4c2cc54
author: Michel Pollet [Mon, 28 May 2012 09:19:11 +0000 (10:19 +0100)]
Message:
usb: Fix for new compiler

Progmem now need 'const'. Also fixed the makefile

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

For underflow detection, instead of using a signed value

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

CFLAGS is for code generation

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f5c4abeb873c4e94054e582273c84f9b1c3f9834
author: Michel Pollet [Mon, 28 May 2012 09:16:42 +0000 (10:16 +0100)]
Message:
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>
Commit a6fbd08748c1325f221b1f2e4e619df56df65535
author: Michel Pollet [Sat, 26 May 2012 22:20:00 +0000 (23:20 +0100)]
Message:
reprap: c3 documentation

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

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b73f9b6094e2c9639fded52022ec60556ae8f8de
author: Michel Pollet [Fri, 25 May 2012 12:55:11 +0000 (13:55 +0100)]
Message:
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>
Commit 025e8d1fce1d4cb47e577a4a6e80a486cb9037b8
author: Michel Pollet [Tue, 22 May 2012 18:11:37 +0000 (19:11 +0100)]
Message:
misc: Fixes clang warnings

And it found some genuine bugs too

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 438cc451e19de412a731c3ad3679589ec4ec3c38
author: Michel Pollet [Tue, 22 May 2012 18:10:45 +0000 (19:10 +0100)]
Message:
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>
Commit 561f3a68aa080ae9f53ea8cb5a1a0ed03ee04dbe
author: Michel Pollet [Mon, 21 May 2012 13:23:06 +0000 (14:23 +0100)]
Message:
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>
Commit 144466480c0d5f19b95db412a919004641d5d4be
author: Michel Pollet [Mon, 21 May 2012 00:30:37 +0000 (01:30 +0100)]
Message:
reprap: c3 update

Allows having a custom callback set for geometries

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

-Wall being pedantic

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

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

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

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

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 022f8dcc8d9744189519f563b2d585db3a640c14
author: Michel Pollet [Sat, 19 May 2012 13:33:12 +0000 (14:33 +0100)]
Message:
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>