simavr.git
2 years agoRemove 3rd letter of weekday, right justify the date (flush with seconds) master
Nick Downing [Thu, 24 Mar 2022 15:46:49 +0000 (02:46 +1100)]
Remove 3rd letter of weekday, right justify the date (flush with seconds)

2 years agoFix day of week calculation, remove leading zeros
Nick Downing [Thu, 24 Mar 2022 15:43:28 +0000 (02:43 +1100)]
Fix day of week calculation, remove leading zeros

2 years agoAdd day of week display
Nick Downing [Thu, 24 Mar 2022 13:44:44 +0000 (00:44 +1100)]
Add day of week display

2 years agoRemove separate hours display and always show hh:mm:ss dd:mm:yyyy on 2 lines
Nick Downing [Thu, 24 Mar 2022 13:03:31 +0000 (00:03 +1100)]
Remove separate hours display and always show hh:mm:ss dd:mm:yyyy on 2 lines

2 years agoChange to hh:mm:ss dd:mm:yy counting (adds colon and extra small digits)
Nick Downing [Thu, 24 Mar 2022 12:43:34 +0000 (23:43 +1100)]
Change to hh:mm:ss dd:mm:yy counting (adds colon and extra small digits)

2 years agowip
Nick Downing [Thu, 24 Mar 2022 12:13:41 +0000 (23:13 +1100)]
wip

2 years agoImplement 17-segment LEDs for clock (but not turning on the extra segments yet)
Nick Downing [Thu, 24 Mar 2022 10:19:34 +0000 (21:19 +1100)]
Implement 17-segment LEDs for clock (but not turning on the extra segments yet)

2 years agoAdd board_clock_7seg project
Nick Downing [Thu, 24 Mar 2022 07:49:07 +0000 (18:49 +1100)]
Add board_clock_7seg project

2 years agoMerge pull request #441 from gatk555/timer
Michel Pollet [Mon, 9 Aug 2021 10:40:14 +0000 (11:40 +0100)]
Merge pull request #441 from gatk555/timer

Fix TOV/ICR handling, SEI delay - updated version

2 years agoMerge pull request #427 from gatk555/ioport
Michel Pollet [Mon, 9 Aug 2021 10:37:19 +0000 (11:37 +0100)]
Merge pull request #427 from gatk555/ioport

Ioport

2 years agoMerge branch 'upstream' into timer
ga [Wed, 28 Jul 2021 08:49:01 +0000 (09:49 +0100)]
Merge branch 'upstream' into timer

2 years agoMerge branch 'upstream' into ioport
ga [Wed, 28 Jul 2021 08:25:14 +0000 (09:25 +0100)]
Merge branch 'upstream' into ioport

2 years agoAccept review comments on PR #427 - data type and tabs/spaces.
ga [Wed, 28 Jul 2021 08:15:38 +0000 (09:15 +0100)]
Accept review comments on PR #427 - data type and tabs/spaces.

2 years agoMerge pull request #454 from dxxb/arduboy
Michel Pollet [Wed, 21 Jul 2021 12:15:23 +0000 (13:15 +0100)]
Merge pull request #454 from dxxb/arduboy

ssd1306: fully implement horizontal and vertical addressing modes

2 years agossd1306: fully implement horizontal and vertical addressing modes
Delio Brignoli [Wed, 7 Jul 2021 07:20:26 +0000 (09:20 +0200)]
ssd1306: fully implement horizontal and vertical addressing modes

2 years agoMerge pull request #430 from gin66/master
Michel Pollet [Thu, 3 Jun 2021 17:12:00 +0000 (18:12 +0100)]
Merge pull request #430 from gin66/master

fix timer foc behavior

2 years agofix identation error while space to tab conversion
Jochen Kiemes [Thu, 3 Jun 2021 16:22:48 +0000 (18:22 +0200)]
fix identation error while space to tab conversion

2 years agochange spaces to tab
Jochen Kiemes [Thu, 3 Jun 2021 16:18:50 +0000 (18:18 +0200)]
change spaces to tab

2 years agoMerge pull request #387 from purdeaandrei/patch-1
Michel Pollet [Thu, 3 Jun 2021 08:10:34 +0000 (09:10 +0100)]
Merge pull request #387 from purdeaandrei/patch-1

Fix error message

2 years agoMerge pull request #450 from taylorconor/macos_build
Michel Pollet [Thu, 3 Jun 2021 07:52:22 +0000 (08:52 +0100)]
Merge pull request #450 from taylorconor/macos_build

Fix macos build with versioned avr-gcc

2 years agoMerge pull request #447 from vintagepc/446-fix-multipart-ihex
Michel Pollet [Thu, 3 Jun 2021 07:49:12 +0000 (08:49 +0100)]
Merge pull request #447 from vintagepc/446-fix-multipart-ihex

Fix #446 - bug in multipart ihex

2 years agoMerge pull request #449 from taylorconor/sym_size
Michel Pollet [Thu, 3 Jun 2021 07:48:37 +0000 (08:48 +0100)]
Merge pull request #449 from taylorconor/sym_size

Add size property to avr_symbol_t

2 years agoFix macos build with versioned avr-gcc
Conor Taylor [Mon, 31 May 2021 18:45:38 +0000 (20:45 +0200)]
Fix macos build with versioned avr-gcc

2 years agoAdd size property to avr_symbol_t
Conor Taylor [Mon, 31 May 2021 18:00:40 +0000 (20:00 +0200)]
Add size property to avr_symbol_t

3 years agoFix #446 - bug in multipart ihex
vintagepc [Sun, 18 Apr 2021 21:46:57 +0000 (17:46 -0400)]
Fix #446 - bug in multipart ihex

3 years agoAdd "clear interrupt on write 1 to flag" function to avr_ioport.c
ga [Sat, 17 Apr 2021 08:15:49 +0000 (09:15 +0100)]
Add "clear interrupt on write 1 to flag" function to avr_ioport.c
and some code to test it in atmega168_ioport.c and friend.

3 years agoMerge branch 'fix-irq-handling' of https://github.com/vintagepc/simavr
ga [Mon, 22 Mar 2021 18:27:24 +0000 (18:27 +0000)]
Merge branch 'fix-irq-handling' of https://github.com/vintagepc/simavr
Upstream pull request #415: Fix TOV/ICR handling, SEI delay
with corrections to timer code and addition of minimal test code.

3 years agods1338L: Fix a logic bug
Michel Pollet [Thu, 1 Apr 2021 20:36:05 +0000 (21:36 +0100)]
ds1338L: Fix a logic bug

Used a boolean not instead of a binary one.

Signed-off-by: Michel Pollet <buserror@gmail.com>
3 years agoMerge pull request #439 from gatk555/hardware
Michel Pollet [Thu, 1 Apr 2021 18:36:39 +0000 (19:36 +0100)]
Merge pull request #439 from gatk555/hardware

Two "hardware" changes

3 years agoMerge pull request #431 from kittennbfive/patch-1
Michel Pollet [Thu, 1 Apr 2021 18:33:44 +0000 (19:33 +0100)]
Merge pull request #431 from kittennbfive/patch-1

megax4: fix INT2 pin

3 years agoMerge pull request #428 from gatk555/build
Michel Pollet [Thu, 1 Apr 2021 18:31:38 +0000 (19:31 +0100)]
Merge pull request #428 from gatk555/build

Link libsimavr.so with needed libraries.

3 years agoMerge pull request #425 from gatk555/warnings
Michel Pollet [Thu, 1 Apr 2021 18:29:36 +0000 (19:29 +0100)]
Merge pull request #425 from gatk555/warnings

Add casts to suppress warnings from gcc 8.3.0.

3 years agoMerge pull request #424 from gatk555/adc
Michel Pollet [Thu, 1 Apr 2021 18:28:53 +0000 (19:28 +0100)]
Merge pull request #424 from gatk555/adc

Implement the BIN and IPR bits for attinyX5 and change the ADC sample timing …

3 years agoMerge pull request #418 from sanjaymsh/ppc64le
Michel Pollet [Thu, 1 Apr 2021 18:28:02 +0000 (19:28 +0100)]
Merge pull request #418 from sanjaymsh/ppc64le

Travis-ci:added support for ppc64le

3 years agoMake the 2560 PORTE/0 pin change interrupt visible as it mostly works.
ga [Sat, 27 Mar 2021 12:29:51 +0000 (12:29 +0000)]
Make the 2560 PORTE/0 pin change interrupt visible as it mostly works.
Add the missing pin change interrupts for 1280 and 1281.

In avr_ioport.[ch], fix multiple causes (but not all) of
mis-triggering of pin change interrupts including upstream issue #343:
Pin change interrupts incorrectly fire when a timer compare event occurs.
Other causes are initial setting of DDR and the AVR_IOPORT_OUTPUT bit.

Move the mask and shift data for ATmega2560 into the ioport structure.

Add a test for pin change interrupts.

3 years agoFixes for ATmega2560 and friend:
ga [Tue, 23 Mar 2021 21:20:56 +0000 (21:20 +0000)]
Fixes for ATmega2560 and friend:
  enable pin change interrupts on PORTK;
  conditionally enable pin change interrupts on PORTE/0 - shared with PORTJ;
  run the ACOMP initialisation function;
  add close relative ATmega2561.

3 years agoMerge branch 'master' of https://github.com/thelazt/simavr
ga [Mon, 22 Mar 2021 18:55:43 +0000 (18:55 +0000)]
Merge branch 'master' of https://github.com/thelazt/simavr
Upstream pull request #353: Add support for ATmega328PB.

3 years agoPatch offered in upstream issue #339 (from djfd):
ga [Mon, 22 Mar 2021 21:09:54 +0000 (21:09 +0000)]
Patch offered in upstream issue #339 (from djfd):
Wrong ADC definition at-tiny-24

3 years agoCorrect test failue caused by previous change: Do not set filter flag
ga [Sat, 13 Feb 2021 14:34:28 +0000 (14:34 +0000)]
Correct test failue caused by previous change: Do not set filter flag
as handlers for IOPORT_IRQ_REG_PIN ...
(bad35c24b7456ad5a0e446cff7066680dfaff42e).

3 years agoDo not set filter flag as handlers for IOPORT_IRQ_REG_PIN should be
ga [Tue, 9 Feb 2021 21:26:36 +0000 (21:26 +0000)]
Do not set filter flag as handlers for IOPORT_IRQ_REG_PIN should be
called on every read of the port pins, so they can set new values.

3 years agotest to fix foc causing erroneous interrupt
Jochen Kiemes [Fri, 5 Feb 2021 23:38:06 +0000 (00:38 +0100)]
test to fix foc causing erroneous interrupt

3 years agoalso adjust needed alias / define
kittennbfive [Fri, 5 Feb 2021 19:31:34 +0000 (19:31 +0000)]
also adjust needed alias / define

3 years agofix INT2 pin
kittennbfive [Fri, 5 Feb 2021 19:23:28 +0000 (19:23 +0000)]
fix INT2 pin

according to datasheet, tested with some code that works on real device (1284P)

3 years agoHandle writing a one bit to the interrupt flag, ADIF.
ga [Mon, 25 Jan 2021 19:20:32 +0000 (19:20 +0000)]
Handle writing a one bit to the interrupt flag, ADIF.

3 years agoClarify comment.
ga [Mon, 25 Jan 2021 19:26:22 +0000 (19:26 +0000)]
Clarify comment.

3 years agoLink libsimavr.so with needed libraries. That is the usual way and allows
ga [Mon, 25 Jan 2021 19:08:32 +0000 (19:08 +0000)]
Link libsimavr.so with needed libraries.  That is the usual way and allows
it to be easily loaded by dlopen().

3 years agoAdd a test for basic port functions and fix problems found.
ga [Sat, 23 Jan 2021 13:15:17 +0000 (13:15 +0000)]
Add a test for basic port functions and fix problems found.
avr_extint.c: prevent spurious interrupts.
avr_ioport.c: allow calling program to control value read from PIN.

3 years agoAdd casts to suppress warnings from gcc 8.3.0.
ga [Thu, 21 Jan 2021 15:38:05 +0000 (15:38 +0000)]
Add casts to suppress warnings from gcc 8.3.0.

3 years agoImplement the BIN and IPR bits for attinyX5 and change the ADC sample timing
ga [Thu, 21 Jan 2021 15:30:19 +0000 (15:30 +0000)]
Implement the BIN and IPR bits for attinyX5 and change the ADC sample timing
to roughly match the datasheet.  Add a test.  Those MCUs have no UART, so
test.c and test.h have changes to use an alternative method.

3 years agofix compile error
Jochen Kiemes [Mon, 11 Jan 2021 22:53:05 +0000 (23:53 +0100)]
fix compile error

3 years agofix foc and interrupt clear for timer
Jochen Kiemes [Mon, 11 Jan 2021 16:32:27 +0000 (17:32 +0100)]
fix foc and interrupt clear for timer

3 years agoMerge branch 'master' of github.com:MikePlayle/simavr
Jochen Kiemes [Mon, 11 Jan 2021 12:30:03 +0000 (13:30 +0100)]
Merge branch 'master' of github.com:MikePlayle/simavr

3 years agoTravis-ci:added support for ppc64le
sanjay-cpu [Fri, 11 Dec 2020 14:56:55 +0000 (14:56 +0000)]
Travis-ci:added support for ppc64le

3 years agoMerge pull request #401 from vintagepc/Fix-TWI-status-delay
Michel Pollet [Tue, 13 Oct 2020 19:05:39 +0000 (20:05 +0100)]
Merge pull request #401 from vintagepc/Fix-TWI-status-delay

Fix high speed TWI delay calcs and ACK bug (#137)

3 years agoMerge pull request #413 from bsekisser/sim_regbit_clear_check_valid_reg
Michel Pollet [Tue, 13 Oct 2020 13:29:33 +0000 (14:29 +0100)]
Merge pull request #413 from bsekisser/sim_regbit_clear_check_valid_reg

Remove kludge "avr_uart_regbit_clear" from uart

3 years agoMerge pull request #410 from akosthekiss/make-tests
Michel Pollet [Tue, 13 Oct 2020 13:28:28 +0000 (14:28 +0100)]
Merge pull request #410 from akosthekiss/make-tests

Test-related maintenance

3 years agoMerge pull request #412 from bsekisser/avr_regbit_h_file_format_corrections
Michel Pollet [Tue, 13 Oct 2020 12:29:47 +0000 (13:29 +0100)]
Merge pull request #412 from bsekisser/avr_regbit_h_file_format_corrections

Formatting and style corrections to avr_regbit.h

3 years agoMerge pull request #411 from bsekisser/uart_raise_udr_raised_with_tx_enable
Michel Pollet [Tue, 13 Oct 2020 12:26:51 +0000 (13:26 +0100)]
Merge pull request #411 from bsekisser/uart_raise_udr_raised_with_tx_enable

Set udre flag when (re)enabling uart transmitter.

3 years agoMerge pull request #407 from akosthekiss/gitignore-maintenance
Michel Pollet [Tue, 13 Oct 2020 12:24:31 +0000 (13:24 +0100)]
Merge pull request #407 from akosthekiss/gitignore-maintenance

List git-ignored executables in one place

3 years agoMerge pull request #405 from akosthekiss/update-fix-manual
Michel Pollet [Tue, 13 Oct 2020 12:19:51 +0000 (13:19 +0100)]
Merge pull request #405 from akosthekiss/update-fix-manual

Update/fix manual

3 years agoMerge pull request #396 from akosthekiss/makecommon-avrgcc-verbose
Michel Pollet [Tue, 13 Oct 2020 12:18:38 +0000 (13:18 +0100)]
Merge pull request #396 from akosthekiss/makecommon-avrgcc-verbose

Ensure that verbosity is applied in avr-gcc recipes

3 years agoMerge pull request #397 from akosthekiss/remove-exec
Michel Pollet [Tue, 13 Oct 2020 12:16:42 +0000 (13:16 +0100)]
Merge pull request #397 from akosthekiss/remove-exec

Remove execute permission from source and header files

3 years agoMerge pull request #409 from akosthekiss/button-release
Michel Pollet [Tue, 13 Oct 2020 12:15:41 +0000 (13:15 +0100)]
Merge pull request #409 from akosthekiss/button-release

Add support for non-auto release to button

3 years agofixup
bsekisser [Mon, 12 Oct 2020 21:17:49 +0000 (17:17 -0400)]
fixup

3 years agoRemove kludge "avr_uart_regbit_clear" from uart
bsekisser [Mon, 12 Oct 2020 19:07:42 +0000 (15:07 -0400)]
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.

3 years agoFormatting and style corrections to avr_regbit.h
bsekisser [Mon, 12 Oct 2020 20:39:08 +0000 (16:39 -0400)]
Formatting and style corrections to avr_regbit.h

3 years agoSet udre flag when (re)enabling uart transmitter.
bsekisser [Sat, 10 Oct 2020 21:40:59 +0000 (17:40 -0400)]
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.

3 years agoTest-related maintenance
Akos Kiss [Sat, 10 Oct 2020 20:54:36 +0000 (22:54 +0200)]
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

3 years agoAdd support for non-auto release to button
Akos Kiss [Sat, 10 Oct 2020 19:45:04 +0000 (21:45 +0200)]
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.

3 years agoList git-ignored executables in one place
Akos Kiss [Tue, 6 Oct 2020 13:25:19 +0000 (15:25 +0200)]
List git-ignored executables in one place

3 years agoUpdate/fix manual
Akos Kiss [Mon, 5 Oct 2020 14:21:51 +0000 (16:21 +0200)]
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.

3 years agoPartial for TWI fixes (#137)
vintagepc [Mon, 28 Sep 2020 22:04:10 +0000 (18:04 -0400)]
Partial for TWI fixes (#137)

3 years agoRemove execute permission from source and header files
Akos Kiss [Sat, 12 Sep 2020 21:59:18 +0000 (23:59 +0200)]
Remove execute permission from source and header files

3 years agoEnsure that verbosity is applied in avr-gcc recipes
Akos Kiss [Sat, 12 Sep 2020 21:44:52 +0000 (23:44 +0200)]
Ensure that verbosity is applied in avr-gcc recipes

3 years agoMerge pull request #393 from vintagepc/Timer_PWM2
Michel Pollet [Mon, 31 Aug 2020 08:44:46 +0000 (09:44 +0100)]
Merge pull request #393 from vintagepc/Timer_PWM2

Support 3rd PWM pin on timers with OCRxC

3 years agoMerge pull request #392 from vintagepc/SPI-clock-rates
Michel Pollet [Wed, 5 Aug 2020 09:25:51 +0000 (10:25 +0100)]
Merge pull request #392 from vintagepc/SPI-clock-rates

Clock out SPI data according to SPCR/SPSR

3 years agoSupport 3rd PWM pin on timers with OCRxC
vintagepc [Wed, 5 Aug 2020 01:54:08 +0000 (21:54 -0400)]
Support 3rd PWM pin on timers with OCRxC

3 years agoRequested changes
vintagepc [Tue, 4 Aug 2020 12:28:07 +0000 (08:28 -0400)]
Requested changes

3 years agoClock out SPI data according to SPCR/SPSR
vintagepc [Mon, 3 Aug 2020 23:14:54 +0000 (19:14 -0400)]
Clock out SPI data according to SPCR/SPSR

3 years agoMerge pull request #390 from vintagepc/unaligned-PCINTs
Michel Pollet [Mon, 3 Aug 2020 10:15:54 +0000 (11:15 +0100)]
Merge pull request #390 from vintagepc/unaligned-PCINTs

Support for non-aligned PCINTs

3 years agoMerge pull request #389 from vintagepc/fix-adcs-over-7
Michel Pollet [Mon, 3 Aug 2020 09:30:13 +0000 (10:30 +0100)]
Merge pull request #389 from vintagepc/fix-adcs-over-7

Fix ADCs>7

3 years agoFix PCINT on PORTJ for 2560
vintagepc [Sat, 18 Jul 2020 20:46:02 +0000 (16:46 -0400)]
Fix PCINT on PORTJ for 2560

3 years agoFix ADCs>7
vintagepc [Mon, 20 Apr 2020 17:58:28 +0000 (13:58 -0400)]
Fix ADCs>7

3 years agoFix error message
Purdea Andrei [Sun, 12 Jul 2020 22:40:13 +0000 (01:40 +0300)]
Fix error message

3 years agoMerge pull request #384 from msquirogac/fix-370
Michel Pollet [Tue, 30 Jun 2020 16:35:51 +0000 (17:35 +0100)]
Merge pull request #384 from msquirogac/fix-370

Support for GDB monitor commands

3 years agoTweaked spacing from PR
Michel Pollet [Tue, 30 Jun 2020 16:34:33 +0000 (17:34 +0100)]
Tweaked spacing from PR

3 years agogdb monitor command clean-up
msquirogac [Sat, 20 Jun 2020 22:45:50 +0000 (18:45 -0400)]
gdb monitor command clean-up

3 years agonew gdb commands kill, detach and monitor
msquirogac [Sat, 20 Jun 2020 22:39:37 +0000 (18:39 -0400)]
new gdb commands kill, detach and monitor
monitor parser engine supports reset and halt

3 years agoMerge pull request #319 from uffejakobsen/uart_tap_symlink
Michel Pollet [Thu, 28 May 2020 16:55:45 +0000 (17:55 +0100)]
Merge pull request #319 from uffejakobsen/uart_tap_symlink

Symlink for UART tap was never created during uart_pty_connect()

3 years agoMerge pull request #377 from msquirogac/fix-375
Michel Pollet [Thu, 28 May 2020 09:18:11 +0000 (10:18 +0100)]
Merge pull request #377 from msquirogac/fix-375

Update of the display_usage function.

3 years agoMerge pull request #379 from msquirogac/fix-378
Michel Pollet [Thu, 28 May 2020 09:17:44 +0000 (10:17 +0100)]
Merge pull request #379 from msquirogac/fix-378

used attribute for _MMCU_ , should avoid dropping the .mmcu section

3 years agoused attribute for _MMCU_ , should avoid dropping the .mmcu section
msquirogac [Sat, 23 May 2020 01:38:51 +0000 (21:38 -0400)]
used attribute for _MMCU_ , should avoid dropping the .mmcu section
Fix for issue #285

3 years agoUpdate of the display_usage function.
msquirogac [Mon, 25 May 2020 16:27:34 +0000 (12:27 -0400)]
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

3 years agoMerge pull request #373 from simark/sram
Michel Pollet [Wed, 27 May 2020 15:50:16 +0000 (16:50 +0100)]
Merge pull request #373 from simark/sram

Compare address with I/O end address in _avr_set_ram

3 years agoCompare address with I/O end address in _avr_set_ram
Simon Marchi [Fri, 22 May 2020 16:55:10 +0000 (12:55 -0400)]
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

4 years agoMerge pull request #361 from aldobrrrr/is-instruction-32-bits-mask-fix
Michel Pollet [Sun, 16 Feb 2020 17:03:23 +0000 (17:03 +0000)]
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.

4 years agoMerge pull request #366 from becmer/musl-tests
Michel Pollet [Sun, 16 Feb 2020 17:02:55 +0000 (17:02 +0000)]
Merge pull request #366 from becmer/musl-tests

Don't assign stderr on non-glibc

4 years agoDon't assign stderr on non-glibc
Kamil Becmer [Sat, 15 Feb 2020 16:17:52 +0000 (17:17 +0100)]
Don't assign stderr on non-glibc

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

Add support for debugging with LLDB

4 years agoAdd support for debugging with LLDB
Ayke van Laethem [Tue, 4 Feb 2020 12:02:22 +0000 (13:02 +0100)]
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.