Uwe Hermann
c2bd92ec08
Slightly more consistent #include-guard naming.
2011-01-15 14:48:21 +01:00
Bert Vermeulen
925dbf9f97
add new HWCAP patternmode
2011-01-15 05:11:40 +01:00
Bert Vermeulen
13a1291350
fully implement input_binary module
2011-01-11 23:59:33 +01:00
Bert Vermeulen
74b9b43836
cli: support --continuous option for continuous sampling
2011-01-11 00:38:15 +01:00
Daniel Ribeiro
2566bd4884
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
2011-01-10 15:58:05 -02:00
Daniel Ribeiro
3677f3ec3f
Add HZ_TO_NS macro
2011-01-10 15:14:26 -02:00
Daniel Ribeiro
921e753f7e
Support for analog probes
...
Add a field to the probe struct to store the probe type.
Change DF_HEADER to report the quantity of each type of probe.
2011-01-10 15:08:43 -02:00
Bert Vermeulen
882e2075bb
finish split of sigrok.h
2011-01-10 13:47:24 +01:00
Bert Vermeulen
1437e8934b
add DF_ANALOG, and an analog output module
...
Samples in DF_ANALOG packets are fixed in length to sizeof(double).
2011-01-10 05:13:46 +01:00
Bert Vermeulen
f0411b1d17
output modules now register the DF type they can use
2011-01-09 23:23:56 +01:00
Daniel Ribeiro
8d67255061
Add a per-instance pointer storage for hardware plugins.
...
We need this to properly support more than one device connected
at the same time.
2011-01-09 03:50:45 -02:00
Daniel Ribeiro
dfa4b731da
Add ARRAY_AND_SIZE macro
...
Just a handy macro
2011-01-09 03:48:39 -02:00
Bert Vermeulen
4c046c6bcc
change all DF_LOGIC* to a single DF_LOGIC type
...
The datafeed packet has a new field 'unitsize' to denote the number of
bytes per sample in the payload.
2011-01-09 06:32:38 +01:00
Bert Vermeulen
2a3f9541a4
add sigrok_period_string(), MAX_NUM_PROBES
2011-01-08 15:50:13 +01:00
Uwe Hermann
757b8c628a
Cosmetics, whitespace, simplifications.
...
Reduce code nesting a bit, constify some strings.
2011-01-08 01:49:47 +01:00
Bert Vermeulen
339729131d
proper fix for output_text corner cases
...
limit probe names to 32 chars
2010-12-29 01:22:58 +01:00
Bert Vermeulen
f0551a6543
oops, fix serial_flush()
2010-08-12 06:04:44 +02:00
Bert Vermeulen
e1aac2319a
increase length of datafeed packets to uint64_t
2010-08-12 05:49:00 +02:00
Bert Vermeulen
a803c0db4d
OLS: fix triggers, sample order, capture ratio
2010-08-05 03:54:33 +02:00
Uwe Hermann
49d0ce50d0
Simplifications and small fixes.
2010-05-20 23:41:35 +02:00
Uwe Hermann
9a5c6dcf49
Factor out opendev2/opendev3.
2010-05-18 00:05:10 +02:00
Uwe Hermann
2aebf78d9d
datastore_new(): Use int as return value.
2010-05-09 22:06:27 +02:00
Uwe Hermann
33247d6acf
Datastore: More error checking.
2010-05-09 22:06:27 +02:00
Bert Vermeulen
873080cc03
allow devices without a plugin
...
this is needed to support file loading: we want a device struct
so we can enumerate probes from the file, but there is no plugin
since the data come in from a device.
2010-05-07 23:52:47 +02:00
Bert Vermeulen
34e4813f2e
inout module infrastructure + binary input module
2010-04-30 16:09:47 -07:00
Uwe Hermann
1b452b8510
libsigrok: Coding style fixes.
2010-04-15 20:07:16 +02:00
Uwe Hermann
d86dc674a2
Fix insufficient braces in KHZ() et al.
2010-04-15 19:49:14 +02:00
Uwe Hermann
fdd20b5239
Add ARRAY_SIZE helper.
2010-04-13 00:34:20 +02:00
Uwe Hermann
afc8e4deb6
Fix all warnings and re-enable -Wextra.
2010-04-09 22:18:46 +02:00
Uwe Hermann
edf60d0575
Factor out common ezusb_upload_firmware().
2010-04-09 20:44:51 +02:00
Bert Vermeulen
d02a535e05
move posix-specific serial port comms to serial.c
2010-04-09 05:15:27 +02:00
Uwe Hermann
25e7d9b115
Factor out common sigrok_samplerate_string().
2010-04-07 20:13:57 +02:00
Uwe Hermann
2b3414a497
libsigrokdecode: Add initial return code list.
2010-04-06 01:29:32 +02:00
Uwe Hermann
e31b636df6
Start unification of libsigrok return codes.
...
We have SIGROK_OK for functions calls where no errors occured. All
error code names start with SIGROK_ERR and are globally unique,
negative values.
The value SIGROK_ERR is a generic/unspecified error code, all others,
such as SIGROK_ERR_MALLOC, refer to a specific error condition.
This commit renames the old SIGROK_NOK etc.
2010-04-05 18:30:14 +02:00
Uwe Hermann
5a8fda158b
Allow output_format.init() to return errors.
2010-04-05 18:30:08 +02:00
Uwe Hermann
4c100f3244
More consistent spelling of "samplerate".
2010-04-05 18:30:02 +02:00
Uwe Hermann
a1bb33afbd
Start of code base layout restructuring.
2010-04-02 20:27:54 +02:00