log for 00808a57f7f9317b9d37da88500def2dcbcd3ce1
Commit 00808a57f7f9317b9d37da88500def2dcbcd3ce1
committer: GitHub [Thu, 16 Feb 2017 08:08:26 +0000 (08:08 +0000)]
author: Michel Pollet [Thu, 16 Feb 2017 08:08:26 +0000 (08:08 +0000)]
Message:
Update .travis.yml
Commit 6afcf853d057ea3ca984c367d2b6ceeb08147e7c
committer: GitHub [Thu, 16 Feb 2017 08:05:51 +0000 (08:05 +0000)]
author: Michel Pollet [Thu, 16 Feb 2017 08:05:51 +0000 (08:05 +0000)]
Message:
Create .travis.yml
Commit f97d1c890b4aa9b1db6da9af829b87acf6776076
author: Michel Pollet [Wed, 15 Feb 2017 19:19:17 +0000 (19:19 +0000)]
Message:
mmcu: Added VCD_PORT_PIN support

Allows specing VCD traces for PORT/PIN directly in the firmware using a
MMCU macro.

Also did a bit of housekeeping in sim_elf since I was there...

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 29f4fdce41c082524587b86f06da8d2c7fdeb053
author: Michel Pollet [Wed, 15 Feb 2017 19:17:48 +0000 (19:17 +0000)]
Message:
mmcu ELF section fixes

Fix the problem with newer gcc, annoyingly enough this is a clear
regression in the compiler to prevent that syntax; it worked for yeards
uppon years and you can /still/ do it for singleton strings anyway!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 325258a1ff4fc3f7fda2d4d8d7fe035444ee8658
author: Michel Pollet [Wed, 15 Feb 2017 19:15:37 +0000 (19:15 +0000)]
Message:
Fixed typos in comments

Been there a loooong time.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f6c70fd91accbc32c369faeaea2c8fe5d2e7ade2
committer: Michel Pollet [Wed, 15 Feb 2017 13:03:52 +0000 (13:03 +0000)]
author: Michel Pollet [Wed, 15 Feb 2017 12:16:47 +0000 (12:16 +0000)]
Message:
irq: Updated the tracing

Nothing functional there, apart from tweaking traces

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d6a9c734250e8966d53d704279c8c450354bf152
committer: Michel Pollet [Wed, 15 Feb 2017 12:53:08 +0000 (12:53 +0000)]
author: Michel Pollet [Mon, 6 Feb 2017 08:33:02 +0000 (08:33 +0000)]
Message:
Added sanity check for the .mmcu section handlers

Manage to bite myself on this one.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 84a7a26a115f76e981aa397256cf70a892bee0ee
committer: GitHub [Wed, 15 Feb 2017 11:11:50 +0000 (11:11 +0000)]
author: Michel Pollet [Wed, 15 Feb 2017 11:11:50 +0000 (11:11 +0000)]
Message:
Merge pull request #194 from hovercraft-github/used_with_simutron

When UART is driven by interrupts, the reception never starts
Commit b77d26e251cf8647a835b193c04b86ca8e4e3aa1
author: hovercraft-github [Wed, 15 Feb 2017 09:28:51 +0000 (17:28 +0800)]
Message:
UART: separate TX/RX pumps, sticky UDRC and RXC interrupt flags.
Fixes #104, #193 and others.
Commit f4facdd749e040543731a744276df31acb7e0731
author: Michel Pollet [Wed, 15 Feb 2017 08:34:55 +0000 (08:34 +0000)]
Message:
doc: Updated callgraph

Much, much more involved than in used to be. Also shows some functions
problably should be relocated.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 772406cb08f7eb9f867f840d922c6d7ffe370073
author: Michel Pollet [Wed, 15 Feb 2017 08:33:08 +0000 (08:33 +0000)]
Message:
core: Removed UTF8 sequences from comments

Makes the documentation ruby script choke.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 483b31098e2765f6c1ab69f88c63c69dd5922109
committer: GitHub [Mon, 6 Feb 2017 08:45:08 +0000 (08:45 +0000)]
author: Michel Pollet [Mon, 6 Feb 2017 08:45:08 +0000 (08:45 +0000)]
Message:
Merge pull request #197 from hovercraft-github/eeprom_boundaries

Add EEPROM address boundary checks for read/write operations
Commit 375f9352d280d8630aa7b504391517e44511d1a0
author: hovercraft-github [Mon, 6 Feb 2017 08:21:24 +0000 (16:21 +0800)]
Message:
Fixes #196 : Add EEPROM address boundary checks for read/write operations
Commit 91807156ceb7cd42f929e9932047dd7b33ccafaa
committer: GitHub [Wed, 25 Jan 2017 10:04:11 +0000 (10:04 +0000)]
author: Michel Pollet [Wed, 25 Jan 2017 10:04:11 +0000 (10:04 +0000)]
Message:
Merge pull request #198 from rlpipkin/master

adc control register write
Commit 1308b8233e80359aeaad14d5e3eca4957c1745eb
author: Ryan Pipkin [Wed, 18 Jan 2017 01:35:54 +0000 (19:35 -0600)]
Message:
ensure that the adsrb is written to memory
process avr_adc_configure_trigger after writing the value to memory
Commit b65bcb2603fcafe1337fcf0cd4e61a4b486f3c36
committer: GitHub [Tue, 13 Dec 2016 08:28:51 +0000 (08:28 +0000)]
author: Michel Pollet [Tue, 13 Dec 2016 08:28:51 +0000 (08:28 +0000)]
Message:
Merge pull request #190 from pakesson/uart_fix

Workaround for UART issues when polling in some cases
Commit 8467783d44dc5b36a7b1fcb8c70403238f41ce1a
committer: Philip Åkesson [Sun, 11 Dec 2016 13:15:40 +0000 (14:15 +0100)]
author: Philip Åkesson [Mon, 28 Nov 2016 15:02:02 +0000 (16:02 +0100)]
Message:
Workaround for UART issues when polling in some cases

Clear interrupt instead of just the rxc bit
Commit 5868219894fe3fc15cb165608de5a35711064114 v1.4
committer: Michel Pollet [Wed, 23 Nov 2016 11:05:29 +0000 (11:05 +0000)]
author: Michel Pollet [Wed, 23 Nov 2016 09:59:16 +0000 (09:59 +0000)]
Message:
misc: Spacing cleanup

Trailing space removal

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 023e271ff284b3455be0b9fd179b34f626923068
committer: Michel Pollet [Tue, 22 Nov 2016 10:34:05 +0000 (10:34 +0000)]
author: Michel Pollet [Tue, 22 Nov 2016 10:11:27 +0000 (10:11 +0000)]
Message:
elf: Fix elf_copy_section

How this ever worked is a wonder

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 7c7d707f1092924c52719dcaeacc595449d24268
committer: Michel Pollet [Mon, 14 Nov 2016 08:39:31 +0000 (08:39 +0000)]
author: Michel Pollet [Mon, 14 Nov 2016 08:38:11 +0000 (08:38 +0000)]
Message:
cores: Add RAMPZ for the 1284p core

That was missing, fixes Issue #186

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 160d56b497b81bb40ae4322be416d673a496fcda
committer: Michel Pollet [Mon, 14 Nov 2016 08:39:16 +0000 (08:39 +0000)]
author: Michel Pollet [Mon, 7 Nov 2016 12:29:05 +0000 (12:29 +0000)]
Message:
misc: Some more spacing issues

geany catches stray spaces

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 7eef8c57ea258d009e7bab3c4e62fdfa9b05f774
committer: GitHub [Tue, 8 Nov 2016 07:42:54 +0000 (07:42 +0000)]
author: Michel Pollet [Tue, 8 Nov 2016 07:42:54 +0000 (07:42 +0000)]
Message:
Merge pull request #173 from hovercraft-github/timers-ext-clock

Add external clock pin definition and external clocking for timers.
Commit ca26b609194ea71b06e6f7c247208d4339f181dd
author: hovercraft-github [Tue, 8 Nov 2016 02:15:36 +0000 (10:15 +0800)]
Message:
Timers: fixes #177 (interrupt flags reset failure)
Commit cf3f9807da3945bd4d626dff6bcf1c8f446916a5
author: hovercraft-github [Tue, 8 Nov 2016 02:02:53 +0000 (10:02 +0800)]
Message:
Timers: fixes #178, add timer external clock pin definition for megax cores.
Commit cbb7a3d8a50a1452d06d5fc39e2f5c7d66188455
author: hovercraft-github [Tue, 8 Nov 2016 01:51:43 +0000 (09:51 +0800)]
Message:
Timers: added support for external clock input via a pin (Tn, TOSC1),

a variable frequency for virtual external clock sources including as2 asynchronous clock,
IO control for selecting external clock source and frequency,
external clock pin definition for most cores.
Commit 16164f65b9d5d4679301faa6852b69cfa52c316e
committer: Michel Pollet [Mon, 7 Nov 2016 08:51:36 +0000 (08:51 +0000)]
author: Michel Pollet [Mon, 7 Nov 2016 08:49:07 +0000 (08:49 +0000)]
Message:
core: Fix rjmp/rcall wrapping around flash boundaries

As per PR #127, spliced

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 7cf369dcd1f9a7ca76aae2267537cd3da7e9bff5
committer: Michel Pollet [Mon, 7 Nov 2016 08:51:27 +0000 (08:51 +0000)]
author: Michel Pollet [Mon, 7 Nov 2016 08:46:58 +0000 (08:46 +0000)]
Message:
regbits: Added attribute unused

As per pull request #127

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 73f5e52f8c3d71ee50b9226a04604b63f13920a6
committer: Michel Pollet [Mon, 7 Nov 2016 08:50:40 +0000 (08:50 +0000)]
author: Michel Pollet [Mon, 7 Nov 2016 08:46:38 +0000 (08:46 +0000)]
Message:
misc: Spacing issues fixed

Trailing spaces removed

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit cbcfc90881bdfd517095b49d246da6c21ae04460
author: Michel Pollet [Mon, 7 Nov 2016 08:31:40 +0000 (08:31 +0000)]
Message:
cores: fix for 1284p timer block

This is the 'approved' way to deal with optional peripherals. Check the
name, or check a register 'address' value for != 0 instead of trying to
use #ifdefs

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit c7549b195ea3be209a8aa826b0f65085b7fdd95e
committer: GitHub [Tue, 1 Nov 2016 09:34:43 +0000 (09:34 +0000)]
author: Michel Pollet [Tue, 1 Nov 2016 09:34:43 +0000 (09:34 +0000)]
Message:
Merge pull request #181 from messani/master

Timer fix
Commit 68b1302585b8f7659a88536e626fd96b79ef325b
committer: GitHub [Fri, 28 Oct 2016 10:47:29 +0000 (12:47 +0200)]
author: messani [Fri, 28 Oct 2016 10:47:29 +0000 (12:47 +0200)]
Message:
casting to uint64_t instead of float
Commit 50451c746080cc60f50e9441e09fc8764b33df74
author: Tibor Peluch [Fri, 28 Oct 2016 09:34:43 +0000 (11:34 +0200)]
Message:
renamed variable cs_div_clock to cs_div_value
Commit eba552f459515b9297cdc659c0bc0638c82728f4
committer: GitHub [Mon, 24 Oct 2016 07:11:28 +0000 (08:11 +0100)]
author: Michel Pollet [Mon, 24 Oct 2016 07:11:28 +0000 (08:11 +0100)]
Message:
Merge pull request #180 from hovercraft-github/sim_gdb_fix

sim_gdb: fix for restore callbacks issue
Commit c312e663040208d69efc4c7e0687f0f55eee56c0
author: hovercraft-github [Thu, 20 Oct 2016 04:20:35 +0000 (12:20 +0800)]
Message:
sim_gdb: fix for restore callbacks issue
Commit 96a612ee8a11cc59303a26bd0039d1024c02d769
committer: GitHub [Wed, 19 Oct 2016 15:05:01 +0000 (16:05 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 15:05:01 +0000 (16:05 +0100)]
Message:
Merge pull request #172 from Lotharyx/master

Improve usage message by not listing cores by default
Commit 16040928686312dd4ea248a7283f519701fc073c
author: Brian Henning [Wed, 19 Oct 2016 13:18:11 +0000 (09:18 -0400)]
Message:
Changed "-list-cores" and "-help" to "--list-cores" and "--help" respectively
Formatted the usage statement to include variants (e.g. -gdb, -g; -trace, -t)
Commit 67289080749c1eddb0d95826c9636c69b629fc18
committer: Michel Pollet [Wed, 19 Oct 2016 10:03:56 +0000 (11:03 +0100)]
author: Florian Albrechtskirchinger [Fri, 18 Jul 2014 18:52:36 +0000 (20:52 +0200)]
Message:
mmcu: add helper macro for sending multi-byte commands

Add helper macro SEND_SIMAVR_CMD() for sending multi-byte commands
in one line. The macro makes use of involved preprocessor trickery to
achieve recursion.
Commit 934b0dfa91511da5c948196dd3a634b11647b991
committer: Michel Pollet [Wed, 19 Oct 2016 10:03:56 +0000 (11:03 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 09:46:08 +0000 (10:46 +0100)]
Message:
cmds: rewrite command handling and move to separate file

Move AVR command handling code to separate file and add support for
multi-byte, as well as user-defined, commands.

(cherry picked from commit c627c3720a6dcb1f8f7a3068510f11e3fbee0ce4)
Commit 38cf03f89043db44bd189d052775ead370bba9e3
committer: GitHub [Wed, 19 Oct 2016 09:30:59 +0000 (10:30 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 09:30:59 +0000 (10:30 +0100)]
Message:
Merge pull request #165 from inio/trace_port

Provide IRQs on PORT register when updated via PIN
Commit d35771292e99dae6db6d9e5fdd530b0152b51c1b
committer: Michel Pollet [Wed, 19 Oct 2016 09:12:41 +0000 (10:12 +0100)]
author: Doug Goldstein [Sun, 27 Apr 2014 21:41:47 +0000 (16:41 -0500)]
Message:
elf: check for error instead of crashing

Check for error when allocating memory instead of dereferencing a NULL
pointer later in the program.

(cherry picked from commit b3ecaf43cba921c6a257132093107771074ab749)

Conflicts:
simavr/sim/sim_elf.c
Commit 13d121d77203740eaf6fb17a10b0d468c6ba6d51
author: Michel Pollet [Wed, 19 Oct 2016 09:09:11 +0000 (10:09 +0100)]
Message:
elf: Clean up code duplication and fix a cast

Use the helper function elf_copy_section() to get rid of some code
duplication and use the correct printf() type so that there is no cast
necessary.

Conflicts:
simavr/sim/sim_elf.c
Commit ad5381e3f9a0f1a048eefce812a7a4e254ed8034
author: Michel Pollet [Wed, 19 Oct 2016 09:04:54 +0000 (10:04 +0100)]
Message:
elf: Wire up support for Fuses and Lock Bits

Support reading fuses and lock bits from ELF files and loading them into
the simavr internals for later use.
Commit 3afc34b1802950b14e589c18f449bb07f2951c4b
committer: Michel Pollet [Wed, 19 Oct 2016 09:00:05 +0000 (10:00 +0100)]
author: Doug Goldstein [Sun, 27 Apr 2014 20:45:34 +0000 (15:45 -0500)]
Message:
cores: Add a field for Lock Bits and Boot Lock Bits

Add an extra byte for allowing simavr store the chip's lock bits / boot
lock bits as well as set the default value as defined in a number of
specs.
Commit 989158dbf2b4a843e0273c69ff7e3e6d1fbdc335
committer: Michel Pollet [Wed, 19 Oct 2016 08:59:47 +0000 (09:59 +0100)]
author: Doug Goldstein [Sun, 27 Apr 2014 20:30:41 +0000 (15:30 -0500)]
Message:
cores: Fix fuse support to handle proper byte size

avr-libc specifies platforms with only 6, 3, 2, 1, and 0 bytes of fuses.
Previously simavr only had 4 bytes available for fuses and assumed any
platform using the CORE_DECLARE macro would have 3 fuses. This change
allows the CORE_DECLARE macro to support any of the platforms supported
by avr-libc with regard to fuses. Additionally add some defines to make
it clear for users of simavr what order the fuses are in.
Commit a2f317024b07252495613005c350a1e015d1a388
committer: GitHub [Wed, 19 Oct 2016 08:37:30 +0000 (09:37 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 08:37:30 +0000 (09:37 +0100)]
Message:
Merge pull request #176 from hovercraft-github/ext_int_level_triggering

Triggering by level for external interrupts
Commit a1558cee2fb5551d80adfbd940a765a4509e8186
committer: GitHub [Wed, 19 Oct 2016 08:36:40 +0000 (09:36 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 08:36:40 +0000 (09:36 +0100)]
Message:
Merge pull request #161 from obra/patch-1

Small but crucial fix to Homebrew install instructions
Commit e4b1c0fb87b1e0f589c830271fddcbe081e865f5
committer: GitHub [Wed, 19 Oct 2016 07:41:08 +0000 (08:41 +0100)]
author: Michel Pollet [Wed, 19 Oct 2016 07:41:08 +0000 (08:41 +0100)]
Message:
Merge pull request #155 from neosilky/fix-memleak

Fix a small memory leak when returning after an error
Commit 65b601e83727e818cb27b57f4a2dfb59e4d9edf4
author: hovercraft-github [Wed, 19 Oct 2016 02:54:49 +0000 (10:54 +0800)]
Message:
Implement triggering by level for external interrupts. Fixes bug with Sense Control Bits number detection.
Commit e8e419e6684519ccf0d97bac3e9bef26724aac2f
author: Brian Henning [Tue, 11 Oct 2016 20:25:18 +0000 (16:25 -0400)]
Message:
Embettered the usage statement; changed "--list-cores" to "-list-cores" to match "-help"
Commit ed036a72ddcb1b30f86ebd7fb82eaf793417a5b1
author: Brian Henning [Tue, 11 Oct 2016 20:19:15 +0000 (16:19 -0400)]
Message:
Removed core list from default usage message; added "--list-cores" command-line flag to list cores
Commit 35f27285b51784ecee0e51518fb2a6c0b3c152d2
author: Tibor Peluch [Thu, 1 Sep 2016 20:33:24 +0000 (22:33 +0200)]
Message:
timer: fix calculation of comp_cycles

- bsekisser was right, there must be ocr+1
Commit 9090a5c3a0520ed3f82f9028769d74fed6febccd
author: Tibor Peluch [Thu, 1 Sep 2016 19:43:52 +0000 (21:43 +0200)]
Message:
timer: fixed calculation of divider when using asynchronous 32kHz timer
Commit 75d4e07fb174d88de0fd9795a62845c3bcd4f5a8
author: Tibor Peluch [Thu, 1 Sep 2016 04:24:14 +0000 (06:24 +0200)]
Message:
timer: fixed overflow and output capture interrupts
Commit a95d9563ea716912654457e86fa5c9b915c584d0
author: Ian Muldoon [Sun, 1 May 2016 06:16:42 +0000 (23:16 -0700)]
Message:
Provide IRQs on PORT register when updated via PIN

Fixes issue #164
Commit 1f8eab5d47c8b4ade5be05d495717349ced4a60a
author: Michel Pollet [Wed, 20 Apr 2016 16:35:35 +0000 (17:35 +0100)]
Message:
Merge pull request #128 from Zirias/threadsafe-console

make console output thread-safe (q&d)
Commit 682f3c8c659884adbd6d1de8f97f4bf7be78637b
author: Felix Palmen [Fri, 15 Apr 2016 08:35:33 +0000 (10:35 +0200)]
Message:
make console output thread-safe
Commit e198b89575001a42bcb6791d3628ae9355166b8f
author: Michel Pollet [Wed, 30 Mar 2016 09:43:37 +0000 (10:43 +0100)]
Message:
Merge pull request #154 from squell/master

added ELPM instruction with implied r0 register (opcode 1001 0101 110…
Commit f2a7423a891ab419a3dfda21e8c0d229a897e08d
author: Jesse Vincent [Thu, 25 Feb 2016 01:13:55 +0000 (17:13 -0800)]
Message:
Small but crucial fix to Homebrew install instructions
Commit dc222b5ec86bfaeadd6a32f58c51859ac13454cc
author: Michel Pollet [Mon, 8 Feb 2016 08:34:17 +0000 (08:34 +0000)]
Message:
Merge pull request #158 from dougszumski/feature/ds1338_real_time_clock_part

Feature/ds1338 real time clock part
Commit ccb564c6dccc7ee9fbe2bf2ab0158a86eb9eeda4
committer: Doug Szumski [Thu, 4 Feb 2016 22:16:41 +0000 (22:16 +0000)]
author: Doug Szumski [Thu, 4 Feb 2016 19:57:09 +0000 (19:57 +0000)]
Message:
examples: TWI driver used by the DS1338 RTC demo
Commit 60d611bf78d10510c33cde10b139bba5c7a1103c
committer: Doug Szumski [Thu, 4 Feb 2016 22:16:25 +0000 (22:16 +0000)]
author: Doug Szumski [Thu, 4 Feb 2016 19:52:37 +0000 (19:52 +0000)]
Message:
examples: take the DS1338 virtual real time clock for a test drive

This demo consists of a DS1338 RTC connected via the TWI bus of an
atmega32. The square wave output of the DS1338 is enabled, with the
tick-rate set to 1HZ. This is then fed to pin D3 on the atmega32
which is configured to generate an interrupt on a rising edge. When
the interrupt fires the time is read from the DS1338.
Commit 7669349030886c5c8427dc7cf63d9e28be0023ab
committer: Doug Szumski [Thu, 4 Feb 2016 22:11:55 +0000 (22:11 +0000)]
author: Doug Szumski [Thu, 4 Feb 2016 19:27:25 +0000 (19:27 +0000)]
Message:
parts: DS1338 real time clock which runs on the TWI bus

Features:

> External oscillator synced to the AVR core
> Square wave output with scalable frequency
> Leap year correction until 2100 (just like the real thing!)

Should also work for the pin compatible DS1307 device, but that part
hasn't been tested against actual hardware.
Commit c4c525942079471d9cace4dd3d23b749fee1380c
author: Daniel Lockyer [Mon, 25 Jan 2016 15:33:13 +0000 (15:33 +0000)]
Message:
Fix a small memory leak when returning after an error
Commit 515099986f32bcf96aaa979db64523115d7b70d9
author: Marc Schoolderman [Thu, 21 Jan 2016 20:55:59 +0000 (21:55 +0100)]
Message:
added ELPM instruction with implied r0 register (opcode 1001 0101 1101 1000)
Commit 51d5fa69f9bc3d62941827faec02f8fbc7e187ab v1.3
author: Michel Pollet [Tue, 19 Jan 2016 09:41:55 +0000 (09:41 +0000)]
Message:
Merge pull request #148 from jedahan/install-instructions

Add install instructions
Commit f352d021ecd0bcd58c5d747c84364f7357af809d
author: Michel Pollet [Tue, 19 Jan 2016 09:41:34 +0000 (09:41 +0000)]
Message:
Merge pull request #149 from jedahan/homebrew-prefix

Allow for homebrew installed avr-gcc to any prefix
Commit bb3e25a1ecd677834310e4c390eba49d29819097
author: Michel Pollet [Tue, 19 Jan 2016 09:34:08 +0000 (09:34 +0000)]
Message:
Merge pull request #152 from stevedrake/macports-support

Update support for building with MacPorts
Commit 00cb74fd48ad875bba095c78356dccf07748a4b9
author: Michel Pollet [Tue, 19 Jan 2016 09:32:50 +0000 (09:32 +0000)]
Message:
Merge pull request #153 from stevedrake/fix-sleep-1s

Support sleep interval of 1s or greater in gdb
Commit 51ee34499cc82938905864003b2f04eb71790581
committer: Stephen Drake [Mon, 18 Jan 2016 05:05:28 +0000 (18:05 +1300)]
author: Stephen Drake [Fri, 18 Dec 2015 05:12:00 +0000 (18:12 +1300)]
Message:
build: updated support for building with MacPorts

Updated Macports support based on Homebrew support.  Set correct paths
for MacPorts-provided avr-gcc and libelf.
Commit 0ba0c726cf72ae4621e0801bd63f805bcc2a77d9
author: Stephen Drake [Mon, 18 Jan 2016 04:54:36 +0000 (17:54 +1300)]
Message:
gdb: support sleep interval of 1s or greater

Split sleep interval into seconds and microseconds to create a valid
timeval to pass as the timeout to select().

Removed comment, which refers to old code that used a fixed interval.
Commit e2a7a9e5ad7dfc637cfdd687fb80611dd74ea15e
committer: Jonathan Dahan [Sat, 5 Dec 2015 18:22:20 +0000 (13:22 -0500)]
author: Jonathan Dahan [Tue, 17 Nov 2015 07:33:13 +0000 (23:33 -0800)]
Message:
Allow for homebrew installed avr-gcc to any prefix
Commit 32e96430f32a85c69c71eb711397e57dcc22c457
committer: Jonathan Dahan [Tue, 17 Nov 2015 20:24:38 +0000 (15:24 -0500)]
author: Jonathan Dahan [Tue, 17 Nov 2015 18:03:22 +0000 (13:03 -0500)]
Message:
Add install instructions
Commit 7cab53372b15f34af7eae347c01b8fe498ac215f
author: Michel Pollet [Fri, 30 Oct 2015 18:22:48 +0000 (18:22 +0000)]
Message:
Merge pull request #145 from xqms/interrupt_fifo_fix

sim_interrupts: fix FIFO move operation
Commit 5bc1f43dbedbb3d38fafaff0f60868377756e02f
author: Max Schwarz [Mon, 26 Oct 2015 11:15:30 +0000 (12:15 +0100)]
Message:
sim_interrupts: fix FIFO move operation

The variable 'mini' is a FIFO index, not a direct index into the buffer!
Add the current read pointer to fix the operation.

Fixes a regression introduced in 599733f261f94317489c2cc8751fb84fd604e6fa.
Commit 2062c2ddea13488d8d766331c5432b5bb2ae1fea
author: Michel Pollet [Thu, 15 Oct 2015 19:53:51 +0000 (20:53 +0100)]
Message:
Merge pull request #141 from bsekisser/bsekisser-master-core-access-r16-fixup

core: fixup missing dependancy from r16 commit
Commit f2ebab47d69ee01d4c9f2cc04496e71665a8ab76
author: bsekisser [Thu, 15 Oct 2015 18:24:43 +0000 (14:24 -0400)]
Message:
core: fixup missing dependancy from r16 commit

several commits were pushed to a branch which I later split...
one commit had a dependency I missed which this fixes.

modified:   sim/sim_core.c
fix missing dependance in MOVW instruction.
Commit 9037530123ea6b8fae12b3b96fd0c35295f48cea
author: Michel Pollet [Mon, 12 Oct 2015 09:41:24 +0000 (10:41 +0100)]
Message:
Merge pull request #135 from bsekisser/bsekisser-master-timer-clear-cancel-changes

avr_timer: add avr_timer_clear_and_cancel_all_cycle_timers
Commit 3ee01a680e134bd0517404854d957a58e9cf3ca2
author: Michel Pollet [Mon, 12 Oct 2015 09:39:18 +0000 (10:39 +0100)]
Message:
Merge pull request #134 from bsekisser/bsekisser-master-core-access-r16

core: add pair of 16 bit set register functions
Commit cb2523ce79ac489b8a988beba9e2afe9a6a61bf8
author: bsekisser [Sat, 10 Oct 2015 10:22:37 +0000 (06:22 -0400)]
Message:
timer: rework timer clear commit.

reworked to use single function with const flag to clear.
set to inline, depends on dce.

modified:   sim/avr_timer.c
Commit 5570362835d8e60d4fbf80a3fd71d585cc0642d6
author: Michel Pollet [Tue, 6 Oct 2015 16:32:05 +0000 (17:32 +0100)]
Message:
Merge pull request #133 from bsekisser/bsekisser-master-core-access-flash16

core: change 16 bit flash access
Commit f777601970b5b0adc0c1242b528728e10d7b86d0
author: bsekisser [Mon, 5 Oct 2015 19:30:14 +0000 (15:30 -0400)]
Message:
avr_timer: add avr_timer_clear_and_cancel_all_cycle_timers

modified:   sim/avr_timer.c
added: avr_timer_clear_and_cancel_all_cycle_timers
fixes a few oversights in original commit(s)
Commit c99dc41e0754c0d6d8e50f26da23ae22e44d1701
committer: bsekisser [Mon, 5 Oct 2015 18:57:12 +0000 (14:57 -0400)]
author: bsekisser [Sun, 4 Oct 2015 23:13:47 +0000 (19:13 -0400)]
Message:
core: add pair of 16 bit set register functions

added: _avr_set_r16le and _avr_set_r16le_hl
_avr_set_r16le_hl preserves reverse register set order where used
two register set calls become a single call.
Commit f2e826ea684999d0f26ccbcfe61d22c6815bb747
author: bsekisser [Sun, 4 Oct 2015 22:23:55 +0000 (18:23 -0400)]
Message:
core: change 16 bit flash access

modified:   sim/sim_core.c
added _avr_flash_read16le accessor function
changed "avr->flash[addr] | (avr->flash[addr + 1] << 8)"
to "_avr_flash_read16le(avr, addr)"
Commit 27b7364a7a5da5f592d76c221fcb8cc38745d32c
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:53 +0000 (07:24 +0100)]
author: Michel Pollet [Tue, 15 Sep 2015 13:34:29 +0000 (14:34 +0100)]
Message:
ioport: Don't crash if core defition is incomplete

This is not something that happends on existing cores, but can be
annoying when defining a new one.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit ea3f62f95e23172124b5f71e37f29e0839356586
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:53 +0000 (07:24 +0100)]
author: Michel Pollet [Tue, 15 Sep 2015 13:33:33 +0000 (14:33 +0100)]
Message:
io: No functional changes

Just reformating

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d13d7d499399a59773c80f86164a3133aefcf2ed
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:53 +0000 (07:24 +0100)]
author: Michel Pollet [Tue, 15 Sep 2015 13:32:41 +0000 (14:32 +0100)]
Message:
timer: Added a selective trace option

Allows tracing one timer only

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit ac2b17b1a04ea1212534c1e212584ee6647c4a6a
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:53 +0000 (07:24 +0100)]
author: Michel Pollet [Thu, 20 Aug 2015 12:43:09 +0000 (13:43 +0100)]
Message:
arduidio: Simplified pin mapping

Again...

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit ab7b286beda317a01ef96485f66155a523896dcc
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:53 +0000 (07:24 +0100)]
author: Michel Pollet [Fri, 24 Jul 2015 15:28:22 +0000 (16:28 +0100)]
Message:
timers: Gratuitous realignment

Go on with the new, improved narrow codestyle

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 919dacb22088a134db1058ee4afebf958f620730
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:52 +0000 (07:24 +0100)]
author: Michel Pollet [Fri, 24 Jul 2015 15:25:11 +0000 (16:25 +0100)]
Message:
ADC: Skip SRB register if not present

the mega8/16/32 don't have ADCSRB, this lead to a crash when we tried to
register a callback on it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b03078d9a2d8a598c608afff677146bb91925d22
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:03 +0000 (07:24 +0100)]
author: Michel Pollet [Fri, 24 Jul 2015 15:24:22 +0000 (16:24 +0100)]
Message:
cores: Mega 8/16/32 and PORTA

Still register portA, regardless of PORTA constant initialisation

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 3f6bfcf379882a86b43d06965cfcfdd60076220b
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:03 +0000 (07:24 +0100)]
author: Michel Pollet [Fri, 24 Jul 2015 15:23:44 +0000 (16:23 +0100)]
Message:
cores: Gratuitous realignment

ODC got the better of me

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 599733f261f94317489c2cc8751fb84fd604e6fa
committer: Michel Pollet [Fri, 2 Oct 2015 06:24:03 +0000 (07:24 +0100)]
author: Michel Pollet [Tue, 14 Jul 2015 18:04:05 +0000 (19:04 +0100)]
Message:
interrupts: Converted to use the standard fifo

There's already a standard way to make FIFO's, so converted the
interrupt code to use that.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 29a85763db634ae914e808714cd2b4c6e310bb66
committer: Michel Pollet [Thu, 1 Oct 2015 14:27:25 +0000 (15:27 +0100)]
author: Michel Pollet [Thu, 1 Oct 2015 14:07:54 +0000 (15:07 +0100)]
Message:
cores: Added support for mega324a / pa..

Support for the renamed SPI block, somehow my headers (debian) don't
have any definition of a second one, but, the macro /should/ support it
now.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 65dcb8859503dd85ebc251b16f5528cc8a180a3e
author: Michel Pollet [Thu, 20 Aug 2015 07:19:58 +0000 (08:19 +0100)]
Message:
Merge pull request #130 from TheCrazyT/twi_i2c_write_fix

Twi i2cwrite fix
Commit 47cb0b9b645c98578eb9ec3554cf5d63bdc8b2ab
committer: crazyt [Wed, 19 Aug 2015 16:33:14 +0000 (18:33 +0200)]
author: crazyt [Mon, 17 Aug 2015 16:59:01 +0000 (18:59 +0200)]
Message:
fix for wrong return value of i2c_write.
Commit f4a6e39f66bc52db512cdb8fc9541251d43e0346
author: TheCrazyT [Mon, 17 Aug 2015 16:21:47 +0000 (18:21 +0200)]
Message:
Merge pull request #1 from dougszumski/twi_delay_fix

twi: Remove start condition delay
Commit 6e6a04b2fa2c16099b8eb6365fa6915340dfb2a6
author: Michel Pollet [Tue, 28 Jul 2015 08:26:58 +0000 (09:26 +0100)]
Message:
Merge pull request #126 from ddaygold/typo

Fixed a typo in the manual
Commit 508c2ad011511cd128c51bad743c75a071abddf6
author: Peter Chinetti [Sun, 26 Jul 2015 21:45:58 +0000 (17:45 -0400)]
Message:
Fixed a typo in the manual
Commit 870409e33a54c13a6f79b6dc57e53852cf94440f
author: Michel Pollet [Wed, 22 Jul 2015 07:06:55 +0000 (08:06 +0100)]
Message:
Merge pull request #124 from frej/enable-adc-for-atiny13

cores: Add ADC to the ATtiny13
Commit e181f0e2b94c9c352100aa7a6aa851d66072a86e
committer: Frej Drejhammar [Sun, 19 Jul 2015 13:01:48 +0000 (15:01 +0200)]
author: Frej Drejhammar [Sun, 19 Jul 2015 12:58:31 +0000 (14:58 +0200)]
Message:
cores: Add ADC to the ATtiny13