1313 Commits

Author SHA1 Message Date
Jason Kotzin
f62c9db5af Merge commit 'd4d24c256c2c9a858ae6fc134ee34ba03cb65565' into sam-update 2022-08-01 19:21:49 -07:00
Jason Kotzin
1ba83f3283 Merge commit '17b817f37bca85c9b469470742ecdeedf02f7b3e' into sam-update 2022-08-01 19:21:27 -07:00
Jason Kotzin
c33a447210 Merge commit '9e365a58f77a9096b0203a5f012bb7bfb08fbc95' into sam-update 2022-08-01 19:21:10 -07:00
Jason Kotzin
81fafae68d Merge commit '44fc24e0e747293fa05b62ed7439501553829b0b' into sam-update 2022-08-01 19:20:52 -07:00
Jason Kotzin
447bdc50a0 Merge commit '66e357d51762f3bf93b549a5626554b2f8de4379' into sam-update
# Conflicts:
#	src/target/adiv5.c
2022-08-01 19:20:32 -07:00
Jason Kotzin
b91712214f Merge commit '1799ea3b7102ac1e2a86d78cdbde0f5b809b0be1' into sam-update 2022-08-01 19:03:03 -07:00
Jason Kotzin
5574a14aee Merge commit 'b7a59afc5920caf1e83cd470aee67f665d0e7197' into sam-update 2022-08-01 19:01:41 -07:00
Jason Kotzin
a82ab6a45d Merge commit '80f003ff4b6edc9d0d2b98b4ca65d610d86efc74' into sam-update 2022-08-01 19:01:18 -07:00
Jason Kotzin
40ea78d57b Merge commit '48d232807ee6096bfa839d91b1708252db0e1a59' into sam-update 2022-08-01 18:59:50 -07:00
Jason Kotzin
eab16ef39f Merge commit '0f2f1d74a2446275ee31ed582f1f4d98dff24d61' into sam-update 2022-08-01 18:57:07 -07:00
Jason Kotzin
da701aff6d Merge commit '455e0a74d2a77f2ae1f0acf53b778e41b890523e' into sam-update 2022-08-01 18:56:50 -07:00
Jason Kotzin
aece87bf3e Merge commit 'cfaa5ea9633fb8719da9455f6c04908810395abe' into sam-update 2022-08-01 18:54:48 -07:00
Jason Kotzin
2931169dd1 Merge commit '0c659f49cd03c7154bfb92c621df523aa8540f72' into sam-update 2022-08-01 18:52:34 -07:00
Jason Kotzin
95655b838e Merge commit '231d42d58172a2169d99c6e618192ac0d514d3b9' into sam-update 2022-08-01 18:50:19 -07:00
Jason Kotzin
1846795844 Merge commit '19e58a7205e2dfe849b5ac42e470ff489e4ab10d' into sam-update 2022-08-01 18:36:22 -07:00
Jason Kotzin
76c2f5e39c Merge commit 'eb46994bc95ba308f8eb96d42366abbdae7c5ab7' into sam-update 2022-08-01 18:35:43 -07:00
Jason Kotzin
51f2b79437 Merge commit '1ee1f441d581b6473526a4870f4c3aa201a18af6' into sam-update 2022-08-01 18:34:34 -07:00
Jason Kotzin
02eafe9883 Merge commit 'c7bc51d1919bce00c341b2b2e1e617adcf189be9' into sam-update 2022-08-01 18:33:40 -07:00
Jason Kotzin
05a42576c2 Merge commit 'a4bb2c6e3ea8404641325638a040e3295b7afe30' into sam-update 2022-08-01 18:33:13 -07:00
Jason Kotzin
39949eefe2 Merge commit 'fd467269eb82783c09a69763c46df4de2d494ef4' into sam-update 2022-08-01 18:32:42 -07:00
Jason Kotzin
d7afc92b5f Merge commit '539d9e14ec553c77b2c3387b4719d8f07401d6a7' into sam-update 2022-08-01 18:32:18 -07:00
Jason Kotzin
44b5eed7ca Merge commit '261be9864c8ce77c857a996784ac65ed3203b03a' into sam-update 2022-08-01 18:31:34 -07:00
Jason Kotzin
4346fb2405 Merge commit '98a4f8e31872d3f72e47aba8b01a167503144c1e' into sam-update 2022-08-01 18:31:06 -07:00
Jason Kotzin
9c95dfb712 adding adiv5 support 2022-08-01 17:45:49 -07:00
Jason Kotzin
f99fe59ce8 updating libopencm3 with samd i2c support 2022-08-01 17:45:30 -07:00
Jason Kotzin
a6f9701368 Adding schematic, use adobe, has a 3D step built in v1.6.3 2021-08-15 22:22:09 -07:00
Jason Kotzin
237d6b89f6 Updating Readme 2021-08-15 22:18:41 -07:00
Jason Kotzin
2b89a07dae samd: adding bootprotect and unlock commands 2021-08-15 21:50:54 -07:00
Koen De Vleeschauwer
541861e978 traceswo decoding 2020-05-16 15:04:35 +02:00
Koen De Vleeschauwer
54ee00b0f6 set semihosting sys_clock time origin 2020-05-13 17:50:39 +02:00
Uwe Bonnes
499309f648 stm32f1: Tell user about STM32F10(3) clone. 2020-05-13 13:07:55 +02:00
Alexey Shvetsov
1a83bc6892
Rename variant_string in efm32 samd samx5x (#659)
* Rename variant_string

Files efm32 samd samx5x uses same function name that collides during
linking (checked with gcc10)

Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>

* Also make xxx_variant_string static

Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>
2020-05-12 17:47:04 +02:00
Alexey 'Alexxy' Shvetsov
805464db23 Fix redefinition of io function
Now it should work fine with any gcc version. Old one produces error
like in #657

Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>
2020-05-10 10:58:03 +02:00
Uwe Bonnes
9b939f4a3a stm32f4: Fix option byte handling (#654)
Option bytes are not accessible with level 1 protection, so
Use FLASH_OPTCR(x)
Fix crash with "mon opt write xxxx"
Handle option manipulation better when HW Watchdog fuse is set
Allow abbreviated "mon option x<yyy>" commands
2020-05-05 12:52:32 +02:00
Sid Price
923949d5dd Fixed variable/function name clash building on Windows 2020-05-03 15:45:31 +02:00
Koen De Vleeschauwer
9f8c7be360 semihosting 2020-05-02 12:55:29 +02:00
Vegard Storheil Eriksen
d63e870e82 cdcacm: Fix UART interface OUT endpoint MPS in descriptor.
3e3e450 reduced the buffer size for the UART interface OUT endpoint to
32B, but left wMaxPacketSize at 64B. This effectively configures the
hardware to receive packets up to 32B in size while telling the host it
can send larger packets. On reception of a larger packet, the usb core
treats it as an error, drops the packet and replies with a STALL
handshake.

This commit fixes the issue by updating the descriptor to match the
buffer configuration.

Fixes #538
2020-05-01 12:39:40 +02:00
Uwe Bonnes
08bb4d5775 pc-hosted: Make JTAG work. 2020-04-27 20:30:51 +02:00
Koen De Vleeschauwer
8851504a41 new semihosting commands 2020-04-23 09:43:46 +02:00
Uwe Bonnes
ada17ada23 stm32f4/7: Always use largest flashsize for device family (#633, #635, #644)
Do not care for the FLASHSIZE register. Leave it up to the user to abuse
flash area the ST did not announce.
2020-04-21 17:04:07 +02:00
Pieter du Preez
d55cea871d Fixed overrun and formatting, when dumping data in swolisten.
The swolisten program failed to print the cbw buffer correctly while
in dump mode. As printf() is used to print the dump, it is expected
that the cbw buffer is zero-terminated, which would only be
the case, if the cbw buffer is initialized with zeros, before filling it
with new data. One could set the entire cbw buffer to zero, but it
will be more efficient to only set the size-th byte to zero.

Furthermore, if a '%' character appears in the data, printf() will
attempt to format it, causing unexpected results.

This patch fixes the above 2 problems, by:

1. using the size variable to set the size-th byte of the cbw
buffer to zero, before passing it to printf().

2. calling printf() with a "%s" formatting string, followed by the
data buffer, cbw.
2020-04-20 00:19:30 +02:00
Uwe Bonnes
164eb43f00 NRF5: Do not reset target options. 2020-04-14 19:01:43 +02:00
Uwe Bonnes
bea8436561 NRF5: Always set CORTEXM_TOPT_INHIBIT_SRST(#230)
The problem also happens with NRF52840. Set CORTEXM_TOPT_INHIBIT_SRST
for all NRF5 device.
People should be more persistent!
2020-04-14 18:11:23 +02:00
mean
d1468530bd add basic support for LPC11U68 (and maybe LPC11U68) 2020-04-06 23:36:49 +02:00
Francesco Valla
846dadcc39 lmi: add support for TM4C1294NCPDT 2020-04-03 19:42:24 +02:00
Uwe Bonnes
58a8571d5b stlink: Print Target voltage
This adds about 600 bytes.
2020-04-03 16:19:20 +02:00
Francesco Valla
8a9980cd06 pc/serial_unix: bump device path buffer size to 4096 bytes
Since dp->d_name can be up to 255 bytes long and the 'name' buffer variable is
is a superset of it, bump the size of the latter to 4096 bytes (correspoding
to PATH_MAX on Linux systems).
2020-04-03 11:05:11 +02:00
Uwe Bonnes
b4ab9f328e pc-hosted: Put serial handling in own files for unix and implement for windows.
- If host provided /dev/serial/by-id, device must not be given and
  multiple devices may be selected with -s <(partial) serial number>
- On windows, device must by specifies with -d
2020-03-31 17:02:56 +02:00
Uwe Bonnes
18ae2bb50d cl_utils.c: Include <windows.h> for windows builds that work on files. 2020-03-31 17:02:56 +02:00
Uwe Bonnes
1a0cee4e9d pc-hosted: Clean up Makefile.inc. 2020-03-31 17:02:56 +02:00