libam7xxx.git
4 weeks agoFix usage of FIND_PATH, allow $FFMPEG_DIR to be used. rettichschnidi
Reto Schneider [Sun, 8 Apr 2012 12:24:43 +0000]
Fix usage of FIND_PATH, allow $FFMPEG_DIR to be used.

4 weeks agoStop CMake if function avformat_open_input not available,
Reto Schneider [Sat, 7 Apr 2012 10:39:43 +0000]
Stop CMake if function avformat_open_input not available,
print an error message. Prevents compile errors later on.

4 weeks agoMake example programs optional.
Reto Schneider [Sat, 7 Apr 2012 06:39:33 +0000]
Make example programs optional.

7 weeks agoRelease version 0.1.2 v0.1.2
Antonio Ospite [Wed, 28 Mar 2012 11:37:00 +0000]
Release version 0.1.2

This fixes the handling of DESTDIR and should finally make packaging
easier.

7 weeks agodoc: fix the "custom install targets" to handle DESTDIR
Antonio Ospite [Wed, 28 Mar 2012 11:08:23 +0000]
doc: fix the "custom install targets" to handle DESTDIR

Stuff has to be installed/copied in an actual "install" target for Cmake
to handle DESTDIR sanely, a custom target is not enough.

So the story now is:

  - add a component-local install rule

  - make the "custom install target" invoke it

  - make sure the custom target has been executed at install time

Maybe all this is not even worth the effort anymore and the "custom
install targets" could go away altogether, their point was to have
_them_ invoke at install time end exploit the dependencies chain.

7 weeks agoRelease version 0.1.1 v0.1.1
Antonio Ospite [Wed, 28 Mar 2012 08:55:14 +0000]
Release version 0.1.1

This release adds some improvements which should ease packaging, we also
ship a changelog (generated with "make changelog") because some
distributions like to ship some form of upstream history in their
packages.

7 weeks agodoc: use ${DOC_OUTPUT_PATH} in the targets once we have it defined
Antonio Ospite [Wed, 28 Mar 2012 08:43:04 +0000]
doc: use ${DOC_OUTPUT_PATH} in the targets once we have it defined

7 weeks agoexamples: keep the -h option as the last one in am7xxx-play
Antonio Ospite [Wed, 28 Mar 2012 08:31:22 +0000]
examples: keep the -h option as the last one in am7xxx-play

This is the Unix tradition AFAICT. Also, options in the geopt() loop
usually follow the order in which they appear in the usage message.

7 weeks agoexamples: add power level setting to picoproj
Antonio Ospite [Wed, 28 Mar 2012 08:27:12 +0000]
examples: add power level setting to picoproj

7 weeks agoTODO: remove the entry about signals and picoproj
Antonio Ospite [Wed, 28 Mar 2012 08:11:54 +0000]
TODO: remove the entry about signals and picoproj

picoproj is a minimal example and it is just meant to illustrate the API
and run and exit quickly, it is not worth adding signal handling in it,
that would just make the code more noisy.

7 weeks agocosmetics: remove some trailing spaces
Antonio Ospite [Wed, 28 Mar 2012 08:09:08 +0000]
cosmetics: remove some trailing spaces

7 weeks agoam7xxx: control shared library symbols visibility
Antonio Ospite [Wed, 28 Mar 2012 08:02:03 +0000]
am7xxx: control shared library symbols visibility

Export as public symbols only those really needed, without this change
some symbols from serialize.c (get_8, get_le32, put_8, put_le32) were
public too.

Use -fvisibility=hidden so we don't need to explicitly mark symbols as
local.

7 weeks agodoc: make sure docs have been generated when installing
Antonio Ospite [Wed, 28 Mar 2012 07:11:51 +0000]
doc: make sure docs have been generated when installing

This is done in three steps:

 - first a "custom install target" is created for each custom target
   which builds documentation;

 - then dependencies between those custom install targets and the
   correspondent "build" targets are added;

  - finally some code is added to ensure those "custom install targets"
    are called when the builtin install target is executed.

7 weeks agoIncrease project number to 0.1.0 v0.1.0
Antonio Ospite [Mon, 26 Mar 2012 11:50:05 +0000]
Increase project number to 0.1.0

Version 0.1.0 is going to be the first libam7xxx stable release.

7 weeks agoMerge branch 'unstable'
Antonio Ospite [Mon, 26 Mar 2012 11:49:31 +0000]
Merge branch 'unstable'

7 weeks agoTODO: remove the entry about documenting the API with Doxygen unstable
Antonio Ospite [Mon, 26 Mar 2012 11:27:43 +0000]
TODO: remove the entry about documenting the API with Doxygen

7 weeks agodoc: add generation of man pages from asciidoc sources
Antonio Ospite [Fri, 23 Mar 2012 23:25:57 +0000]
doc: add generation of man pages from asciidoc sources

7 weeks agodoc: add a link to the public API on the main page
Antonio Ospite [Fri, 23 Mar 2012 23:01:25 +0000]
doc: add a link to the public API on the main page

7 weeks agoexamples: rephrase picoproj example description
Antonio Ospite [Fri, 23 Mar 2012 23:26:59 +0000]
examples: rephrase picoproj example description

This is to avoid repeating 'show' two times in the same sentence.

7 weeks agoexamples: make picoproj usage look more like am7xxx-play one
Antonio Ospite [Fri, 23 Mar 2012 22:32:59 +0000]
examples: make picoproj usage look more like am7xxx-play one

7 weeks agodoc: add examples to the Doxygen documentation
Antonio Ospite [Fri, 23 Mar 2012 21:01:45 +0000]
doc: add examples to the Doxygen documentation

7 weeks agosm7xxx-play: add missing newline on some error messages
Antonio Ospite [Fri, 23 Mar 2012 16:03:36 +0000]
sm7xxx-play: add missing newline on some error messages

8 weeks agoam7xxx: round scaled_height and scaled_width
Antonio Ospite [Wed, 21 Mar 2012 13:47:20 +0000]
am7xxx: round scaled_height and scaled_width

Round when converting from float to int, this is more like what the user
expects about image dimensions.

8 weeks agocmake: make stricter compilation checks conditional
Antonio Ospite [Wed, 21 Mar 2012 11:06:16 +0000]
cmake: make stricter compilation checks conditional

On some systems building with options like -Werror is just impractical.

8 weeks agoMerge remote-tracking branch 'origin/rettichschnidi' into unstable
Antonio Ospite [Wed, 21 Mar 2012 10:45:36 +0000]
Merge remote-tracking branch 'origin/rettichschnidi' into unstable

Conflicts:
examples/am7xxx-play.c

8 weeks agoexamples: set proper return codes in am7xxx-play
Antonio Ospite [Tue, 20 Mar 2012 21:59:03 +0000]
examples: set proper return codes in am7xxx-play

Set the return codes explicitly on the error path of functions not
returning an int error value.

8 weeks agoexamples: add a -l option to am7xxx-play
Antonio Ospite [Mon, 19 Mar 2012 21:13:04 +0000]
examples: add a -l option to am7xxx-play

Allow setting the verbosity level of log messages.

8 weeks agoFix typo: dimesions -> dimensions
Reto Schneider [Tue, 20 Mar 2012 22:39:05 +0000]
Fix typo: dimesions -> dimensions

8 weeks agoAll modes above LOW need both connectors to be plugged in.
Reto Schneider [Tue, 20 Mar 2012 22:36:20 +0000]
All modes above LOW need both connectors to be plugged in.

8 weeks agoFix typo: architechtures -> architectures
Reto Schneider [Tue, 20 Mar 2012 22:33:50 +0000]
Fix typo: architechtures -> architectures

8 weeks agoRemove douled semicolons
Reto Schneider [Tue, 20 Mar 2012 22:32:46 +0000]
Remove douled semicolons

8 weeks agoCheck the user submitted value for the rescaling method.
Reto Schneider [Tue, 20 Mar 2012 20:16:14 +0000]
Check the user submitted value for the rescaling method.

8 weeks agoFix the wording of the help message for the rescaling method.
Reto Schneider [Tue, 20 Mar 2012 20:15:29 +0000]
Fix the wording of the help message for the rescaling method.

8 weeks agoUpdate the help message to make it clear that the quality argument needs
Reto Schneider [Tue, 20 Mar 2012 20:06:30 +0000]
Update the help message to make it clear that the quality argument needs
a parameter.

8 weeks agoLet the user set the power mode via the switch '-p <power mode>'
Reto Schneider [Tue, 20 Mar 2012 19:53:38 +0000]
Let the user set the power mode via the switch '-p <power mode>'

8 weeks agoMerge remote-tracking branch 'origin/unstable' into rettichschnidi
Reto Schneider [Tue, 20 Mar 2012 18:55:27 +0000]
Merge remote-tracking branch 'origin/unstable' into rettichschnidi

8 weeks agocmake: disable optimizations in debug builds
Antonio Ospite [Mon, 19 Mar 2012 21:07:16 +0000]
cmake: disable optimizations in debug builds

8 weeks agoLink to all ffmpeg libraries, not just to avdevice.
Reto Schneider [Sun, 18 Mar 2012 22:45:48 +0000]
Link to all ffmpeg libraries, not just to avdevice.

2 months agoam7xxx: fix a typo, s/it's/its/
Antonio Ospite [Sat, 17 Mar 2012 09:17:19 +0000]
am7xxx: fix a typo, s/it's/its/

2 months agoMerge branch 'unstable' into rettichschnidi
Reto Schneider [Fri, 16 Mar 2012 19:46:29 +0000]
Merge branch 'unstable' into rettichschnidi

2 months agoPurely cosmetic change: add missing newline
Reto Schneider [Fri, 16 Mar 2012 19:36:05 +0000]
Purely cosmetic change: add missing newline

2 months agoUse commas to separate different pico projector names.
Reto Schneider [Fri, 9 Mar 2012 18:47:54 +0000]
Use commas to separate different pico projector names.

2 months agoexamples: add a am7xxx-play example program
Antonio Ospite [Thu, 15 Mar 2012 14:30:28 +0000]
examples: add a am7xxx-play example program

am7xxx-play is a simple player based on ffmpeg/libav which displays the
output on a am7xxx device. It can be used to capture the desktop screen,
or video from a v4l2 device, or from any other device supported by
libavdevice including video files.

However it is to note that am7xxx-play displays the output as fast as it
can so it is not reliable when used to display video files directly.

2 months agoam7xxx: cosmetics, remove some useless double spaces
Antonio Ospite [Thu, 15 Mar 2012 13:11:28 +0000]
am7xxx: cosmetics, remove some useless double spaces

2 months agoam7xxx: add am7xxx_calc_scaled_image_dimensions()
Antonio Ospite [Thu, 15 Mar 2012 13:05:25 +0000]
am7xxx: add  am7xxx_calc_scaled_image_dimensions()

This function is useful to calculate the dimensions of an image which
will be sent with am7xxx_send_image() in a way that keeps the original
image aspect ratio.

2 months agocontrib: add PicoPix 1020 USB IDs to 55-am7xxx.rules
Antonio Ospite [Thu, 8 Mar 2012 13:35:36 +0000]
contrib: add PicoPix 1020 USB IDs to 55-am7xxx.rules

2 months agopicoproj: move it to an example/ directory
Antonio Ospite [Thu, 8 Mar 2012 13:22:20 +0000]
picoproj: move it to an example/ directory

We plan on adding some more useful examples in the future, so it is
better to have them all in their separate directory in order to make the
project structure easier to understand.

2 months agocmake: split out the maintenance targets to a new cmake module
Antonio Ospite [Wed, 7 Mar 2012 22:32:29 +0000]
cmake: split out the maintenance targets to a new cmake module

This makes the top level CMakeLists.txt easier to follow.

2 months agodoc: add an install target
Antonio Ospite [Wed, 7 Mar 2012 22:12:30 +0000]
doc: add an install target

For now only Unix-style destinations are supported, we will abstract
them out when the need raises.

2 months agoam7xxx, doc: add Doxygen documentation for the public API
Antonio Ospite [Wed, 7 Mar 2012 16:48:49 +0000]
am7xxx, doc: add Doxygen documentation for the public API

2 months agoam7xxx: rename the 'size' argument of am7xxx_send_image() to 'image_size'
Antonio Ospite [Tue, 6 Mar 2012 16:28:57 +0000]
am7xxx: rename the 'size' argument of am7xxx_send_image() to 'image_size'

2 months agocosmetics: remove some unneeded white spaces
Antonio Ospite [Thu, 1 Mar 2012 22:47:00 +0000]
cosmetics: remove some unneeded white spaces

2 months agoCmakeLists.txt: add some hardening options to CMAKE_C_FLAGS
Antonio Ospite [Thu, 1 Mar 2012 22:05:50 +0000]
CmakeLists.txt: add some hardening options to CMAKE_C_FLAGS

These options (-fstack-protector --param=ssp-buffer-size=4) should not
affect the current code but it is useful to have them here for
reference.

2 months agoam7xxx: introduce a new am7xxx_device_info type
Antonio Ospite [Thu, 1 Mar 2012 20:52:06 +0000]
am7xxx: introduce a new am7xxx_device_info type

This is in order to abstract the properties of an am7xxx device, for now
only native_width and native_height are supported.

2 months agoHACKING.asciidoc: mention how to use valgrind
Antonio Ospite [Wed, 29 Feb 2012 22:54:22 +0000]
HACKING.asciidoc: mention how to use valgrind

2 months agopicoproj: add an option to set the log level
Antonio Ospite [Wed, 29 Feb 2012 22:31:14 +0000]
picoproj: add an option to set the log level

2 months agoam7xxx: use the logging infrastructure
Antonio Ospite [Wed, 29 Feb 2012 22:29:12 +0000]
am7xxx: use the logging infrastructure

Also make debug_dump_devinfo_header() and trace_dump_buffer() stubbed
out at compile time when DEBUG is not defined, just to save some cycles
in the data sending routines when in production.

2 months agoam7xxx: add a simple logging infrastructure
Antonio Ospite [Tue, 28 Feb 2012 22:51:37 +0000]
am7xxx: add a simple logging infrastructure

2 months agoam7xxx: track the context in am7xxx_device
Antonio Ospite [Tue, 28 Feb 2012 21:37:06 +0000]
am7xxx: track the context in am7xxx_device

This will be used to retrieve the context in functions operating on
devices, in order to use the log calls which are going to be added.

2 months agoam7xxx: pass the context to add_new_device() and find_device()
Antonio Ospite [Tue, 28 Feb 2012 20:57:45 +0000]
am7xxx: pass the context to add_new_device() and find_device()

This is preparation for when we will track the context in am7xxx_device
as well, and as a side effect those functions now look more consistent
with the other ones.

2 months agoam7xxx: silent a warning enabled by 'sparse' about an uninitialized variable
Antonio Ospite [Tue, 28 Feb 2012 20:44:34 +0000]
am7xxx: silent a warning enabled by 'sparse' about an uninitialized variable

src/am7xxx.c:423:6: warning: ‘ret’ may be used uninitialized in this function [-Wuninitialized]

If libusb_get_device_list() returned 0 we didn't have 'ret' properly
initialized.

2 months agoTODO: remove the entry about multi-device support
Antonio Ospite [Wed, 29 Feb 2012 22:33:13 +0000]
TODO: remove the entry about multi-device support

This is done now, even if not tested with actual hardware...

2 months agoam7xxx: add multi-device support
Antonio Ospite [Thu, 23 Feb 2012 17:05:48 +0000]
am7xxx: add multi-device support

Allow operating on more than one am7xxx device at the same time.

2 months agoTODO: handle signals in picoproj and do the proper cleanup
Antonio Ospite [Thu, 23 Feb 2012 15:23:41 +0000]
TODO: handle signals in picoproj and do the proper cleanup

2 months agoam7xxx: support other devices which talk the same protocol
Antonio Ospite [Wed, 22 Feb 2012 12:14:24 +0000]
am7xxx: support other devices which talk the same protocol

Add support for the Philips/Sagemcom PicoPix 1020, which has different
USB IDs.

2 months agocmake: fix libusb search
Antonio Ospite [Tue, 21 Feb 2012 13:48:06 +0000]
cmake: fix libusb search

Adjust cmake test for libusb library so that the compatible libusb for
freebsd can be found. Since freebsd's libusb header are located in
a different place from libusb-1.0, the includes in the source code must
be adjusted using #include <libusb.h>. Actually those new include
statements are those that libusb-1.0 really expects to be used (see
libusb-1.0.pc cflags to verify this).

Taken from libfreenect commit 8219750df3a13501626a7f7f54d24afb8e64ec3f
https://github.com/OpenKinect/libfreenect/commit/8219750df3a13501626a7f7f54d24afb8e64ec3f

2 months agoam7xxx: change am7xx_device definition, better buffer handling
Antonio Ospite [Tue, 21 Feb 2012 12:19:28 +0000]
am7xxx: change am7xx_device definition, better buffer handling

Add a new data type for am7xxx devices and make it hold a buffer, this
way allocating a new buffer for each communication can be avoided; also
move this definition to am7xxx.c to avoid exposing details about libusb
in am7xxx.h.

2 months agoam7xxx: initialize the 'transferred' variable before USB transfers
Antonio Ospite [Thu, 23 Feb 2012 14:26:44 +0000]
am7xxx: initialize the 'transferred' variable before USB transfers

This makes sure the subsequent error messages print a sane value when
libusb fails without touching the variable.

2 months agoREADME.asciidoc: Acer C120 is not based on AM7XXX
Antonio Ospite [Tue, 21 Feb 2012 18:55:24 +0000]
README.asciidoc: Acer C120 is not based on AM7XXX

Dhanraj Rajput has one of these and he figured out that the
communication here is based on the SCSI Pass-Trough protocol, not on
plain USB bulk transfers.

2 months agoREADME.asciidoc: rephrase the part about USB IDs
Antonio Ospite [Mon, 20 Feb 2012 20:31:36 +0000]
README.asciidoc: rephrase the part about USB IDs

Those devices does not always use the Actions Micro Vendor ID in display
mode, some Philips ones don't for instance, so tell that the IDs
mentioned are just examples.

Also mention that usb-modeswitch perform the mode change automatically
now.

2 months agoREADME.asciidoc: fix a typo s/trasfers/transfers/
Antonio Ospite [Mon, 20 Feb 2012 16:51:11 +0000]
README.asciidoc: fix a typo s/trasfers/transfers/

2 months agoREADME.asciidoc: mention Thomas Baquet's project and fix some style
Antonio Ospite [Mon, 20 Feb 2012 16:50:06 +0000]
README.asciidoc: mention Thomas Baquet's project and fix some style

2 months agocontrib: add some udev rules to let normal users access the devices
Antonio Ospite [Mon, 20 Feb 2012 12:44:23 +0000]
contrib: add some udev rules to let normal users access the devices

Make any user in the "plugdev" group be able to use an am7xxx device,
not just the root user like it is now.

2 months agoREADME.asciidoc: highlight USB IDs by using an unformatted style
Antonio Ospite [Mon, 20 Feb 2012 12:28:29 +0000]
README.asciidoc: highlight USB IDs by using an unformatted style

3 months agoDon't use fixed size integer types in the public header
Antonio Ospite [Wed, 25 Jan 2012 14:50:41 +0000]
Don't use fixed size integer types in the public header

The rationale behind this is that a user of the library is interested in
the meaning of the data passed, not on its storage size.

3 months agoMake struct am7xxx_header and related types private
Antonio Ospite [Wed, 25 Jan 2012 14:44:24 +0000]
Make struct am7xxx_header and related types private

There is not need for struct am7xxx_header, am7xxx_packet_type, and the
other headers structs to be in the public am7xxx.h file.

3 months agoImplement am7xxx_get_device_info()
Antonio Ospite [Wed, 25 Jan 2012 14:26:44 +0000]
Implement am7xxx_get_device_info()

Add support for packet type 0x01, which can be used to query device
information like the native width and native height.

Introduce also read_data(), read_header(), unserialize_header()
which are needed by am7xxx_get_device_info()

3 months agoAdd info about transfer direction in debug messages, add newline
Antonio Ospite [Wed, 25 Jan 2012 11:24:53 +0000]
Add info about transfer direction in debug messages, add newline

3 months agopicoproj: make the -f option mandatory
Antonio Ospite [Tue, 24 Jan 2012 16:15:50 +0000]
picoproj: make the -f option mandatory

Passing an image file name is now mandatory, before that the user could
be induced into thinking that a command like the following was sending
an image:

 ./picoproj -W 800 -H 480 -F 1 some_image.jpg

while the actually intended command line was:

  ./picoproj -W 800 -H 480 -F 1 -f some_image.jpg
                                ^^
Note the missing -f in the first command line.

3 months agoImplement am7xxx_set_power_mode()
Antonio Ospite [Tue, 24 Jan 2012 15:43:23 +0000]
Implement am7xxx_set_power_mode()

The AM7XXX_PACKET_TYPE_POWER expects the power mode to be specified in
the header_data section of the header like a value between 0 and 4, but
with one bit per field, each field being a little-endian 32 bit integer.

3 months agoIndent header_data fields when dumping headers
Antonio Ospite [Tue, 24 Jan 2012 15:03:33 +0000]
Indent header_data fields when dumping headers

3 months agoDocument in_80chars() and remove reference_image_header[]
Antonio Ospite [Tue, 24 Jan 2012 14:45:00 +0000]
Document in_80chars() and remove reference_image_header[]

3 months agoDump the data only in DEBUG builds
Antonio Ospite [Tue, 24 Jan 2012 14:39:24 +0000]
Dump the data only in DEBUG builds

Also use -Werror only in DEBUG builds, otherwise normal builds fail with:

src/am7xxx.c:42:13: error: ‘dump_header’ defined but not used [-Werror=unused-function]
src/am7xxx.c:73:13: error: ‘dump_buffer’ defined but not used [-Werror=unused-function]

3 months agoAdd a HACKING.asciidoc file
Antonio Ospite [Tue, 24 Jan 2012 13:55:54 +0000]
Add a HACKING.asciidoc file

Give some info about how to make a debug build and mention the coding
style used in the project, so new contributors know how to behave.

3 months agoSerialize struct am7xxx_header properly before sending it on the wire
Antonio Ospite [Tue, 24 Jan 2012 12:38:35 +0000]
Serialize struct am7xxx_header properly before sending it on the wire

That is in order to:

  1. keep data in the structs always in the host native byte order, this
     is more natural and less error prone as we might forget to use
     htole32() when setting struct fields or le32toh() when accessing
     them;

  2. be more portable: this way the buffer sent to the wire is
     independent of struct alignments or paddings introduced by
     compilers or required by a particular architecture.

3 months agopicoproj: exit with success when the -h option is used
Antonio Ospite [Tue, 24 Jan 2012 09:41:47 +0000]
picoproj: exit with success when the -h option is used

3 months agoDocument usb_modeswitch command to change the device mode
Antonio Ospite [Tue, 24 Jan 2012 09:27:25 +0000]
Document usb_modeswitch command to change the device mode

3 months agoRenamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.
Reto Schneider [Mon, 23 Jan 2012 16:13:15 +0000]
Renamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.

3 months agoAdded support for imageformat YUV - NV12
Reto Schneider [Sat, 21 Jan 2012 15:22:04 +0000]
Added support for imageformat YUV - NV12

3 months agoStop build process if a warning shows up
Reto Schneider [Sat, 21 Jan 2012 15:15:50 +0000]
Stop build process if a warning shows up

4 months agocorrected some spelling mistakes
Reto Schneider [Sun, 15 Jan 2012 23:03:42 +0000]
corrected some spelling mistakes

4 months agoRelicense under GPLv2+
Antonio Ospite [Sun, 15 Jan 2012 21:58:15 +0000]
Relicense under GPLv2+

This could make sharing code with a linux kernel driver easier.

4 months agoAdd a TODO file
Antonio Ospite [Sun, 15 Jan 2012 20:12:14 +0000]
Add a TODO file

4 months agoAdd a README.asciidoc
Antonio Ospite [Sun, 15 Jan 2012 20:11:58 +0000]
Add a README.asciidoc

4 months agoFix Copyright year
Antonio Ospite [Sun, 15 Jan 2012 00:40:19 +0000]
Fix Copyright year

4 months agoAdd GPL-3 license text
Antonio Ospite [Sun, 15 Jan 2012 00:39:15 +0000]
Add GPL-3 license text

4 months agoRename the header_len field to header_data_len
Antonio Ospite [Fri, 13 Jan 2012 12:43:59 +0000]
Rename the header_len field to header_data_len

This matches better match its meaning, it is not the length of the whole
header, but only of the header_data section.

4 months agoMake including am7xxx.h in C++ code safe
Antonio Ospite [Fri, 13 Jan 2012 12:37:32 +0000]
Make including am7xxx.h in C++ code safe

4 months agoUse Cmake and make libam7xxx a shared library
Antonio Ospite [Fri, 13 Jan 2012 02:20:14 +0000]
Use Cmake and make libam7xxx a shared library

Also move the source code to a src/ subdirectory in order to avoid
cluttering the project root dir.

4 months agoSplit am7xxx functions and definitions
Antonio Ospite [Thu, 12 Jan 2012 12:46:14 +0000]
Split am7xxx functions and definitions

This is the base for the libam7xxx shared library.