log for 2620f43bcbac6652a30e908c3e3852ecc9dc79ae
Commit 2620f43bcbac6652a30e908c3e3852ecc9dc79ae
committer: Michel Pollet [Thu, 10 Aug 2017 06:56:48 +0000 (07:56 +0100)]
author: Ivan Holmes [Wed, 9 Aug 2017 20:42:28 +0000 (22:42 +0200)]
Message:
Change arduino library path so it works on mac
Commit 7d3846dc836d18dbe4eab9fd99b580d905131c97
committer: Michel Pollet [Tue, 8 Aug 2017 09:02:28 +0000 (10:02 +0100)]
author: Thomas Martens [Sun, 6 Aug 2017 15:56:00 +0000 (17:56 +0200)]
Message:
changed EEARL to EEAR inside AVR_EEPROM_DECLARE_8BIT
(some iotnxx.h files have only a EEAR declaration)
added corefiles for attiny2313a and attiny4313
Commit 88b50bbc526e3d97f95d698350f170e35fa57b90
author: Michel Pollet [Tue, 8 Aug 2017 08:46:32 +0000 (09:46 +0100)]
Message:
make: Remove -Werror

Can't fight multiple compiler, versions, and OS and expect everyone to
agree while breaking the build for normal people.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e0a9c87532e6e79479113b3b235e678bb4407583
committer: Michel Pollet [Thu, 3 Aug 2017 08:37:49 +0000 (09:37 +0100)]
author: Radosław Koppel [Thu, 4 May 2017 19:58:06 +0000 (21:58 +0200)]
Message:
ioend implemented in core declaration
Commit a5da4e3cdb7e7f9f1da2eb6826441313fc460aeb
committer: Michel Pollet [Thu, 3 Aug 2017 08:31:12 +0000 (09:31 +0100)]
author: Doug Szumski [Sun, 12 Mar 2017 20:46:43 +0000 (20:46 +0000)]
Message:
parts: Build a simavr virtual parts library

An external project using simavr can link against libsimavr.
However, there is no support for using virtual parts from the
examples folder in the external project.

This commit adds support for building a parts library, which the
external project can link against. Presently this library is fairly
small, but as the number of parts grows this approach may need
to be changed. A longer term solution could be to provide an API as
part of the simavr library which can manage the parts. Simavr could
dynamically load and provide parts as required by the external
project.

Like libsimavr, this patch makes no attempt to make the version easy
to set. That can be covered under a different PR.
Commit a5cacb1ec920ccef51d927ae39e7ffbc86eb2361
author: Michel Pollet [Wed, 2 Aug 2017 10:11:56 +0000 (11:11 +0100)]
Message:
Merge branch 'wip/avrlib-headers'
Commit 77092face02e349d6e7ab5e13e50f6e27c12e347
author: Michel Pollet [Wed, 2 Aug 2017 10:06:11 +0000 (11:06 +0100)]
Message:
m324: Fix core

Now uses the new header

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6555655b51bae688058ae3ab2b596ae79b2fbf90
author: Michel Pollet [Wed, 2 Aug 2017 10:05:56 +0000 (11:05 +0100)]
Message:
make: Change build to use our copy of avrlibc

Now uses our own copy, this should help build simavr with support for
all cores, on all hosts

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d974495a734a5bb5b864974e7aadca8cf32f85fc
author: Michel Pollet [Wed, 2 Aug 2017 10:04:55 +0000 (11:04 +0100)]
Message:
Add a stub sfr_defs.h

Some avrlibc cores include that file, that define macros and so on. We
don't need/want that as we already have macros for stuff

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b6da2361620078e0912fcc840a3572fcafb81899
author: Michel Pollet [Wed, 2 Aug 2017 10:04:17 +0000 (11:04 +0100)]
Message:
Add avrlibc headers to simavr

This was planned to remove the dependency on the hosts avrlibc that is
often very out of date, or borken.

I copied their licence, and added a readme. I removed also most of the
headers we don't need.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit df88b48a1f6f569c7f9777f18fde710d21bf82f9
author: Michel Pollet [Wed, 2 Aug 2017 08:10:27 +0000 (09:10 +0100)]
Message:
Merge branch 'ttyridal-misc_fixes'
Commit d14c6ae9b813e6cafa6308dfe80b71847c0523b4
committer: Michel Pollet [Wed, 2 Aug 2017 08:09:13 +0000 (09:09 +0100)]
author: Torbjorn Tyridal [Tue, 20 Jun 2017 12:27:13 +0000 (14:27 +0200)]
Message:
whitespace: remove eol-spaces
Commit c67db8caf612979fddc35fad26bf607d4647951e
committer: Michel Pollet [Wed, 2 Aug 2017 08:09:13 +0000 (09:09 +0100)]
author: Torbjorn Tyridal [Tue, 20 Jun 2017 13:05:01 +0000 (15:05 +0200)]
Message:
Rename 90usb162 core file

or it will be excluded by the magic in Makefile
Commit 9e5b09ccedc76bd78828dbf52786acd0c2c046c0
committer: Michel Pollet [Wed, 2 Aug 2017 08:09:13 +0000 (09:09 +0100)]
author: Torbjorn Tyridal [Tue, 20 Jun 2017 11:40:10 +0000 (13:40 +0200)]
Message:
Update extra_board_usb

changing special* init/deinit to avr->custom
Commit cffef594ce1656deb5c7d49992028f583f56f22e
committer: Michel Pollet [Wed, 2 Aug 2017 08:09:13 +0000 (09:09 +0100)]
author: Torbjorn Tyridal [Tue, 20 Jun 2017 19:51:28 +0000 (21:51 +0200)]
Message:
make: Enable more warnings
Commit ad9299ff9312f446faef6d005d4777bec39e2fad
author: Michel Pollet [Wed, 2 Aug 2017 07:52:30 +0000 (08:52 +0100)]
Message:
Merge branch 'franciscod-hd44780_not_hd77480'
Commit 101231b77fdabb3e683d86850486634cb442c836
author: Michel Pollet [Wed, 2 Aug 2017 07:52:11 +0000 (08:52 +0100)]
Message:
Merge branch 'hd44780_not_hd77480' of https://github.com/franciscod/simavr into franciscod-hd44780_not_hd77480

Conflicts:
examples/board_hd44780/font.h
examples/board_hd77480/font.h
examples/parts/hd44780_font.h
Commit 9a0c479aeedc9c7beb60568e3449c75d7a2f7649
committer: Michel Pollet [Wed, 2 Aug 2017 07:51:56 +0000 (08:51 +0100)]
author: Dylan McKay [Thu, 6 Jul 2017 14:22:35 +0000 (02:22 +1200)]
Message:
Add missing header file to 'sim_hex.h'

'size_t' is not defined in any of the header files included in
'sim_hex.h', even though it is used in there.

You can see a list of all headers that define 'size_t' here
http://en.cppreference.com/w/c/types/size_t
Commit e635b18768d92ff53c4794f1faa640fcfef4f3a2
committer: Michel Pollet [Tue, 27 Jun 2017 12:15:57 +0000 (13:15 +0100)]
author: Doug Szumski [Sun, 21 May 2017 11:48:36 +0000 (12:48 +0100)]
Message:
parts: Move font.h for hd44780 display to parts directory

This file is referenced only by hd44780_glut.c in the parts folder,
so move it there and give it a prefix.
Commit 90704b3d50a652d2c3778459ec79fb3961c292e4
committer: Michel Pollet [Tue, 27 Jun 2017 12:15:15 +0000 (13:15 +0100)]
author: Doug Szumski [Sun, 4 Jun 2017 13:30:10 +0000 (14:30 +0100)]
Message:
misc: Strip off tag prefix from the pkg-config version

For example, before this change the version would
be set as 'tag:v1.5'. After this change it will be
'v1.5'.
Commit 713f028d27a1be3868640d0667af7aebfe13528b
committer: Michel Pollet [Thu, 11 May 2017 06:59:48 +0000 (07:59 +0100)]
author: Konstantin Begun [Wed, 10 May 2017 22:55:11 +0000 (23:55 +0100)]
Message:
acomp: Add tests
Commit de7b0e404c28136d77832e3145e7ce947ce8a38d
committer: Michel Pollet [Thu, 11 May 2017 06:59:48 +0000 (07:59 +0100)]
author: Konstantin Begun [Wed, 10 May 2017 22:54:52 +0000 (23:54 +0100)]
Message:
cores: Add support for Analog Comparator
Commit f4c1e69348d6da1caa4062a94f2deeadc6543ba7
committer: Michel Pollet [Thu, 11 May 2017 06:59:48 +0000 (07:59 +0100)]
author: Konstantin Begun [Wed, 10 May 2017 22:55:25 +0000 (23:55 +0100)]
Message:
acomp: Add support
Commit e4002611fc614c1c323aac7575cf4eedc8d15aca
committer: Michel Pollet [Thu, 11 May 2017 06:59:48 +0000 (07:59 +0100)]
author: Konstantin Begun [Wed, 10 May 2017 22:38:32 +0000 (23:38 +0100)]
Message:
timer: Added an IRQ for input capture trigger (ICP)
Commit ce9b97a94eaac5e3350220e193f31b6e6f91c344
committer: GitHub [Wed, 10 May 2017 10:17:34 +0000 (11:17 +0100)]
author: Michel Pollet [Wed, 10 May 2017 10:17:34 +0000 (11:17 +0100)]
Message:
Merge pull request #223 from kostic2000/feature/add_reset_sources

Add reset flags and set power-on reset as a default when avr is initialised
Commit fa17dc719ef066dd77edf9dfe30dd30c20ff89eb
author: Konstantin Begun [Sat, 6 May 2017 22:42:23 +0000 (23:42 +0100)]
Message:
Add reset flags and set power-on reset as a default when avr is initialised
Commit e58a4c12191abd3b910e34842ada9b23590a708b
committer: Michel Pollet [Thu, 4 May 2017 10:15:55 +0000 (11:15 +0100)]
author: Michel Pollet [Thu, 4 May 2017 10:15:41 +0000 (11:15 +0100)]
Message:
vcd: Decrease the VCD resolution

From about 1GHz to 100MHz. Shouldn't have an impact on simavr proper,
but might help with Pulseview

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit caab0cf706858c2ccdf76807437f9b708e3587b7
committer: GitHub [Mon, 1 May 2017 10:10:19 +0000 (11:10 +0100)]
author: Michel Pollet [Mon, 1 May 2017 10:10:19 +0000 (11:10 +0100)]
Message:
Merge pull request #216 from Premik/x4Aref

Tinyx4 core, avcc->aref
Commit 3da62fb000251a670e23a6454294d28c7a31a4d8
author: Premik [Sun, 30 Apr 2017 17:44:52 +0000 (19:44 +0200)]
Message:
avcc->aref
Commit 9b503521b756cc93d627d0d6ecc934c20387cd32
author: Francisco Demartino [Wed, 26 Apr 2017 21:23:41 +0000 (18:23 -0300)]
Message:
board_hd77480: rename to board_hd44780 (typo?)

https://en.wikipedia.org/wiki/Hitachi_HD44780_LCD_controller
Commit c5b2eb22221144620fd80cacce8c9542c83fc072
author: Michel Pollet [Tue, 25 Apr 2017 07:23:42 +0000 (08:23 +0100)]
Message:
vcd: Removed GNU dependency

Why isn't this in the standard C library, I wonder.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f97532910432700dafdfe31eab22a3cc7990f787
committer: GitHub [Mon, 24 Apr 2017 07:21:39 +0000 (08:21 +0100)]
author: Michel Pollet [Mon, 24 Apr 2017 07:21:39 +0000 (08:21 +0100)]
Message:
Merge pull request #203 from kostic2000/timer_prescaler_reset_fix

Set prescaler divisor (cs_div_value) to zero when prescaler is reset,…
Commit 1ae1912ac048b708560c55a44c2139cae977e270
author: Michel Pollet [Mon, 20 Mar 2017 18:31:33 +0000 (18:31 +0000)]
Message:
Merge commit 'e6eb938344d6dd74bd7bdde5e8d17c468898b433'
Commit e6eb938344d6dd74bd7bdde5e8d17c468898b433
author: Michel Pollet [Tue, 7 Mar 2017 18:41:37 +0000 (18:41 +0000)]
Message:
vcd: Added 'floating' support

Also, fixed a bug int he input file reading code.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 90bfb952606a1ab8a46b6e2fa1ab18aa8a319a4d
author: Michel Pollet [Tue, 7 Mar 2017 18:41:06 +0000 (18:41 +0000)]
Message:
simavr: Wiggled the log levels.

Added a new LOG_OUTPUT, and a new LOG_DEBUG. Hopefully this will allow
running run_avr without -v to get the expected output.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 9194c4933d9cd3128aa2ebe1d6e89531410ae2df
author: Michel Pollet [Tue, 7 Mar 2017 18:40:08 +0000 (18:40 +0000)]
Message:
elf: Disabled some noisy traces

Not necessary, and they can't be filtered as the AVR is not populated

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 655657bd238f9a985c34b5cc7edf87a55aad3c9d
author: Michel Pollet [Tue, 7 Mar 2017 18:39:09 +0000 (18:39 +0000)]
Message:
uart: Gratuitous reformatting

New fashion!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 2a7aa7d853046e7b17779f4a558ddf8ef5343570
author: Michel Pollet [Tue, 7 Mar 2017 18:37:42 +0000 (18:37 +0000)]
Message:
IRQs: Trace the pending vectors

Trace pending vectors, and use the new 'float' option when nothing is
pending

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 7ff4eaf21eec9ec2597da138af55d737013d3925
author: Michel Pollet [Tue, 7 Mar 2017 18:35:06 +0000 (18:35 +0000)]
Message:
sim_avr: Gratuitous reformatting

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit c9b857b44126b803e4e5e81dd919aa7b3aa800a0
author: Michel Pollet [Tue, 7 Mar 2017 18:34:27 +0000 (18:34 +0000)]
Message:
irq: Added a flag for a 'floating' value

When this flag is set, the value is to be ignored.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 8ce1b2d508169579cb479d5a095e48ba8a7c64f1
author: Michel Pollet [Tue, 7 Mar 2017 18:33:27 +0000 (18:33 +0000)]
Message:
mmcu: Added tag for tracing pending IRQs

This was missing from the header.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 12f7278cd42adc6a68a0d4aef285ba04e5e52347
author: Michel Pollet [Fri, 3 Mar 2017 14:52:32 +0000 (14:52 +0000)]
Message:
core: Cleaned up trace code.

Also fix a potential crash when using it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 24cd41d48bdd6fdaa1ce5ef2edeea67a9bc7cd62
author: Michel Pollet [Thu, 2 Mar 2017 17:32:16 +0000 (17:32 +0000)]
Message:
Merge branch 'vcd-wip'
Commit 735ebf7cfd5e1e8998b24653a359d05c331c021b
committer: Michel Pollet [Thu, 2 Mar 2017 17:31:15 +0000 (17:31 +0000)]
author: Michel Pollet [Thu, 23 Feb 2017 11:01:56 +0000 (11:01 +0000)]
Message:
run_avr: Added support for --input <vcd>

Still need the backend code, let's not get overexcited here ;-)

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d1cf4ae7d16196a3a585fce2e348829aa1eaa3f0
committer: Michel Pollet [Thu, 2 Mar 2017 17:31:15 +0000 (17:31 +0000)]
author: Michel Pollet [Thu, 23 Feb 2017 10:59:06 +0000 (10:59 +0000)]
Message:
run_avr: A bit of cosmetic Also, standardize '--' for all long options

This had to be done at some point

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4b8b599fa8544cb5a9d0adfc235e256e6b8548fb
committer: Michel Pollet [Thu, 2 Mar 2017 17:31:15 +0000 (17:31 +0000)]
author: Michel Pollet [Thu, 23 Feb 2017 10:53:55 +0000 (10:53 +0000)]
Message:
vcd: Extensive update; added support for VCD Input

Massive update here. Now allow reading from a VCD file, as long as the
traces are named in a way that allows us to connect an IRQ. Typically,
you can send pin values to for example PORTB5 by naming the trace
'iogB_5' -- you can use sigrock for example to capture traces from
real hardware, and 'replay' it in simavr.

Also since I was there, reworked the whole module to use a 'proper' FIFO
and simplified the output generation too.

There are a few 'TODO' left, but it's functional.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e2e31d1ae34fe4cdcc97be98a4bc2f35a9cd2037
committer: Michel Pollet [Thu, 2 Mar 2017 17:31:15 +0000 (17:31 +0000)]
author: Michel Pollet [Thu, 2 Mar 2017 17:03:00 +0000 (17:03 +0000)]
Message:
Added sim_utils.c/h

Contains my string stripper utility. Used by the VCD input module

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4045b6a2e9352030c6eb8f9ce22d5df7e16421e8
committer: Michel Pollet [Thu, 2 Mar 2017 17:31:15 +0000 (17:31 +0000)]
author: Michel Pollet [Thu, 23 Feb 2017 10:50:18 +0000 (10:50 +0000)]
Message:
irq: Small cleanup

Also, try to find an empty slot in the pool when adding an IRQ

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4ca2d1ac5b2b74a4e68274fba8b03005d22e9d8f
author: Konstantin Begun [Thu, 23 Feb 2017 01:02:06 +0000 (01:02 +0000)]
Message:
Set prescaler divisor (cs_div_value) to zero when prescaler is reset, i.e. timer is stopped. Otherwise when OCR is set, the tomer gets reconfigured with the old prescaler
Commit e0d4de41a72520491a4076b3ed87beb997a395c0 v1.5
author: Michel Pollet [Fri, 17 Feb 2017 10:23:04 +0000 (10:23 +0000)]
Message:
Fix for travis build on antique ubugtu

Doesn't have proper defs for mega2560 !

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit a37c1bed9ccc8125cd1732b214a6858391372ad0
committer: Michel Pollet [Fri, 17 Feb 2017 09:58:24 +0000 (09:58 +0000)]
author: Michel Pollet [Fri, 17 Feb 2017 09:56:41 +0000 (09:56 +0000)]
Message:
Updated some tests to use the new VCD macros

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 83a52cd4b71baa8b4a0c3af63f5237fa6629af41
committer: Michel Pollet [Fri, 17 Feb 2017 09:58:24 +0000 (09:58 +0000)]
author: Michel Pollet [Fri, 17 Feb 2017 09:56:18 +0000 (09:56 +0000)]
Message:
Changed the port/pin trace macros to use the generic one

Simplifed the whole operation

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 051807bbee1640db76b5493a2fea94eeca81d859
committer: Michel Pollet [Fri, 17 Feb 2017 09:58:24 +0000 (09:58 +0000)]
author: Michel Pollet [Fri, 17 Feb 2017 09:20:55 +0000 (09:20 +0000)]
Message:
Added new VCD tags for IRQ vector tracing

Now allow cool stuff, like tracking pending IRQs, their exact execution
time, and also a global one that shows which ones are running and when

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 90b61fb8bb7ce873ea8da2ba4b70fe039635c9e6
committer: GitHub [Thu, 16 Feb 2017 08:15:20 +0000 (08:15 +0000)]
author: Michel Pollet [Thu, 16 Feb 2017 08:15:20 +0000 (08:15 +0000)]
Message:
Update .travis.yml
Commit 41768ae4a4188df5c8055c4af52eb3ff0fb79420
committer: GitHub [Thu, 16 Feb 2017 08:10:48 +0000 (08:10 +0000)]
author: Michel Pollet [Thu, 16 Feb 2017 08:10:48 +0000 (08:10 +0000)]
Message:
Update .travis.yml
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