log for 7b112708dee9dd21a20850c671e50a06998ee347
Commit 7b112708dee9dd21a20850c671e50a06998ee347
author: sanjay-cpu [Fri, 11 Dec 2020 14:56:55 +0000 (14:56 +0000)]
Message:
Travis-ci:added support for ppc64le
Commit 0e03bc6f48b078606b9a970594ee0ef82ffa0117
committer: GitHub [Tue, 13 Oct 2020 19:05:39 +0000 (20:05 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 19:05:39 +0000 (20:05 +0100)]
Message:
Merge pull request #401 from vintagepc/Fix-TWI-status-delay

Fix high speed TWI delay calcs and ACK bug (#137)
Commit 753006e5a9fc3fbea5444088f9e962bcfb9d73e0
committer: GitHub [Tue, 13 Oct 2020 13:29:33 +0000 (14:29 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 13:29:33 +0000 (14:29 +0100)]
Message:
Merge pull request #413 from bsekisser/sim_regbit_clear_check_valid_reg

Remove kludge "avr_uart_regbit_clear" from uart
Commit 4dd8619a9c26b7094a10c08ee2d2d584fdb4cc84
committer: GitHub [Tue, 13 Oct 2020 13:28:28 +0000 (14:28 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 13:28:28 +0000 (14:28 +0100)]
Message:
Merge pull request #410 from akosthekiss/make-tests

Test-related maintenance
Commit 877842fef61e27d0cae3ce2bc8578a88b5429ee3
committer: GitHub [Tue, 13 Oct 2020 12:29:47 +0000 (13:29 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:29:47 +0000 (13:29 +0100)]
Message:
Merge pull request #412 from bsekisser/avr_regbit_h_file_format_corrections

Formatting and style corrections to avr_regbit.h
Commit 54a55cc2f0093103a9bd77d17cb285d198553fd0
committer: GitHub [Tue, 13 Oct 2020 12:26:51 +0000 (13:26 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:26:51 +0000 (13:26 +0100)]
Message:
Merge pull request #411 from bsekisser/uart_raise_udr_raised_with_tx_enable

Set udre flag when (re)enabling uart transmitter.
Commit 26ff19d215552acaf9545b3a6af7f02fdbf22392
committer: GitHub [Tue, 13 Oct 2020 12:24:31 +0000 (13:24 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:24:31 +0000 (13:24 +0100)]
Message:
Merge pull request #407 from akosthekiss/gitignore-maintenance

List git-ignored executables in one place
Commit 2bb4e6b6b38f1fe134db44539cc08698ab47acbb
committer: GitHub [Tue, 13 Oct 2020 12:19:51 +0000 (13:19 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:19:51 +0000 (13:19 +0100)]
Message:
Merge pull request #405 from akosthekiss/update-fix-manual

Update/fix manual
Commit 8eaeb516c2691b8b7a1c5b10015110c9db6c01ee
committer: GitHub [Tue, 13 Oct 2020 12:18:38 +0000 (13:18 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:18:38 +0000 (13:18 +0100)]
Message:
Merge pull request #396 from akosthekiss/makecommon-avrgcc-verbose

Ensure that verbosity is applied in avr-gcc recipes
Commit b88c1201026123a3416d36e033b73d88eb0b6dec
committer: GitHub [Tue, 13 Oct 2020 12:16:42 +0000 (13:16 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:16:42 +0000 (13:16 +0100)]
Message:
Merge pull request #397 from akosthekiss/remove-exec

Remove execute permission from source and header files
Commit a3eb6c9b00645595ce6307a8ea56279c185a36c4
committer: GitHub [Tue, 13 Oct 2020 12:15:41 +0000 (13:15 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:15:41 +0000 (13:15 +0100)]
Message:
Merge pull request #409 from akosthekiss/button-release

Add support for non-auto release to button
Commit 0d7783fe663723d3fb280435ecf5648afae78841
author: bsekisser [Mon, 12 Oct 2020 21:17:49 +0000 (17:17 -0400)]
Message:
fixup
Commit 8ae36e163028e8611b0c3d662129d54a59eebbed
committer: bsekisser [Mon, 12 Oct 2020 20:52:25 +0000 (16:52 -0400)]
author: bsekisser [Mon, 12 Oct 2020 19:07:42 +0000 (15:07 -0400)]
Message:
Remove kludge "avr_uart_regbit_clear" from uart

modified:   sim/avr_uart.c

Change use of kludge function avr_uart_regbit_clear to avr_regbit_clear.

modified:   sim/sim_regbit.h

Add check that avr_regbit_clear was passed a valid existing register.
Commit d8c91babc4016b239611b1b9da24f638abd10b10
committer: bsekisser [Mon, 12 Oct 2020 20:41:20 +0000 (16:41 -0400)]
author: bsekisser [Mon, 12 Oct 2020 20:39:08 +0000 (16:39 -0400)]
Message:
Formatting and style corrections to avr_regbit.h
Commit e479fb39412f9fb7b1110facd6867997ef839e5d
committer: bsekisser [Sat, 10 Oct 2020 22:18:53 +0000 (18:18 -0400)]
author: bsekisser [Sat, 10 Oct 2020 21:40:59 +0000 (17:40 -0400)]
Message:
Set udre flag when (re)enabling uart transmitter.

modified:   sim/avr_uart.c

Previously, disabling the uart transmitter cleared the udrc
interrupt and cleared the udre (udrc.raised) flag.  Upon
reenabling the transmitter, the udre flag is still clear
signifying the buffer is full, thus waiting for the udr to
clear via udre flag hangs.
Commit 82bc763e5e3939ce2ee376d2f66905ae63a1c8ba
author: Akos Kiss [Sat, 10 Oct 2020 20:54:36 +0000 (22:54 +0200)]
Message:
Test-related maintenance

- Ensure that make reports an error if any of the tests fail
- Don't duplicate compilation commands only for the sake of
  verbosity control
- Simplify recipe for .tst files
- Drop outdated and unnecessary .gitignore from tests directory
- Add the execution of tests to Travis CI
Commit 7c551e09d6e85045ec1433717f9f8c36a6906725
author: Akos Kiss [Sat, 10 Oct 2020 19:45:04 +0000 (21:45 +0200)]
Message:
Add support for non-auto release to button

This allows better control of key press length, if needed.

To minimize negative effect on existng code, if the duration
argument of button_press is non-zero, functionality is kept as is
(i.e., using auto-release). If duration is set to zero, then button
will have to be explicitly released using a new API function,
button_release.

If simulation uses GLUT, it may make use of glutKeyboardUpFunc and
glutIgnoreKeyRepeat (in addition to glutKeyboardFunc found in
existing examples) to have more exact control over button presses
and releases.
Commit 40ceef5f6f868478cdf0fbf4aa34b8b52053c877
author: Akos Kiss [Tue, 6 Oct 2020 13:25:19 +0000 (15:25 +0200)]
Message:
List git-ignored executables in one place
Commit 2f136017314453ff9ce9a80b108e939e48a334d9
committer: Akos Kiss [Mon, 5 Oct 2020 14:33:35 +0000 (16:33 +0200)]
author: Akos Kiss [Mon, 5 Oct 2020 14:21:51 +0000 (16:21 +0200)]
Message:
Update/fix manual

- Updated GitHub repository links.
- Removed the requirement for a German babel language definition
  file.
- Commented out missing references (citations of external manual
  and references to non-existing sections).
- Added a .gitignore file to the directory of the manual to help
  git disregard temporary latex files.
Commit ecbd0e65585b4c509f41ebd99ed80c6cb86af6ab
author: vintagepc [Mon, 28 Sep 2020 22:04:10 +0000 (18:04 -0400)]
Message:
Partial for TWI fixes (#137)
Commit 2683b6a73a26a6dd3970a281f7bfcb220669696b
committer: Akos Kiss [Sat, 12 Sep 2020 22:00:10 +0000 (00:00 +0200)]
author: Akos Kiss [Sat, 12 Sep 2020 21:59:18 +0000 (23:59 +0200)]
Message:
Remove execute permission from source and header files
Commit da656d6e816cd85239bcc804dd12df0501515225
author: Akos Kiss [Sat, 12 Sep 2020 21:44:52 +0000 (23:44 +0200)]
Message:
Ensure that verbosity is applied in avr-gcc recipes
Commit 5c757546298c4c26022b3b4861e1bbfbdb72ac52
committer: GitHub [Mon, 31 Aug 2020 08:44:46 +0000 (09:44 +0100)]
author: Michel Pollet [Mon, 31 Aug 2020 08:44:46 +0000 (09:44 +0100)]
Message:
Merge pull request #393 from vintagepc/Timer_PWM2

Support 3rd PWM pin on timers with OCRxC
Commit 4cd9f835769f3005db4cb99507cef04b1faf0086
committer: GitHub [Wed, 5 Aug 2020 09:25:51 +0000 (10:25 +0100)]
author: Michel Pollet [Wed, 5 Aug 2020 09:25:51 +0000 (10:25 +0100)]
Message:
Merge pull request #392 from vintagepc/SPI-clock-rates

Clock out SPI data according to SPCR/SPSR
Commit 574c005c878b186dec3a1cef3ca41e16d8200305
author: vintagepc [Wed, 5 Aug 2020 01:54:08 +0000 (21:54 -0400)]
Message:
Support 3rd PWM pin on timers with OCRxC
Commit 500b1004922dfec63b90f66193d278e1c6b9c059
author: vintagepc [Tue, 4 Aug 2020 12:28:07 +0000 (08:28 -0400)]
Message:
Requested changes
Commit dab360416efd7db06d9c7c63bda94db27f9516a1
author: vintagepc [Mon, 3 Aug 2020 23:14:54 +0000 (19:14 -0400)]
Message:
Clock out SPI data according to SPCR/SPSR
Commit 1ce3462d7e7f7720a802ae99c6ce99a1e1b61c62
committer: GitHub [Mon, 3 Aug 2020 10:15:54 +0000 (11:15 +0100)]
author: Michel Pollet [Mon, 3 Aug 2020 10:15:54 +0000 (11:15 +0100)]
Message:
Merge pull request #390 from vintagepc/unaligned-PCINTs

Support for non-aligned PCINTs
Commit 90dca3ef9160122cf87cb2bfd8c5e8508ed15a2d
committer: GitHub [Mon, 3 Aug 2020 09:30:13 +0000 (10:30 +0100)]
author: Michel Pollet [Mon, 3 Aug 2020 09:30:13 +0000 (10:30 +0100)]
Message:
Merge pull request #389 from vintagepc/fix-adcs-over-7

Fix ADCs>7
Commit 0453ec88d62335bc317f379188fd9de6a46559f4
committer: vintagepc [Thu, 23 Jul 2020 14:31:28 +0000 (10:31 -0400)]
author: vintagepc [Sat, 18 Jul 2020 20:46:02 +0000 (16:46 -0400)]
Message:
Fix PCINT on PORTJ for 2560
Commit 73ae11a0b03daf47bee406ba62abdf148ba21501
committer: vintagepc [Thu, 23 Jul 2020 14:23:38 +0000 (10:23 -0400)]
author: vintagepc [Mon, 20 Apr 2020 17:58:28 +0000 (13:58 -0400)]
Message:
Fix ADCs>7
Commit c67dc7377c00739abd98c7cbb9e66e4164f6ee8a
committer: GitHub [Tue, 30 Jun 2020 16:35:51 +0000 (17:35 +0100)]
author: Michel Pollet [Tue, 30 Jun 2020 16:35:51 +0000 (17:35 +0100)]
Message:
Merge pull request #384 from msquirogac/fix-370

Support for GDB monitor commands
Commit 13b5c3336c1b9163f012467b233ac47973bd95a0
committer: GitHub [Tue, 30 Jun 2020 16:34:33 +0000 (17:34 +0100)]
author: Michel Pollet [Tue, 30 Jun 2020 16:34:33 +0000 (17:34 +0100)]
Message:
Tweaked spacing from PR
Commit 110aadf0e7db6760d303d97ee055d9d87d103bff
author: msquirogac [Sat, 20 Jun 2020 22:45:50 +0000 (18:45 -0400)]
Message:
gdb monitor command clean-up
Commit fe3ff0bb26afb2f8c7d96ffa049bfebabca6291d
committer: msquirogac [Sat, 20 Jun 2020 22:39:44 +0000 (18:39 -0400)]
author: msquirogac [Sat, 20 Jun 2020 22:39:37 +0000 (18:39 -0400)]
Message:
new gdb commands kill, detach and monitor
monitor parser engine supports reset and halt
Commit 7c254e2081b550845720066eafddc0dda210a2d0
committer: GitHub [Thu, 28 May 2020 16:55:45 +0000 (17:55 +0100)]
author: Michel Pollet [Thu, 28 May 2020 16:55:45 +0000 (17:55 +0100)]
Message:
Merge pull request #319 from uffejakobsen/uart_tap_symlink

Symlink for UART tap was never created during uart_pty_connect()
Commit ff689b67581604e2da31756fe37ecc1101ebe3dc
committer: GitHub [Thu, 28 May 2020 09:18:11 +0000 (10:18 +0100)]
author: Michel Pollet [Thu, 28 May 2020 09:18:11 +0000 (10:18 +0100)]
Message:
Merge pull request #377 from msquirogac/fix-375

Update of the display_usage function.
Commit 4be865461e271e5c735c221bcd8a3ce4200e7ae0
committer: GitHub [Thu, 28 May 2020 09:17:44 +0000 (10:17 +0100)]
author: Michel Pollet [Thu, 28 May 2020 09:17:44 +0000 (10:17 +0100)]
Message:
Merge pull request #379 from msquirogac/fix-378

used attribute for _MMCU_ , should avoid dropping the .mmcu section
Commit ba6a1332038e96b3923672697159220b0100eb7f
committer: msquirogac [Thu, 28 May 2020 04:10:38 +0000 (00:10 -0400)]
author: msquirogac [Sat, 23 May 2020 01:38:51 +0000 (21:38 -0400)]
Message:
used attribute for _MMCU_ , should avoid dropping the .mmcu section
Fix for issue #285
Commit 366b6c2660b088fec6ed8c6926398a366f74fd8c
committer: msquirogac [Thu, 28 May 2020 03:37:26 +0000 (23:37 -0400)]
author: msquirogac [Mon, 25 May 2020 16:27:34 +0000 (12:27 -0400)]
Message:
Update of the display_usage function.
Some arguments changed name to make them more like the already existent ones.
Some arguments were merged to one to reduce redundant code.
Fix issue #375
Commit dd7a447bde57eadca736ad0a14bf370b0e126784
committer: GitHub [Wed, 27 May 2020 15:50:16 +0000 (16:50 +0100)]
author: Michel Pollet [Wed, 27 May 2020 15:50:16 +0000 (16:50 +0100)]
Message:
Merge pull request #373 from simark/sram

Compare address with I/O end address in _avr_set_ram
Commit f421abbabc712ad058f917c8e78d89122e8cd181
committer: Simon Marchi [Fri, 22 May 2020 16:59:51 +0000 (12:59 -0400)]
author: Simon Marchi [Fri, 22 May 2020 16:55:10 +0000 (12:55 -0400)]
Message:
Compare address with I/O end address in _avr_set_ram

In _avr_set_ram, we check if the address is smaller than `MAX_IOs + 31`
to know if it is a register or SRAM location.  In reality, many devices
have less I/Os than that, so the SRAM begins before this address.

As shown in issue #372, this causes watchpoints to not be triggered when
writing to an SRAM location that is smaller than `MAX_IOs + 31`.  For
example, a global variable on an atmega328 gets placed at address 0x100,
which is less than `MAX_IOs + 31`.

Fix this by comparing the address to the `ioend` property of `avr`.

Fixes #372
Commit ba721226ba869e7a1a168686cf53d4efefa4e439
committer: GitHub [Sun, 16 Feb 2020 17:03:23 +0000 (17:03 +0000)]
author: Michel Pollet [Sun, 16 Feb 2020 17:03:23 +0000 (17:03 +0000)]
Message:
Merge pull request #361 from aldobrrrr/is-instruction-32-bits-mask-fix

Fix a bug in the bitmask inside _avr_is_instruction_32_bits() function in sim_core.c file.
Commit 84152a5a0f6050e0432ff226c59b7354ad993f35
committer: GitHub [Sun, 16 Feb 2020 17:02:55 +0000 (17:02 +0000)]
author: Michel Pollet [Sun, 16 Feb 2020 17:02:55 +0000 (17:02 +0000)]
Message:
Merge pull request #366 from becmer/musl-tests

Don't assign stderr on non-glibc
Commit 9eeed7d0012ba7a19a2d6f7f6b3f9c7c83ed86f3
committer: Kamil Becmer [Sat, 15 Feb 2020 16:44:12 +0000 (17:44 +0100)]
author: Kamil Becmer [Sat, 15 Feb 2020 16:17:52 +0000 (17:17 +0100)]
Message:
Don't assign stderr on non-glibc

Signed-off-by: Kamil Becmer <kamil.becmer@gmail.com>
Commit 9c2aa9b4e177508b1b0527f96c31231bc48dceab
committer: GitHub [Wed, 5 Feb 2020 20:04:54 +0000 (20:04 +0000)]
author: Michel Pollet [Wed, 5 Feb 2020 20:04:54 +0000 (20:04 +0000)]
Message:
Merge pull request #364 from aykevl/lldb

Add support for debugging with LLDB
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 4784ea558d45e607d1e603f7b9b10549de1612f3
author: Emanuele Altomare [Mon, 13 Jan 2020 17:12:48 +0000 (18:12 +0100)]
Message:
Fix a bug in the bitmask inside _avr_is_instruction_32_bits() function in sim_core.c file.
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 4bbb568f58ea70018c7d613f00af0f61fcca36f0
author: Uffe Jakobsen [Tue, 29 Jan 2019 08:06:31 +0000 (09:06 +0100)]
Message:
Symlink for UART tap was never created during uart_pty_connect()
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