libsigrok/hardware
Marek Vasut fd830beb67 asix-sigma: Remove stack-based alloc in download_capture()
Avoid allocating 32KiB of data on stack in download_capture(). Instead,
do a glib-variant of calloc(1, ) to allocate the data for the samples
which will be downloaded. This avoids explosions of stack on systems
with tight stack limits.

Furthermore, define structures describing the organisation of Sigma's
DRAM memory and start using those instead of ad-hoc preprocessor macros
defining the sizes of various structures in memory.

Signed-off-by: Marek Vasut <marex@denx.de>
2014-04-30 09:45:51 -07:00
..
agilent-dmm Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
appa-55ii sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
asix-sigma asix-sigma: Remove stack-based alloc in download_capture() 2014-04-30 09:45:51 -07:00
atten-pps3xxx Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
brymen-bm86x Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
brymen-dmm sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
cem-dt-885x Various drivers: Drop some unneeded lines. 2014-03-30 18:06:45 +02:00
center-3xx Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
chronovu-la chronovu-la: Show errors other than "device not found". 2014-04-13 18:57:53 +02:00
colead-slm Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
common scpi_usbtmc_libusb: disable all clear_halt for Rigol DS1000 2014-04-06 22:47:44 +02:00
conrad-digi-35-cpu sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
demo demo: Fix typos. 2014-03-30 18:06:54 +02:00
fluke-dmm Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
fx2lafw fx2lafw: Don't send more samples than requested. 2014-04-24 21:04:23 +02:00
gmc-mh-1x-2x sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
hameg-hmo hameg-hmo: Change some PG_/pg_ names to CG_/cg_. 2014-03-25 21:02:05 +01:00
hantek-dso Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
ikalogic-scanalogic2 Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
ikalogic-scanaplus Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
kecheng-kc-330b Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
lascar-el-usb Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
link-mso19 Various drivers: Expose SR_CONF_TRIGGER_TYPE. 2014-04-02 17:20:10 +02:00
mic-985xx sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
norma-dmm Various drivers: Drop some unneeded lines. 2014-03-30 18:06:45 +02:00
openbench-logic-sniffer ols: Allow disabling all channels. 2014-04-21 14:46:49 +02:00
rigol-ds rigol-ds: fix long memory depth setting on DS1000 2014-04-06 22:47:44 +02:00
saleae-logic16 Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
serial-dmm sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
sysclk-lwla Rename a few more API calls with 'probe' in their name. 2014-03-25 20:58:54 +01:00
teleinfo sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting. 2014-04-13 18:57:54 +02:00
tondaj-sl-814 Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
uni-t-dmm Various drivers: Drop some unneeded lines. 2014-03-30 18:06:45 +02:00
uni-t-ut32x Various drivers: Drop some unneeded lines. 2014-03-30 18:06:45 +02:00
victor-dmm Rename various *PROBE* macros to *CHANNEL*. 2014-03-25 20:58:54 +01:00
zeroplus-logic-cube Various drivers: Expose SR_CONF_TRIGGER_TYPE. 2014-04-02 17:20:10 +02:00