aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/apps/cardem
AgeCommit message (Collapse)AuthorFilesLines
2018-07-29cardem: increase watchdog to 2 secondsKévin Redon1-2/+2
a lot of the procedures are done in ISRs, but the watchdog is only reset in the main loop. this causes frequent reset, particularly at the beginning were states have to the initialized. Change-Id: Iad364444fca9d18f9a8cf47d5e0840ccd7bac2ef
2018-07-29cardem: show detailed reset causeKévin Redon1-1/+15
this helps detecting when a reset was due to the watchdog Change-Id: I2d59c2f2c8fe9e559eddfafacf25879263ef81ff
2018-07-11replace leading spaces with tabsKévin Redon1-1/+1
Change-Id: I86783eba0827b58303b10310e9f6b9625e1a27f1
2018-07-11firmware: set license to GPLv2+Kévin Redon1-1/+18
Change-Id: Id4c00159f984976b6d8641900fb64e36a3a30407
2018-07-03echo all command characters entered on serial consoleHarald Welte1-0/+2
This is required to make python pexpect.fdexpect happy, as it requires that all characters are echo-ed back in order to detect when the output of a given command starts. Change-Id: I73b24e43f6c8b86a2766aba67d8307c184448aa0
2018-06-29Use system include <foo.h> notation for libosmocore headersHarald Welte1-1/+1
the curent local copies of libosmocore headers + source is a temporary hack anyway. We should instead rely on a system-wide install of libosmocore cross-compiled for arm-none-eabi. But leave that as a second (later) step beyond this patch. Change-Id: Ia63fd842d45a2b404233b4326050e7eda0604cf0
2017-11-28rename ccid.c to mode_ccid.c to align with mode_cardemu.cHarald Welte1-1/+1
2017-11-28cardem: Don't dispatch UART IRQs to possible NULL pointersHarald Welte1-2/+4
A given configuration might not expose callback functions for the UART interrupts.
2017-11-28Make build of CCID code succeed again on BOARD=simtraceHarald Welte1-1/+1
2017-05-07migrate from req_ctx to msgbHarald Welte2-4/+1
We now generalize the USB communiction and abandon the 'req_ctx' structure inherited from openpcd. Instead we use the libosmocore 'msgb' structure to handle incoming and outgoing USB tranfers. We also use linuxlist-based msgb-queues for each endpoint.
2017-03-06LED: Introduce LED blinking pattern codeHarald Welte1-5/+2
It might be useful to display some different blinking patterns to indicate specific system state (such as DFU mode vs. regular firmware)
2017-03-06qmod: Use different Interface Strings for Modem1+2 / Modem 3+4Harald Welte1-2/+4
This makes it obvious in 'lsusb' and to other software on the USB host which interface is for which of the modems.
2017-03-05Generate USB Strings from apps/*/usb_strings.txt files at compile timeHarald Welte1-0/+8
This way we can skip the manually-crafted USB string definitions in the dfu_desc.c and usb.c files.
2017-03-03Make sure to print CPU Reset Cause when starting the softwareHarald Welte1-0/+2
2017-03-03Enable Watchdog (500ms)Harald Welte1-2/+5
2017-03-03Call USBD_Disconnect before software-triggered CPU resetHarald Welte1-0/+1
This makes sure that we'll re-enumerate on the USB, as a CPU reset apparently doesn't automatically release the pull-up and notify the hub that we were gone?
2017-03-03change from \r\n (CRLF) to \n\r (LFCR)Harald Welte1-12/+12
For some strange reason my output is garbled in both the 'screen' and 'cu' teerminal programs and 'raw' terminal (stty) mode. I fail to understand why, but let's simply adjust the code as needed for now.
2017-02-27fix some compiler warningsHarald Welte1-1/+1
2017-02-27Structure build system to build for multiple boards/apps/environmentsHarald Welte2-0/+210