log for b262c5c3e51b191ecb60f7ccc1f33323fda4723d
Commit b262c5c3e51b191ecb60f7ccc1f33323fda4723d
author: Ayke van Laethem [Tue, 4 Feb 2020 12:02:22 +0000 (13:02 +0100)]
Message:
Add support for debugging with LLDB

LLDB requires the qRegisterInfo packet to work correctly. While it is
possible to specify the registers manually using a Python script, having
them directly in the emulator simplifies things a lot.
Commit ab4c17cad37f33e956d625178a9904fc7c3056c2
committer: GitHub [Wed, 8 Jan 2020 09:14:45 +0000 (09:14 +0000)]
author: Michel Pollet [Wed, 8 Jan 2020 09:14:45 +0000 (09:14 +0000)]
Message:
Merge pull request #358 from jcvdev/gdb-tcp-port

Optionally specify TCP listening port for -g,--gdb option (default 1234)
Commit 4ad41b9ae8f6da9a7e8613598847964ccc64c1b6
author: Juan Cruz Varela [Wed, 1 Jan 2020 20:01:22 +0000 (17:01 -0300)]
Message:
Allow to optionally specify gdb listening port
Commit bebbaf8a028035c52cf8e522bfc7a733aac31a31
committer: GitHub [Sun, 1 Dec 2019 13:58:22 +0000 (13:58 +0000)]
author: Michel Pollet [Sun, 1 Dec 2019 13:58:22 +0000 (13:58 +0000)]
Message:
Merge pull request #333 from edgargrimberg/edgar_Add_ATMega64M1

Add ATMega64M1
Commit b6bd8e9d6d667a01f991404450ee2e7bfbc5030c
committer: GitHub [Sun, 1 Dec 2019 12:56:51 +0000 (12:56 +0000)]
author: Michel Pollet [Sun, 1 Dec 2019 12:56:51 +0000 (12:56 +0000)]
Message:
Merge pull request #352 from ZsoltSaskovy/to_be_merged_back

Minor fix to make code compile on Windows, and separated code and mcu_t structure for Mega2560
Commit a115ea58690681231538e966c279a75948ef3a36
committer: Zsolt Saskovy [Thu, 28 Nov 2019 21:15:28 +0000 (22:15 +0100)]
author: Zsolt Saskovy [Thu, 28 Nov 2019 21:14:52 +0000 (22:14 +0100)]
Message:
Moved mcu_t structure declaration into separate header file
Commit 290bb03343e7e6cf62982276b93ee63b3799ece0
committer: Zsolt Saskovy [Thu, 28 Nov 2019 21:13:24 +0000 (22:13 +0100)]
author: Zsolt Saskovy [Thu, 28 Nov 2019 21:12:34 +0000 (22:12 +0100)]
Message:
Changed the order of winsock2 and windows includes. Wrong onder caused compilation errors under Windows
Commit 7b6fceccbf4e0cee13ec263792f2f94170b2fbb3
committer: GitHub [Thu, 28 Nov 2019 00:21:02 +0000 (00:21 +0000)]
author: Michel Pollet [Thu, 28 Nov 2019 00:21:02 +0000 (00:21 +0000)]
Message:
Merge pull request #346 from TomasHubelbauer/patch-1

Note that it is possible to install through Aptitude
Commit b3fedff9781bd2089ae0bf664aa51ba4a563af23
committer: GitHub [Wed, 27 Nov 2019 16:59:05 +0000 (16:59 +0000)]
author: Michel Pollet [Wed, 27 Nov 2019 16:59:05 +0000 (16:59 +0000)]
Message:
Merge pull request #321 from endofexclusive/pr/do-not-mix-tab-and-space

Do not mix tab and space in --help output
Commit b3e0edc9cb9852dd136e0ab39476073dc3734aa3
committer: GitHub [Wed, 27 Nov 2019 16:36:47 +0000 (16:36 +0000)]
author: Michel Pollet [Wed, 27 Nov 2019 16:36:47 +0000 (16:36 +0000)]
Message:
Merge pull request #349 from helargus/vcd-325

#325 Converts timescale from vcd input to internal us.
Commit e1bf384059cb2c591c0d7309ee162fa51fcd921b
committer: GitHub [Wed, 27 Nov 2019 16:31:14 +0000 (16:31 +0000)]
author: Michel Pollet [Wed, 27 Nov 2019 16:31:14 +0000 (16:31 +0000)]
Message:
Merge pull request #348 from thecky/master

added OC0A/OC0B support for attiny13
Commit fc3f0adbd672ce93689710ad8af4af159f2e211a
author: Henrik Lipskoch [Mon, 11 Nov 2019 08:38:47 +0000 (09:38 +0100)]
Message:
Converts timescale from vcd input to internal us.
Commit bf47f08521ca2b9533d3ce84ca05df789a79e0a4
author: Thomas Martens [Sat, 12 Oct 2019 20:04:20 +0000 (22:04 +0200)]
Message:
added OC0A/OC0B support for attiny13

.com and .com_pin settings for timer0 in section .comp were missed
Commit cea48cc9db1ea129c493932ff36b9bf97a2ebb8a
committer: GitHub [Sun, 15 Sep 2019 16:00:46 +0000 (18:00 +0200)]
author: Tomáš Hübelbauer [Sun, 15 Sep 2019 16:00:46 +0000 (18:00 +0200)]
Message:
Note that it is possible to install through Aptitude

I've found that there is a maintainer who publishes SimAVR for Ubuntu here:
https://packages.ubuntu.com/bionic/simavr

Seems to be kept reasonably up-to-date (the latest there is 1.15 whereasy here on GitHub it is 1.16).
I know that maintainers do not always keep in contact with the software vendor so I would not be surprised to learn you were not aware of this. If you are okay with it though and consider it to be a legit enough source, I figure it's good to call that out in the README.
Commit 71d6607c0a2ac5f3ac5820343f8e2e47c61d790a
author: Edgar Grimberg [Fri, 5 Apr 2019 11:54:30 +0000 (13:54 +0200)]
Message:
Add ATMega64M1

Signed-off-by: Edgar Grimberg <edgar.grimberg@visuray.com>
Commit 90df0ba9da92cb45781794813c3795beebdcacb4
committer: GitHub [Tue, 19 Mar 2019 08:56:04 +0000 (08:56 +0000)]
author: Michel Pollet [Tue, 19 Mar 2019 08:56:04 +0000 (08:56 +0000)]
Message:
Merge pull request #311 from glitchub/master

Also search for /usr/lib64/librt.so
Commit d08f42a9f0cb21cefa8d965e461a18e15cb04139
committer: GitHub [Mon, 25 Feb 2019 10:24:09 +0000 (10:24 +0000)]
author: Michel Pollet [Mon, 25 Feb 2019 10:24:09 +0000 (10:24 +0000)]
Message:
Merge pull request #320 from endofexclusive/pr/freebsd-misc

Make simavr build on Freebsd
Commit 719f4fdebd2c7b0eec633f4c0133c2730e607145
committer: GitHub [Mon, 25 Feb 2019 10:22:56 +0000 (10:22 +0000)]
author: Michel Pollet [Mon, 25 Feb 2019 10:22:56 +0000 (10:22 +0000)]
Message:
Merge pull request #324 from hsoft/tiny-timer1

Fix timer1 on tinyx5
Commit 062c8d7adcc67f81e2025444711f6a56a1b7a5d2
committer: Virgil Dupras [Sun, 24 Feb 2019 18:13:38 +0000 (13:13 -0500)]
author: Virgil Dupras [Sun, 24 Feb 2019 18:06:24 +0000 (13:06 -0500)]
Message:
Fix timer1 on tinyx5

The prescaler list for timer1 on the tinyx5 was incomplete. Moreover,
having no WGM data made the timer run in `avr_timer_wgm_none`, with a
zero size (it would overflow all the time).

Setting a default wgm_op makes time timer run in normal mode witha size
of 8 bits.
Commit 5260e4c3001f4c35c643e8f24caae46e0733c30b
committer: Martin Åberg [Sun, 17 Feb 2019 15:26:43 +0000 (16:26 +0100)]
author: Martin Åberg [Sun, 17 Feb 2019 15:13:25 +0000 (16:13 +0100)]
Message:
Do not mix tab and space in help output
Commit 082939e64e1632d8ea0b1d6ebea93ca832c9e762
committer: Martin Åberg [Sun, 17 Feb 2019 14:51:49 +0000 (15:51 +0100)]
author: Martin Åberg [Sun, 17 Feb 2019 14:45:06 +0000 (15:45 +0100)]
Message:
FreeBSD pty fixup
Commit e5ea627259daae64ddbe67402b6d121e0143cd21
committer: Martin Åberg [Sun, 17 Feb 2019 14:51:47 +0000 (15:51 +0100)]
author: Martin Åberg [Sun, 17 Feb 2019 14:34:09 +0000 (15:34 +0100)]
Message:
FreeBSD glut fixups
Commit 86264ad6d0b6b921130e293769d8ebaec512eecd
author: Martin Åberg [Sun, 17 Feb 2019 14:19:31 +0000 (15:19 +0100)]
Message:
gettimeofday() prototype is in sys/time.h
Commit f3f26ccbae117a7676789002eae08029c2cfaa2f
author: glitchub [Fri, 9 Nov 2018 22:41:06 +0000 (14:41 -0800)]
Message:
Also search for /usr/lib64/librt.so
Commit b3a8e8f99b634062f6f07f6d24040282129c11b0
committer: GitHub [Thu, 26 Jul 2018 08:20:17 +0000 (09:20 +0100)]
author: Michel Pollet [Thu, 26 Jul 2018 08:20:17 +0000 (09:20 +0100)]
Message:
Merge pull request #301 from aznoohwee/bugfix/polling-flag-within-isr

allow polling interrupt flag within ISR
Commit dd79f415a894fa70078e87a72cfe63b39ca2dee7
author: Tam Do [Sat, 21 Jul 2018 18:40:09 +0000 (13:40 -0500)]
Message:
reorder check to ensure that flag is allowed to be raised within ISR, but no nested IRQs occur
Commit a3c405ddb416bbf6848c31aff73803bf45aa0cee
committer: Tam Do [Wed, 18 Jul 2018 00:30:54 +0000 (19:30 -0500)]
author: Tam Do [Wed, 18 Jul 2018 00:27:44 +0000 (19:27 -0500)]
Message:
allow polling interrupt flag within ISR
Commit b3e5922be765e25b1624d585418e9f9965270e76
committer: GitHub [Thu, 12 Jul 2018 12:53:33 +0000 (13:53 +0100)]
author: Michel Pollet [Thu, 12 Jul 2018 12:53:33 +0000 (13:53 +0100)]
Message:
Merge pull request #295 from myokaski/fix-uart-pty

Fix receiving after fifo overrun
Commit c0fac7921651a7f00ca3058c2007ea5ff545182b
committer: GitHub [Thu, 12 Jul 2018 12:52:20 +0000 (13:52 +0100)]
author: Michel Pollet [Thu, 12 Jul 2018 12:52:20 +0000 (13:52 +0100)]
Message:
Merge pull request #299 from aznoohwee/bugfix/atmega32U4-ramend

Fix atmega32u4 RAMEND
Commit 57134bdf07479532ae86fe3e38d1dfe26b23e7df
committer: Tam Do [Wed, 11 Jul 2018 23:54:34 +0000 (18:54 -0500)]
author: Tam Do [Mon, 9 Jul 2018 14:50:01 +0000 (09:50 -0500)]
Message:
For #276 fix atmega32u4 RAMEND
Commit bb75b1df4ec7b19cc26a4fdd7cb7d770ed2f454a
author: Aleksey Shargalin [Thu, 21 Jun 2018 15:24:31 +0000 (18:24 +0300)]
Message:
Fix receiving after fifo overrun

After fifo overrun buffer_done remains less than buffer_len and
FD_SET(p->port[ti].s, &read_set) is not called. If firmware has nothing
to send, select always returns 0 and new data is never read even if
fifo buffer gets flushed.
This patch removes check for select timeout, so the remaining data in
buffer may go to fifo.
Commit 51de22447b70aff741c5bd7c1759db8d343e5682
committer: GitHub [Thu, 21 Jun 2018 08:57:16 +0000 (09:57 +0100)]
author: Michel Pollet [Thu, 21 Jun 2018 08:57:16 +0000 (09:57 +0100)]
Message:
Merge pull request #294 from dougszumski/bugfix/gcc8_warnings

Forcibly null terminate input strings
Commit c2c8e40ff219f78779fc2743f0c1ffbabe159e37
committer: Doug Szumski [Wed, 20 Jun 2018 20:28:50 +0000 (21:28 +0100)]
author: Doug Szumski [Wed, 20 Jun 2018 19:57:33 +0000 (20:57 +0100)]
Message:
Fix GCC 8 warning for input strings

As described in issue #293 GCC 8 fails the build in the current
configuration on warnings like:

sim/run_avr.c:193:4: error: ‘strncpy’ specified bound 128
equals destination size [-Werror=stringop-truncation]
    strncpy(f.tracename, argv[++pi], sizeof(f.tracename));

This isn't the only solution, but it get's the build working.
Commit b8fb9e5be06275d2bb8d43d8b7b92c795678be58
author: Michel Pollet [Wed, 20 Jun 2018 08:13:16 +0000 (09:13 +0100)]
Message:
misc: Fix static analyzer warnings

Mostly intenting.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6d9c6e1489b79239c6b6ee6d2893468b74d737d8
committer: GitHub [Tue, 29 May 2018 19:30:31 +0000 (20:30 +0100)]
author: Michel Pollet [Tue, 29 May 2018 19:30:31 +0000 (20:30 +0100)]
Message:
Merge pull request #291 from nspring/parts-install-separately

For RHEL 6.9 without glut: Parts install separately ; add rpath to rpath-link using RELEASE=1 ; appease gcc 4.6.1, use librt
Commit 70548ddb6673b3e86bcc992f6164ca808d945263
committer: Neil Spring [Tue, 29 May 2018 18:46:27 +0000 (14:46 -0400)]
author: Neil Spring [Tue, 29 May 2018 15:32:49 +0000 (11:32 -0400)]
Message:
Fix installation of examples/parts to occur within the
examplesbparts makefile rather than use the simavr
makefile, allowing installation of simavr (alone) on
machines without a working glut.

Fix RELEASE=1 option to additionally specify rpath (not
just rpath-link) if simavr will be installed in a special
directory.

Add detection and use of librt when available (e.g.,
RHEL 6.9).
Commit cecc6e8f30ea7025afcc8a29b2f4dc27ebf86475
committer: GitHub [Thu, 24 May 2018 09:02:18 +0000 (10:02 +0100)]
author: Michel Pollet [Thu, 24 May 2018 09:02:18 +0000 (10:02 +0100)]
Message:
Merge pull request #287 from dougszumski/feature/rotary_encoder_rebase_04_2018

Rotary encoder and demo board
Commit 46fe26009dc3fc321d799026e81567a3e3fda898
committer: GitHub [Thu, 24 May 2018 08:58:57 +0000 (09:58 +0100)]
author: Michel Pollet [Thu, 24 May 2018 08:58:57 +0000 (09:58 +0100)]
Message:
Merge pull request #280 from dgeelen/dgeelen/wrap_memory_accesses

On actual hardware, memory accesses seem to wrap.
Commit 96694917db7166e137cf70902859070d6f431c5a
committer: GitHub [Thu, 24 May 2018 08:55:53 +0000 (09:55 +0100)]
author: Michel Pollet [Thu, 24 May 2018 08:55:53 +0000 (09:55 +0100)]
Message:
Merge pull request #282 from dgeelen/dgeelen/cmdline_vcd

Add support for configuring VCD traces from the commandline.
Commit ce3a2117e676e8bdc23f2f91c8f1916c59ab3259
committer: Daniël Geelen [Wed, 23 May 2018 17:13:11 +0000 (19:13 +0200)]
author: Daniël Geelen [Wed, 23 May 2018 17:12:55 +0000 (19:12 +0200)]
Message:
Add more white space around expressions.
Commit 2d2c42e652606ac2fd60d34519cb7b4b325422b2
committer: Daniël Geelen [Wed, 23 May 2018 17:09:48 +0000 (19:09 +0200)]
author: Daniël Geelen [Wed, 23 May 2018 17:08:41 +0000 (19:08 +0200)]
Message:
Add more white space around expressions.
Commit a1e2ecfea9db6e1f9074fd805013e3dcdfa3a526
author: Daniël Geelen [Wed, 23 May 2018 17:03:04 +0000 (19:03 +0200)]
Message:
If() statements should be followed by a space.
Commit 985751886b82bfff6845a7d36ef5109776929486
committer: Doug Szumski [Sat, 19 May 2018 13:37:42 +0000 (14:37 +0100)]
author: Doug Szumski [Sat, 19 May 2018 13:23:26 +0000 (14:23 +0100)]
Message:
parts: add rotary encoder demo board

This connects an LED bar up to an ATMega, and uses the
rotary encoder to scroll an LED up and down the bar.
Commit 63eae2baa0caf62d233c30b70445d9387f6d2c54
committer: Doug Szumski [Sat, 19 May 2018 13:30:10 +0000 (14:30 +0100)]
author: Doug Szumski [Sat, 19 May 2018 13:22:00 +0000 (14:22 +0100)]
Message:
parts: add rotary encoder part

Add a rotary encoder virtual part, based on the Panasonic
EVEP rotary encoder. This could easily be extended to virtualise
other rotary encoders.
Commit 5678ba9e24c9b59097762e478989248a1da40b42
author: Daniël Geelen [Wed, 2 May 2018 16:45:22 +0000 (18:45 +0200)]
Message:
Wrap long lines.
Commit 5669a067d4e1073b0c750de007c604443704d964
committer: GitHub [Tue, 24 Apr 2018 07:40:59 +0000 (08:40 +0100)]
author: Michel Pollet [Tue, 24 Apr 2018 07:40:59 +0000 (08:40 +0100)]
Message:
Merge pull request #275 from k3a/patch-1

Update Makefile
Commit 40eed1d82914e4da8013651cbb4f8bfd3b85bfd5
committer: GitHub [Tue, 24 Apr 2018 07:36:39 +0000 (08:36 +0100)]
author: Michel Pollet [Tue, 24 Apr 2018 07:36:39 +0000 (08:36 +0100)]
Message:
Merge pull request #281 from dgeelen/dgeelen/log_improvements

Improve logging
Commit 61d2f1f006f6bc10dcdbcbb35b75834527edc171
committer: Daniël Geelen [Sat, 21 Apr 2018 18:57:54 +0000 (20:57 +0200)]
author: Daniël Geelen [Wed, 18 Apr 2018 06:35:28 +0000 (08:35 +0200)]
Message:
Add support for configuring VCD traces from the commandline.
Commit 4e1fd7f77dc6eaff75e6581a7dbce84e6d4da524
committer: Daniël Geelen [Sat, 21 Apr 2018 18:56:59 +0000 (20:56 +0200)]
author: Daniël Geelen [Wed, 18 Apr 2018 06:33:58 +0000 (08:33 +0200)]
Message:
Log more warnings for VCD functionality.
Commit 6054ef1f3c8fe2809cc8ec3e8ae2f8d0142852f8
committer: Daniël Geelen [Sat, 21 Apr 2018 18:56:59 +0000 (20:56 +0200)]
author: Daniël Geelen [Thu, 5 Apr 2018 18:00:15 +0000 (20:00 +0200)]
Message:
Log statements in avr_load_firmware() were never printed.
Commit b91f456ed0417269068a3ff5469df28bbdfacda8
committer: Daniël Geelen [Fri, 20 Apr 2018 17:11:44 +0000 (19:11 +0200)]
author: Daniël Geelen [Thu, 5 Apr 2018 15:54:34 +0000 (17:54 +0200)]
Message:
On actual hardware, memory accesses seem to wrap.
Commit 1b2dd117a7172be2cbc4140e0e36ef4de3e8ef5a
committer: Michel Pollet [Tue, 3 Apr 2018 07:39:31 +0000 (08:39 +0100)]
author: Neil Spring [Sun, 1 Apr 2018 19:42:41 +0000 (15:42 -0400)]
Message:
use READ_SREG_INTO rather than g->avr->data[R_SREG] to get current sreg status for export to gdb
Commit 8988daf8cab3e3078f76106ac18ccce33950d575
committer: GitHub [Mon, 26 Feb 2018 21:51:21 +0000 (22:51 +0100)]
author: K3A [Mon, 26 Feb 2018 21:51:21 +0000 (22:51 +0100)]
Message:
Update Makefile
Commit abf87eafcdca47863a1a339a9e7eec98e07a147c
committer: GitHub [Mon, 26 Feb 2018 21:45:06 +0000 (22:45 +0100)]
author: K3A [Mon, 26 Feb 2018 21:45:06 +0000 (22:45 +0100)]
Message:
Update Makefile

Update install rule to require build-simavr and build-parts. That should fix #271.
Commit 1b6e6ed10a92438da47fe99864698db9ac2169b6 v1.6
committer: Michel Pollet [Wed, 10 Jan 2018 10:05:15 +0000 (10:05 +0000)]
author: Michel Pollet [Tue, 25 Apr 2017 07:13:47 +0000 (08:13 +0100)]
Message:
elf: Bit of cleanup

Going to clean this piece of code a little

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 7a77ebb65ab202837e4713f8758f096a39c0d95a
author: Michel Pollet [Wed, 10 Jan 2018 09:26:54 +0000 (09:26 +0000)]
Message:
core: Added support for PC overflow

Added a special opcode at the end of flash to catch PC overflow, and
'wrap it'. Also log the condition.
This allow that case to be handled without having to add a
modulo/division for each instruction.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 518c3746fd032147bef5cbb5d6461c8628faa30a
author: Michel Pollet [Wed, 10 Jan 2018 09:10:29 +0000 (09:10 +0000)]
Message:
Clean up that CLOCK mess

Generalized getting a time stamp related to the simulation. Make it
really portable.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 07def5c0588b7f9d502ad1bd0a489ae7a3ce2a1a
committer: Michel Pollet [Tue, 9 Jan 2018 09:01:19 +0000 (09:01 +0000)]
author: Austin Roach [Sat, 30 Dec 2017 01:10:01 +0000 (20:10 -0500)]
Message:
Correct x8 ADC mux modes

In all of the datasheets for ATmega44/88/168/328 devices that I've
seen, there are 8 channels of ADC selected with MUX modes 0000-0111,
and the temperature sensor is selected with MUX mode 1000.
Commit 6660aba00a898ff4db6c689e35e7fd03b4f9d47d
committer: Michel Pollet [Fri, 27 Oct 2017 07:07:14 +0000 (08:07 +0100)]
author: Delio Brignoli [Fri, 20 Oct 2017 09:22:45 +0000 (11:22 +0200)]
Message:
modify avr_callback_sleep_raw() to mitigate sim time and wall clock time divergence

To avoid simulated time and wall clock time to diverge over time
this implementation tries to keep them in sync (roughly) by sleeping
for the time required to match the expected sleep deadline
in wall clock time.

The simulation will burst as fast as the host CPU will allow
until the simulated MCU sleeps, at which point avr_callback_sleep_raw()
sleeps for the time required to sync wall clock time with simulated MCU
time.
Commit 9c56faa09995909a1ebc99dbf8cbb67a60f11b7e
committer: Michel Pollet [Thu, 19 Oct 2017 07:27:03 +0000 (08:27 +0100)]
author: Dylan McKay [Fri, 7 Jul 2017 12:46:10 +0000 (00:46 +1200)]
Message:
Fix a bug which causes no cores to be compiled

On some systems, including some Mac and some Linux computers, the
sim_core_config.h file will not have any cores compiled on it.

Here is the patch from #20.

I have tested this on Linux, and there are many people on #20 reporting
that it works perfectly on Mac.
Commit 749050d9c32c7908ad518ea2ce85f221f35f6606
committer: Michel Pollet [Thu, 19 Oct 2017 07:24:29 +0000 (08:24 +0100)]
author: Bastien Scher [Wed, 18 Oct 2017 10:15:51 +0000 (12:15 +0200)]
Message:
Fix timer mode 14 for timers 1, 3, 4 and 5 on Atmega2560
Commit f10736a5aa410ff0818754c3d5635e9f0d9f05cd
committer: Michel Pollet [Mon, 9 Oct 2017 08:00:25 +0000 (09:00 +0100)]
author: Konstantin Begun [Tue, 3 Oct 2017 21:52:10 +0000 (22:52 +0100)]
Message:
Make sure sim_core_declare.h is included *after* avr includes, as currently dependant ifdefs never succeed
Commit 6a1a04a0a02467797ae7dbecc04b3ffe9452e7b0
committer: Michel Pollet [Mon, 9 Oct 2017 07:59:08 +0000 (08:59 +0100)]
author: Andreas Schultes [Mon, 9 Oct 2017 07:59:08 +0000 (09:59 +0200)]
Message:
use only 12 bits for ubrr (#257)

* use only 12 bits for ubrr

* use bitmask for ubrr

* remove r_ubrr_h and r_ubrr_l
Commit 1191d479c5b987edd4dff9f40d166070725d4d44
committer: Michel Pollet [Wed, 4 Oct 2017 08:59:33 +0000 (09:59 +0100)]
author: kostic2000 [Wed, 4 Oct 2017 08:59:33 +0000 (09:59 +0100)]
Message:
Add support for  framing error in uart (#258)

* uart: Add support for a framing error. Useful for detecting breaks

* Fix spacing for "if"
Commit 4c9efe1fc44b427a4ce1ca8e56e0843c39d0014d
committer: Michel Pollet [Thu, 21 Sep 2017 05:44:16 +0000 (06:44 +0100)]
author: Delio Brignoli [Sat, 16 Sep 2017 17:33:15 +0000 (18:33 +0100)]
Message:
ssd1306: move display vertical and horizontal mirroring to OpenGL scene setup

The idea is that the display orientation related code belongs in the
board's implementation. Prior to this commit boards which mount the
display with a different orientation would end up mirroring the pixels
twice: once when reading them from the framebuffer and again in the
OpenGL scene rendering. As a sideeffect now reading pixels from the
vram array is simplified.
Commit b3c4ad768944207450086bb1544a612ca054d023
committer: Michel Pollet [Thu, 21 Sep 2017 05:44:16 +0000 (06:44 +0100)]
author: Delio Brignoli [Sat, 16 Sep 2017 17:11:06 +0000 (18:11 +0100)]
Message:
ssd1306: fix pixel size constant in demo
Commit face1cf98329be2800b1fae1714d3c457af28709
committer: Michel Pollet [Thu, 21 Sep 2017 05:44:16 +0000 (06:44 +0100)]
author: Delio Brignoli [Sat, 16 Sep 2017 16:57:43 +0000 (17:57 +0100)]
Message:
ssd1306: fix background painting

- Take pixel size into account.
- Fix swapped coordinates passed to glVertex2f().
Commit d0f6399282a72088e029de2eca6341ab0d988071
committer: Michel Pollet [Thu, 21 Sep 2017 05:44:16 +0000 (06:44 +0100)]
author: Delio Brignoli [Sat, 16 Sep 2017 17:44:43 +0000 (18:44 +0100)]
Message:
ssd1306: remove stray glBegin(GL_QUADS) call
Commit d1d178748b385b9951595f86e84794680a05874c
committer: Michel Pollet [Wed, 20 Sep 2017 07:12:11 +0000 (08:12 +0100)]
author: Delio Brignoli [Tue, 19 Sep 2017 18:40:36 +0000 (20:40 +0200)]
Message:
ssd1306_virt: add SSD1306_VIRT_CHARGE_PUMP command (ignored)

Without this change receiving SSD1306_VIRT_CHARGE_PUMP will
make the command parser get out of sync.
Commit ec92ccb5b0ca9470e4250f17ec77eba4d9adb286
committer: Michel Pollet [Wed, 20 Sep 2017 07:11:33 +0000 (08:11 +0100)]
author: Delio Brignoli [Tue, 19 Sep 2017 18:17:19 +0000 (20:17 +0200)]
Message:
extint: support cores with non-contiguous extint numbers like atmega32u4

avr_extint_exists() is used to establish if an extint index is valid
and avr_extint_count() is removed because it is not used any longer.
Commit 67504103373de3bedd9980d43d1d9e5db76fa822
committer: Michel Pollet [Tue, 19 Sep 2017 09:02:21 +0000 (10:02 +0100)]
author: Delio Brignoli [Mon, 18 Sep 2017 12:14:37 +0000 (14:14 +0200)]
Message:
parts: ssd1306: SET_COLUMN_*_NIBBLE commands are ignored in page mode
Commit 235f660d79ed077ed8f001d024bd86a780147bf4
committer: Michel Pollet [Tue, 19 Sep 2017 09:02:21 +0000 (10:02 +0100)]
author: Torbjorn Tyridal [Fri, 15 Sep 2017 12:52:06 +0000 (14:52 +0200)]
Message:
parts/ssd1306: add twi interface
Commit da8631592d0a35f9016594d917846747fbef3527
committer: Michel Pollet [Tue, 19 Sep 2017 09:02:21 +0000 (10:02 +0100)]
author: Torbjorn Tyridal [Fri, 15 Sep 2017 12:51:39 +0000 (14:51 +0200)]
Message:
parts/ssd1306: Add dummy handlers for various commands

in particular, commands used by adafruit driver. Since some
commands are multibyte, this prevents us getting out of sync
or misinterpreting commands.
Commit a8fcebb51bb864d111cc2fee9029f3578028cd20
committer: Michel Pollet [Tue, 19 Sep 2017 09:02:21 +0000 (10:02 +0100)]
author: Torbjorn Tyridal [Fri, 15 Sep 2017 12:50:02 +0000 (14:50 +0200)]
Message:
parts/ssd1306: support horizontal addressing mode

In particular, it's used by the adafruit driver for arduino
Commit f71135f1f02bd2e2dcfcbd64c91c5e4a392a532a
author: Michel Pollet [Fri, 15 Sep 2017 09:17:32 +0000 (10:17 +0100)]
Message:
timer: Removed round()

That drags libm in, and we don't need that.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 6466529d84f00a2365e8198dbb7b8106e2dda5d7
committer: Michel Pollet [Fri, 15 Sep 2017 08:19:53 +0000 (09:19 +0100)]
author: Delio Brignoli [Thu, 14 Sep 2017 22:29:06 +0000 (00:29 +0200)]
Message:
core: atmega32u4: Fix indentation

Use hard tabs and assume a tab width of 4 spaces.
Commit 6950a4a6c8e61c68f53854b1c5cd4cd511f2bad7
committer: Michel Pollet [Fri, 15 Sep 2017 08:19:53 +0000 (09:19 +0100)]
author: Delio Brignoli [Mon, 11 Sep 2017 07:04:07 +0000 (09:04 +0200)]
Message:
Add atmega32u4 core by Michel Pollet <buserror@gmail.com>
Commit 9e6cee086acda19221eec5fd4a463eb88fb073ef
committer: Michel Pollet [Wed, 6 Sep 2017 07:17:48 +0000 (08:17 +0100)]
author: Andreas Schultes [Sat, 1 Jul 2017 20:06:16 +0000 (22:06 +0200)]
Message:
fix timer is not triggered at ocr==0
Commit 5715c08885117336df0530b260b0e577cc00284e
committer: Michel Pollet [Fri, 18 Aug 2017 10:33:52 +0000 (11:33 +0100)]
author: Michel Pollet [Tue, 15 Aug 2017 11:26:34 +0000 (12:26 +0100)]
Message:
irq: Standardized some names

Made all the names more or less standard. Might still change...

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit 19db887a6c57ad42b17b24256a5b2cf9125e898b
committer: Michel Pollet [Tue, 15 Aug 2017 11:12:14 +0000 (12:12 +0100)]
author: Thomas Martens [Mon, 14 Aug 2017 20:52:21 +0000 (22:52 +0200)]
Message:
Added a define "FALLTHROUGH" to suppress 'this statement may fallthrough' messages
Since avr-gcc version 7 the flag -Wimplicit-fallthrough is set, so that
a missing "break;" inside a switch-case statement will throw an error in
the compiling process.
The missing breaks are replaced by the FALLTHROUGH define and no errors
occours.
FALLTHROUGH is simply an "__attribute__((fallthrough));" - if it is
supported by the compiler.
Commit d4228955c5d48d4dd43026a8c5a02b08f4e50a27
author: Michel Pollet [Tue, 15 Aug 2017 10:14:48 +0000 (11:14 +0100)]
Message:
make: Factored library making

Removed duplicate make commands for libraries

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit bfe3c83f2fc7b0b18cfa3910bfb4540514f3453d
committer: Michel Pollet [Mon, 14 Aug 2017 07:28:53 +0000 (08:28 +0100)]
author: Jacques Germishuys [Thu, 10 Aug 2017 18:50:27 +0000 (20:50 +0200)]
Message:
make parallel builds succeed
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