log for 99f40910d7588c38cd0797d1f8cdc30f555a8c82
Commit 99f40910d7588c38cd0797d1f8cdc30f555a8c82
author: Michel Pollet [Fri, 2 Oct 2015 06:31:03 +0000 (07:31 +0100)]
Message:
Merge commit '27b7364a7a5da5f592d76c221fcb8cc38745d32c'
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 698aa1aac0a15eeeb0baab67862d67675d2ad029
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 075666258b6f7186c4c6c0ce42088127c075f48f
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 aad64bcdd71b6da626f07efa18ccd2a62b83fa39
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 b328074be5e1ab31cb3f399770baa529cd1f62db
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 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 6a870ac7892fc41bc51ab468bcfc51b462101e8d
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 2a4950ae28f13d711de99936e9a35263ad2ce6d8
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 8e781cf8f3e09abf7b9a554e4de170e68bdf175b
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 20d171152616104b9cc54f8a1e8eb96f6cb9c35a
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 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
Commit 45e7712b4debe764d31b66706abebb18cbc7c6a5
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 2f88e72135a66727ff51e7bc5f93f87c8096cf9c
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 09:43:45 +0000 (10:43 +0100)]
Message:
gdb: Cleanup

Also make sure we mask of only 24 bits of the address, newer gdb use one
somehow..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b64300059875cfd053f321226348b340c5de97dc
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 09:42:50 +0000 (10:42 +0100)]
Message:
cores: Added TIMER2_COMPB to m2560

This was commented out, dunno why..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 95638c32fb24c716668443dcfa17454355ef3708
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 16 Jun 2015 18:06:10 +0000 (19:06 +0100)]
Message:
ihex: Streamlined implementation

Use ihex_read_chunk to implement ihex_read_file, and add a
ihex_free_chuncks for consistency sake

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit a865759ce131dd4829e77416a9f08c008f85aa0c
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 16 Jun 2015 18:05:21 +0000 (19:05 +0100)]
Message:
avr: Add a 'reset pc' that can be nonzero

This allows the AVR to soft reset into the bootloader for example.

A watchdog reset will re-run the bootloader with the correct flag.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f4f3b71bb02d6a0c6755f392ed2c4fa3b6eb6d99
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 16 Jun 2015 18:04:19 +0000 (19:04 +0100)]
Message:
watchdog: Some cleanup

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4a03f8606671e904845194ebf2edfc69b536820b
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 12:23:10 +0000 (13:23 +0100)]
Message:
hex: Supports offsets larger then 64/128KB

New segemnt type for loading atmega2560 bootloaders

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 0eefa6bf3c57f71257d85813241aac994297a19c
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 10:50:00 +0000 (11:50 +0100)]
Message:
simduino: Simplified, made compatible with m2560

Allow testing on atmega256 bootloader too.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 9ad0d2655a71a0292f0c92e3060ddc5e4f327af1
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 10:48:54 +0000 (11:48 +0100)]
Message:
avr: Renamed special_* core fields

Added a 'custom' sub struct

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b702ace2e408e2ace0b2ae61ba17eb06840cf038
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 10:42:10 +0000 (11:42 +0100)]
Message:
Whitespaces at end of line removed..

Dunno how these came to be..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 49ccc009a9fe0eddee01a3df4eec89d426bede3c
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sat, 13 Jun 2015 20:27:35 +0000 (21:27 +0100)]
Message:
elf: Detect start address (for bootloaders)

Allows loading a bootloader ELF as well as .hex with the right starting
PC

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6b0218ffb89bcba0e31fcfab73d5170eef794c1e
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sat, 13 Jun 2015 20:26:50 +0000 (21:26 +0100)]
Message:
vcd: Prevent crash when close() is called twice

flahs() wasn't checking for a valid file pointer

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 3a4fab8b693e4afca6e3b83ff7afc9e15bc56358
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 20:06:15 +0000 (21:06 +0100)]
Message:
interrupts: Redone the logic of delivery

Simplified a few expressions

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e4b36b58d22d22da62a0bcd95755f7454df411cb
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 20:05:50 +0000 (21:05 +0100)]
Message:
interrupts: Now track pending and running states

Introduced two new IRQs  per vector; one to track pending, and one to
track running state. So you can see any latency issues.
Also introduced a global pending/running IRQ, so you can track issues if
your interrupts overrun etc.

It is reasonably transparent, and seems to have had little impact on the
rest of the code... Hooray for nice clean APIs!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 02257499e62b4b5b5eb7a1652489910caf166e7b
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 20:01:26 +0000 (21:01 +0100)]
Message:
vcd: Increased limits

Turns out it's easy to reach 32 if you try hard enough!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 871d22206df3a9aa47d888f88edc7dc784f12ad6
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 20:00:38 +0000 (21:00 +0100)]
Message:
twi: Revert to NO_STATE after a stop

Otherwise the interrupt might get re-triggered

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 01956ebee35cb81f4814003a3bf981c46ed6f93a
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 20:00:02 +0000 (21:00 +0100)]
Message:
adc: Removed spurious trace

Accidentally commited this earlier

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 400f588b041787347d2cb97e7026774d709ea35f
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Wed, 10 Jun 2015 16:03:44 +0000 (17:03 +0100)]
Message:
arduidiot: Further pinout tweaks for 256's

Endless tweaks

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6d4c0283ee49a724d3294b142b671fdf6978c564
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 9 Jun 2015 13:56:37 +0000 (14:56 +0100)]
Message:
twi: Always release STOP bit

Seems some libraries assume this bit will autoclear, even if
the stop condition was not really called for.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit cb020ec7c820dfafea3026f6146e8b95d05d540c
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 2 Jun 2015 20:21:08 +0000 (21:21 +0100)]
Message:
adc: bit of reformating

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e6a640f340dd07f3e34002f8efea3c1ffb280026
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Tue, 2 Jun 2015 15:36:37 +0000 (16:36 +0100)]
Message:
shared: Some more tweaks to arduidiot_pins

Added remaining 2560 pins

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 05dd87406cd48e83227a53a6ccaa24476e22c27a
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sat, 30 May 2015 09:16:26 +0000 (10:16 +0100)]
Message:
Small reformat of long lines

New screen format..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit fb4bcf5bebaefa7e2c1b5ee6d1ce4d3fc5afe828
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Sat, 30 May 2015 09:15:41 +0000 (10:15 +0100)]
Message:
simavr: Fixed mega250 pinouts for arduidiots

Referenced their headers

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 34fa73c4851fe59dc165aceafc36b2e791274e1a
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)]
author: Michel Pollet [Fri, 29 May 2015 20:40:57 +0000 (21:40 +0100)]
Message:
uart_pty: Added a flush timer

Makes sure the FIFO gets a chance to be cleared after a XOFF

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 99e7355f60a14e413d5d9c2e8f9b7f6735737911
committer: Michel Pollet [Thu, 2 Jul 2015 18:02:53 +0000 (19:02 +0100)]
author: Michel Pollet [Fri, 29 May 2015 20:40:19 +0000 (21:40 +0100)]
Message:
arduidiot_pins: Added mega2560

And added a few utilitarian macros.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 31486e68d7ae433732d7f01a713dd67a4f4b0689
author: Michel Pollet [Tue, 16 Jun 2015 18:06:10 +0000 (19:06 +0100)]
Message:
ihex: Streamlined implementation

Use ihex_read_chunk to implement ihex_read_file, and add a
ihex_free_chuncks for consistency sake

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit c14393550404003f0fe248af20617b9a402d6242
author: Michel Pollet [Tue, 16 Jun 2015 18:05:21 +0000 (19:05 +0100)]
Message:
avr: Add a 'reset pc' that can be nonzero

This allows the AVR to soft reset into the bootloader for example.

A watchdog reset will re-run the bootloader with the correct flag.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e7e2cb19c50a79816870e4c1a8492084e2449b97
author: Michel Pollet [Tue, 16 Jun 2015 18:04:19 +0000 (19:04 +0100)]
Message:
watchdog: Some cleanup

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 41fd0c998c098f3f3a50d6244e98f7c1dbe32867
committer: Michel Pollet [Sun, 14 Jun 2015 12:33:36 +0000 (13:33 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 12:23:10 +0000 (13:23 +0100)]
Message:
hex: Supports offsets larger then 64/128KB

New segemnt type for loading atmega2560 bootloaders

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f6363b60812be10c6bf9fc9793dfee636a7d223b
author: Michel Pollet [Sun, 14 Jun 2015 10:50:00 +0000 (11:50 +0100)]
Message:
simduino: Simplified, made compatible with m2560

Allow testing on atmega256 bootloader too.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit bd9d7f85dddd74fc1e3750c506ab8fa3441b76f8
author: Michel Pollet [Sun, 14 Jun 2015 10:48:54 +0000 (11:48 +0100)]
Message:
avr: Renamed special_* core fields

Added a 'custom' sub struct

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 54d744f4bb2f48abd6a9e715788061d122529d96
committer: Michel Pollet [Sun, 14 Jun 2015 10:48:07 +0000 (11:48 +0100)]
author: Michel Pollet [Sun, 14 Jun 2015 10:42:10 +0000 (11:42 +0100)]
Message:
Whitespaces at end of line removed..

Dunno how these came to be..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4d01510fc5bc4a0fecb9830817be186342f343f3
author: Michel Pollet [Sat, 13 Jun 2015 20:27:35 +0000 (21:27 +0100)]
Message:
elf: Detect start address (for bootloaders)

Allows loading a bootloader ELF as well as .hex with the right starting
PC

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 9bd0170eb36cb554301c8da8c12e73eb4189f743
author: Michel Pollet [Sat, 13 Jun 2015 20:26:50 +0000 (21:26 +0100)]
Message:
vcd: Prevent crash when close() is called twice

flahs() wasn't checking for a valid file pointer

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit d5f01a7dbdeaac43d37a76ee22494b7b917b452a
author: Michel Pollet [Wed, 10 Jun 2015 20:06:15 +0000 (21:06 +0100)]
Message:
interrupts: Redone the logic of delivery

Simplified a few expressions

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 9136ba8378b2fe0238670181787a9e9898be8e93
author: Michel Pollet [Wed, 10 Jun 2015 20:05:50 +0000 (21:05 +0100)]
Message:
interrupts: Now track pending and running states

Introduced two new IRQs  per vector; one to track pending, and one to
track running state. So you can see any latency issues.
Also introduced a global pending/running IRQ, so you can track issues if
your interrupts overrun etc.

It is reasonably transparent, and seems to have had little impact on the
rest of the code... Hooray for nice clean APIs!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e03651d035934b2617fa7b1ef490fd4380f5d9cb
author: Michel Pollet [Wed, 10 Jun 2015 20:01:26 +0000 (21:01 +0100)]
Message:
vcd: Increased limits

Turns out it's easy to reach 32 if you try hard enough!

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 8d291ede8e5f76db9523109ffdd1f3771949b54d
author: Michel Pollet [Wed, 10 Jun 2015 20:00:38 +0000 (21:00 +0100)]
Message:
twi: Revert to NO_STATE after a stop

Otherwise the interrupt might get re-triggered

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit dbcd8541fdbdd487a0839c8bb8d5ebf387b9c9dd
author: Michel Pollet [Wed, 10 Jun 2015 20:00:02 +0000 (21:00 +0100)]
Message:
adc: Removed spurious trace

Accidentally commited this earlier

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 043f79cc556f6e523bbe33d434947e1c83a4dd74
author: Michel Pollet [Wed, 10 Jun 2015 16:03:44 +0000 (17:03 +0100)]
Message:
arduidiot: Further pinout tweaks for 256's

Endless tweaks

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit ddafbdb1e74ac6f7e8a3137482bf955cff354115
author: Michel Pollet [Tue, 9 Jun 2015 13:56:37 +0000 (14:56 +0100)]
Message:
twi: Always release STOP bit

Seems some libraries assume this bit will autoclear, even if
the stop condition was not really called for.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 2115307075df8d8079521121563192028a64f4ee
author: Michel Pollet [Tue, 2 Jun 2015 20:21:08 +0000 (21:21 +0100)]
Message:
adc: bit of reformating

No functional changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit f16e6f7f04100cd91425d23b264e9622c7e12e3f
author: Michel Pollet [Tue, 2 Jun 2015 15:36:37 +0000 (16:36 +0100)]
Message:
shared: Some more tweaks to arduidiot_pins

Added remaining 2560 pins

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit df49c4044949ebff93a6f5c0b1a8be9abfb3d35b
author: Michel Pollet [Sat, 30 May 2015 09:16:26 +0000 (10:16 +0100)]
Message:
Small reformat of long lines

New screen format..

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit cfb35b24edf684232d1773e30a8e49d42df46195
author: Michel Pollet [Sat, 30 May 2015 09:15:41 +0000 (10:15 +0100)]
Message:
simavr: Fixed mega250 pinouts for arduidiots

Referenced their headers

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 217a697ebfd99e5b871bcd0bf4b209ec268d7829
author: Michel Pollet [Fri, 29 May 2015 20:40:57 +0000 (21:40 +0100)]
Message:
uart_pty: Added a flush timer

Makes sure the FIFO gets a chance to be cleared after a XOFF

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 4a84ef4f00c9dc9d9fffd09f0ea41b7d3bcc2d4f
author: Michel Pollet [Fri, 29 May 2015 20:40:19 +0000 (21:40 +0100)]
Message:
arduidiot_pins: Added mega2560

And added a few utilitarian macros.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 41e6de82039367d9accff3e53948f40752c07163
author: Michel Pollet [Fri, 29 May 2015 20:36:26 +0000 (21:36 +0100)]
Message:
Merge pull request #121 from guyzmo/improved_osx_support

added support for MacOSX homebrew
Commit acd6232d387d87a39f10143f819d0106c0020b6e
committer: Bernard `Guyzmo` Pratz [Fri, 29 May 2015 20:26:59 +0000 (21:26 +0100)]
author: Bernard `Guyzmo` Pratz [Fri, 29 May 2015 19:46:33 +0000 (20:46 +0100)]
Message:
added support for MacOSX homebrew

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Commit 8075bc3a89bd1eec23a913ffe0c14b715f870251
author: Michel Pollet [Mon, 18 May 2015 09:20:13 +0000 (10:20 +0100)]
Message:
Merge pull request #120 from frej/avoid-buffer-overrun

Avoid buffer overrun on smaller AVRs
Commit f4a289091ee226cb9a323e2b2796ba706c2fc149
committer: Frej Drejhammar [Sun, 17 May 2015 15:10:22 +0000 (17:10 +0200)]
author: Frej Drejhammar [Sun, 17 May 2015 14:34:49 +0000 (16:34 +0200)]
Message:
Avoid buffer overrun on smaller AVRs

On smaller AVRs, such as the attiny13, MAX_IOs will be larger than the
size of SRAM which will lead to out of range writes to a malloc
allocated buffer. Therefore limit the number of bytes cleared to the
size of SRAM.
Commit f1e25444a7b407f46107320953fc85048b744d31
author: Michel Pollet [Mon, 27 Apr 2015 07:45:27 +0000 (08:45 +0100)]
Message:
Merge pull request #119 from bsekisser/bsekisser-adc-initfix

adc: check r_adcsrb is valid before init
Commit f65ac1a207cc940757cd33dc05346adb7a9c60b9
committer: bsekisser [Sun, 26 Apr 2015 12:42:30 +0000 (08:42 -0400)]
author: bsekisser [Sun, 26 Apr 2015 12:34:36 +0000 (08:34 -0400)]
Message:
adc: check r_adcsrb is valid before init

fix issue #118

modified:   simavr/sim/avr_adc.c
Commit 1f3f065461e974584be4d42f33f5a2789cf0d3d4
author: Michel Pollet [Wed, 22 Apr 2015 08:35:36 +0000 (09:35 +0100)]
Message:
Merge pull request #117 from bsekisser/bsekisser-flash-writefix

flash: be sure to use current page for writing
Commit 77e3f7846e0ff3c1e1f61f20bcda39a29c671b10
committer: bsekisser [Sat, 18 Apr 2015 12:18:18 +0000 (08:18 -0400)]
author: bsekisser [Sat, 18 Apr 2015 12:11:22 +0000 (08:11 -0400)]
Message:
flash: be sure to use current page for writing

bound z to ~(page size - 1), otherwise write may start at anywhere in page to write and fail.

also corrected log line to previous state as was missleading/inacurate.

modified:   simavr/sim/avr_flash.c
Commit a738c10be7af55ceab73a4ad0367194549af7356
author: Michel Pollet [Tue, 14 Apr 2015 20:02:57 +0000 (21:02 +0100)]
Message:
Merge commit '74a05db0b65e1f2e583b8f015814976572f332a5'
Commit 74a05db0b65e1f2e583b8f015814976572f332a5
author: Michel Pollet [Thu, 9 Apr 2015 20:29:19 +0000 (21:29 +0100)]
Message:
lin: Don't reset regs at init time

the reset handler does it

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 3c2839b50928e0abe64db218b5b077b799624fd1
author: Michel Pollet [Thu, 9 Apr 2015 20:28:51 +0000 (21:28 +0100)]
Message:
lin: Checked a divide by zero condition

As it turn out, static analizer doesn't know lbt is >= 8. Added a
comment there all same for anyon else reading this.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit e86d9e52075e2edd37fe497b0d11a2df3fd1df31
author: Michel Pollet [Thu, 9 Apr 2015 20:27:56 +0000 (21:27 +0100)]
Message:
ioport: Don't deref NULL on bad param

that ioctl requires a parameter, but doesn't check it. Static analyzer
doesn't like that at all.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 0f6f5c45078ead21ae142b034f09f1efaee37817
author: Michel Pollet [Wed, 8 Apr 2015 08:51:18 +0000 (09:51 +0100)]
Message:
Merge pull request #96 from bsekisser/bsekisser-master-core-remove-bclr-bset

core: Removal of duplicate code...
Commit 33c47992026357e1c48540f6009a904e4da0f363
author: Michel Pollet [Mon, 16 Feb 2015 21:05:33 +0000 (21:05 +0000)]
Message:
Merge pull request #110 from cskarai/fix-optiboot-watchdog

Optiboot bootloader unintentionally enables watchdog
Commit f73a44a589953482ad704f3e8dd5d08599e47c4e
author: Michel Pollet [Mon, 16 Feb 2015 21:05:04 +0000 (21:05 +0000)]
Message:
Merge pull request #114 from xqms/atmega2560_uart3

Support IO register addresses >= 256
Commit dfd97a7a7d9f8d1de1716f84174212c3760493e4
committer: Max Schwarz [Fri, 6 Feb 2015 00:06:04 +0000 (01:06 +0100)]
author: Max Schwarz [Thu, 5 Feb 2015 22:26:45 +0000 (23:26 +0100)]
Message:
sim_avr.h: increase MAX_IOs by one to 280

ATmega2560 has UDR0 at 0x136 = 310
Commit f4d247822cc09a3be6e4b5ac032313f23372128a
committer: Max Schwarz [Fri, 6 Feb 2015 00:06:04 +0000 (01:06 +0100)]
author: Max Schwarz [Thu, 5 Feb 2015 22:18:26 +0000 (23:18 +0100)]
Message:
sim_core + sim_regbit: use 16 bit integers for IO addresses

This is necessary on the larger ATmegas (e.g. ATmega2560).
Commit 62db05d8ec93d990209b1595b427e2f0dc208ead
committer: Max Schwarz [Thu, 5 Feb 2015 23:57:41 +0000 (00:57 +0100)]
author: Max Schwarz [Thu, 5 Feb 2015 22:17:25 +0000 (23:17 +0100)]
Message:
sim_core: don't hardcode max io register address, use MAX_IOs
Commit 7d47dbc73f68ad413fe661a0e88f19c0e8e5df70
committer: Max Schwarz [Thu, 5 Feb 2015 23:57:41 +0000 (00:57 +0100)]
author: Max Schwarz [Thu, 5 Feb 2015 23:56:56 +0000 (00:56 +0100)]
Message:
add unit test for UART3 echo on ATmega2560

This fails currently because IO addresses >= 256 are not handled correctly
in the core.
Commit 1e50f3c6d6bd381602bf3e72b986c3454a1f0d43
author: Michel Pollet [Mon, 19 Jan 2015 18:33:17 +0000 (18:33 +0000)]
Message:
Merge pull request #112 from cskarai/fix-timer-ocra-top

Reconfigure fast pwm timer at OCRA write  if OCRA is the top
Commit 275353445c0a16086db9c66cfe8f55b97c6f0cdc
author: Michel Pollet [Mon, 19 Jan 2015 18:32:40 +0000 (18:32 +0000)]
Message:
Merge pull request #111 from cskarai/fix-adc-adate

Implemented: ADC free running mode
Commit 948bbf97657d91dfac0a8d899e378f29abcdf9b5
author: cskarai [Wed, 7 Jan 2015 22:21:23 +0000 (23:21 +0100)]
Message:
Reconfigure fast pwm timer at OCRA write  if OCRA is the top
Commit 37ce96c3d2d68b1216179fe5e5466c920faef1fd
author: cskarai [Wed, 7 Jan 2015 19:39:47 +0000 (20:39 +0100)]
Message:
Fixed: issue with indentation
Commit 70cd616a05fe8333827d569cd5843c81105b8559
author: cskarai [Tue, 6 Jan 2015 21:13:40 +0000 (22:13 +0100)]
Message:
Added: free_running autotrigger mode
Commit 8636d5ec8b8c66a1d46dc87681e66df5e5b452d9
author: cskarai [Tue, 6 Jan 2015 20:32:01 +0000 (21:32 +0100)]
Message:
Added: ADC trigger sources
Commit 91259f9096689f9caac0faa4c23ca132082b12b6
committer: cskarai [Mon, 5 Jan 2015 18:36:36 +0000 (19:36 +0100)]
author: Karai Csaba [Sun, 4 Jan 2015 09:15:35 +0000 (10:15 +0100)]
Message:
Fixed: optiboot issue, watchdog is unintentionally enabled
Commit 81b78e08b96c795fa8bce83523526c6b09f822b5
author: Michel Pollet [Wed, 19 Nov 2014 09:23:43 +0000 (09:23 +0000)]
Message:
Merge pull request #101 from dougszumski/mx_core_add_extint

cores: Adds missing external interrupt for m16/m32