- lib/Makefile (OBJS), include/cwtest.h (cw_test_begin, cw_test_end),
lib/cwtest.c (enter_test_mode_230, enter_test_mode_231,
cw_test_begin, cw_test_end): moved constant wave test mode setup
over from atrf-txrx.c
- atrf-txrx/atrf-txrx.c (transmit_pattern): use functions from cwtest.o
Examples:
usb:1/6 select logical device 6 on bus 1
usb:1-3.1.4 starting at bus 1, choose ports 3, 1, and 4
- usbopen.c (initialize, open_usb): moved libusb initialization to
separate function, to allow for sharing
- usbopen.h (restrict_usb_path), usbopen.c (restricted_path, open_usb,
restrict_usb_dev, restrict_usb_by_dev, read_num, restrict_usb_by_port,
restrict_usb_path): added mechanism to restrict USB path
- atusb.c (atusb_open): if an argument is given, call restrict_usb_path
with it
We shared it across projects so far, but since the code will be further
customized, it's better to keep it local (at least for a while).
- usbopen.h, usbopen.c: moved over f32xbase/include/usb.h and
f32xbase/lib/usb.c (for further customization)
- Makefile (CFLAGS, OBJS_host): use usbopen.o instead of usb.o from
f32xbase
- atusb.c: use usbopen.h instead of usb.h from f32xbase (also removes
include path ambiguity)
- include/atrf.h (atrf_ben_regs), lib/atrf.c (atrf_ben_regs),
lib/driver.h (atben_regs), lib/atben.c (atben_regs): new function to
get the mmap'ed registers in a less disgusting way
- atrf-xtal/atben.c (base, ben_setup): cleaned up the horrible layering
violation
- include/atrf.h (atrf_default_driver_name),
lib/atrf.c (atrf_default_driver_name): return the name of the default
driver, or "none" if no drivers are defined
Case-sensitive is the Unix way, and so is avoiding unnecessary upper-case.
- atben.c (atben_driver): changed name from "Ben" to "ben"
- atusb.c (atusb_driver): changed name from "USB" to "usb"
- atrf.c (select_driver): made driver name matching case-sensitive
atrf_open(NULL) maintains the old behaviour. To select a driver, use
atrf_open("name") or atrf_open("name:driver-specific-arguments")
The driver name is "ben" or "usb".
- include/atrf.h (atrf_open), lib/atrf.c (do_atrf_open, atrf_open):
atrf_open now requires the string argument for driver selection
- atrf-id/atrf-id.c (main), atrf-reset/atrf-reset.c (main),
atrf-rssi/atrf-rssi.c (main), atrf-trim/atrf-trim.c (main),
atrf-txrx/atrf-txrx.c (main), atrf-xtal/atrf-xtal.c (main):
changed atrf_open() to atrf_open(NULL)
- atrf.c (atrf_open, select_driver, do_atrf_open): added infrastructure
for passing the driver name and further parameters to atrf_open
- atrf.c (struct atrf_dsc): made "driver" constant
- driver.h (struct atrf_driver), atben.c (atben_open), atusb.c
(atusb_open): added string argument to the "open" function
- atusb.c (atusb_driver): corrected unterminated comment
- Makefile (DIRS): added atrf-xtal
- atrf-xtal/Makefile: build atrf-xtal for the Ben or do nothing elsewhere
- atrf-xtal/atrf-xtal.h, atrf-xtal/atrf-xtal.c: diagnostic utility to
determine the transceiver's crystal frequency
- atrf-xtal/atben.c: dirty low-level driver for ATBEN
- include/atrf.h, lib/atrf.c (atrf_slp_tr): new function to set the SLP_TR
line
- lib/driver.h (struct atrf_driver): added driver function slp_tr
- lib/atusb.c (atusb_driver): we dont support slp_tr yet
- lib/atben.c (atben_slp_tr, atben_driver): implement SLP_TR control
- modules/usb_a_plug_smt.fpd: enlarged hole for positioning pins from
1.1 mm to 1.15 mm
- atusb/usb.sch, atusb/atusb.cmp, atusb/atusb.brd: removed trailing space
from CON1's value
- atusb/atusb.sch, atusb/usb.sch, atusb/atrf.sch: schematics title still
said AT86RF230, not 231
- atusb/README-SMT: corrected a typo
- atusb/README-PCB: specified the tolerance of the hole for the positioning
pins of the USB connector
- atusb/README-PCB: added the 16-17 mm hole for the USB connector to the
specification
- atusb/: bumped all version numbers to 20110330
- README-Ben: patch kernel with -p1
- README-Ben: forgot the vmlinuz.bin compression step
- README-Ben: mkimage line differs for Jlime (mipsel-*-nm)
- README-Ben: mention expected result of address detection
- README-Ben: updating the kernel from Linux needs a ^C at the end
- README-Ben: cleaned up and clarified user space setup
- README-Ben: use readlink -f in case mipsel-openwrt-linux-gcc isn't
symlinked
- README-Ben, libnl-1.1-limits.patch: fix missing #include on Jlime
- README-Ben: Jlime needs a different prefix discovery algorithm
- atben/README-SMT, atusb/README-SMT: added "component to "orientation"
- atben/README-SMT, atusb/README-SMT: added "drawings" to "footprint
reference"
- atben/README-SMT, atusb/README-SMT: mention once more that the automatic
insertion file is for the front only
- atben/atben.brd, atusb/atusb.brd: set solder mask clearance of fiducials
to 0.1 mil, so that the real solder mask opening has a diameter of
almost) exactly 2 mm (instead of 2 mm plus 10 mil)
- atusb.pro: added fiducial.mod
- atusb.brd: added two fiducial marks
- atusb.brd: adjusted RF and RF power ground zones
- atusb.brd (CON1): moved component reference out of the way
- atusb.brd: bumped version to 110323
- atusb.brd (C22): properly aligned reference with component center
- atusb.brd (P11, P12, P13, P14): moved reference below the pad, for
consistency with P15 and P16
- atusb.brd (CON1): centered the component reference
- atben.pro: added fiducial.mod
- atben.brd: added two fiducial marks
- atben.brd: adjusted and straightened upper left of the RF ground zones
- atben.brd: bumped version to 110323
- makefiles/Makefile.kicad ($(NAME)-PCB_Edges.dxf, $(NAME).drl): since we
now name the files explicitly, we need to generate them explicitly as
well
- makefiles/Makefile.kicad (upload): added SMT fab package
- atben/Makefile (VERSION), atusb/Makefile (VERSION): bumped fab file
version to 110323
- Makefile.kicad (fab-pcb): add explicit dependency instead of "gerber"
- Makefile.kicad (fab-smt): depend on all files, not just the .csv files
- Makefile.kicad (clean): also remove $(NAME)-bom.csv
- atben/README-PCB, atusb/README-PCB: added overview images for PCB front
and back
- atben/README-SMT, atusb/README-SMT: added overview image for PCB front
- atben/README-SMT, atusb/README-SMT: clarified that the Gerbers are in
the PCB archive
- makefiles/Makefile.kicad (PCB_FILES): moved list of gerbers to
$(GERBERS)
- makefiles/Makefile.kicad (gerber): generate Gerbers only if necessary
- makefiles/Makefile.kicad (overview, uoverview, clean): renamed
overview.png to $(NAME)-overview.png and turned phony target into file
target
- makefiles/Makefile.kicad ($(NAME)-front.png, $(NAME)-back.png, clean):
added generation of front and back images
- atben/README-SMT, atusb/README-SMT: description for SMT fab files
- bom/Makefile (%-smt.csv, spotless): renamed *-smt.csv to *-bom.csv
- makefiles/Makefile.kicad (fab): split into "fab" (PCB and SMT) and
fab-pcb (previous "fab"; only PCB)
- makefiles/Makefile.kicad (fab-smt): added packaging process for SMT
fab files
- Makefile.kicad ($(NAME)Front.pos): --origin does nothing with --pos;
removed it
- Makefile.kicad ($(NAME)-pos.csv): use pos2fab to generate a positioning
file for the SMT fab
- Makefile.kicad (clean): remove $(NAME)Front.pos and $(NAME)-pos.csv