commit | e42492971e130b4c03229f6b818a9b1183f1ff36 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Fri Mar 13 15:28:40 2020 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Fri Mar 13 15:28:40 2020 +0100 |
tree | 41436efad1834044953e96489c74dc0b50ae90ef | |
parent | a625ef0d9b81cc90b31308a0c9c549909515c6c8 [diff] |
pio_it.c: Permit repeated calls to PIO_ConfigureIt() The original code assumes that calls to PIO_ConfigureIt() are only made once e.g. during board start-up. Hoewever, we call those at USB SetConfiguration time, when we know which particular hardware function we are supposed to perform. This means that after the host has issued SetConfiguration more than a given number of times, the code will assert() due to overflow of the static array. Let's check if we already have allocated an array slot for a given pin and reuse that allocated array bucket rather than allocating new ones for the same pin. Change-Id: I0c46d4b51eeebd58a8786d65e31e7a84e65b6a8e Related: OS#4454
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
This is under heavy development, and right now it is not surprising if things still break on a daily basis.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
At this point, the primary development target is still the OWHW + sysmoQMOD device, but we expect to add support for a SAM3 based SIMtrace hardware board soon.
The goal is to support the following devices:
This repository contains several directory