- f32x/Makefile: added support for building for different targets (for now,
just TARGET=om)
- f32x/c2-drv.h: interface for C2 drivers
- f32x/c2-om.c: updated title
- f32x/c2-om.c: renamed all c2_* to om_* and made them "static"
- f32x/c2-om.c (c2_om): driver operations
- f32x/c2.c: call driver operations
- f32x/c2.h: moved protocol constants to c2-drv.h
- c2usb/c2usb.pro: use "pads" from kicad-libs instead of local copy
- c2usb/modules/Makefile (MODULES): remove "pads"
- c2usb/modules/pads.fpd: removed
- hw/c2usb.brd: make board 20 mil wider and moved R1/R2 by this distance
away from U1
- hw/c2usb.sch (FB1): added value (33R) to bead
- hw/c2usb.sch (R1): put component reference on the left side
- hw/c2usb.sch, hw/c2usb.brd: increased version number to 1
- hw/c2usb.brd: made board 40 mil wider (we still have a lot of room before
reaching the maximum width of a USB dongle)
- hw/c2usb.brd: moved R1 and R2 10 mil away from U1
- hw/c2usb.brd: moved the power circuit 10 mil to the left, to increase the
clearance of FB1
setup. PLATFORM_SETUP now performs early general platform setup, such as
turning off the watchdog.
- fw/boot/boot.c (main): the first thing we do is to run PLATFORM_SETUP
- fw/boot/boot.c (boot_loader): instead of PLATFORM_SETUP, run
PLATFORM_ENTER
bureaucracy is needed before operations can be performed. This doesn't
seem to be the case, but let's put the code (commented out) anyway,
since it's been written. (This was done while trying to debug another
problem.)
produces user-visible errors and may confuse implementations. (E.g., when
probing for an unimplemented feature and subsequently being greeted by a
timeout.)
- fw/comon/usb.c (handle_setup): set SOPRDY when answering a request error
with a stall, according to the example in AN139. This seems to eliminate
the timeouts observed in requests following after bad requests.
- fw/boot/boot.c (run_payload): described how the host is expected to
respond to the device resetting its USB stack
libraries. Some minor cleanup.
- lib/Makefile.common: introduced LDLIBS to place libraries at the end of
the $(LD) command line
- lib/Makefile.common: put spaces around assignments
- README: added short name of project to title
we create it when making dependencies.
- fw/common/Makefile.common (depend): don't touch version.h
- fw/common/Makefile.common (version): we build version.c, not version.c
- fw/common/Makefile.common: integrated object file specific build rules
that used to live in fw/boot/
- fw/common/Makefile.common: added section titles
- fw/common/Makefile.common (upload): removed obsolete target
glitches.
- fw/boot/boot.c, fw/boot/dfu.c: include config.h for platform defines
- fw/common/Makefile.common: add $(F32XBASE)/fw/common to include search
path
- fw/boot/boot.c: define dummy for uart_init if no debugging is enabled
- fw/boot/boot.c (PLATFORM_EXIT): typo PLAYFORM_EXIT
- fw/boot/boot.c (run_payload): rename BOOT_SETUP to PLATFORM_SETUP
- fw/boot/dfu.c (device_descriptor): use USB_PRODUCT instead of
USB_PRODUCT_IDBG_DFU
- fw/boot/config.h: removed for now. Might bring it back later as template.
- fw/boot/version.h: moved to fw/common/
- fw/common/Makefile.system: remove serial setup
- fw/boot/boot.c (boot_loader): moved GTA-specific pull-up disable and
I2C_SDA_PULL enable into macro PLATFORM_SETUP
- fw/boot/boot.c (run_payload): moved GTA-specific pull-up enable and
I2C_SDA_PULL disable into macro PLATFORM_EXIT
- fw/boot/boot.c (boot_loader): moved GTA-specific I2C_SDA probe into macro
PLATFORM_TEST
- fw/common/Makefile.common: removed all references to dependencies on
.target. The caller is now responsible for these.
- fw/boot/dfu.c: don't include idbg/usb-ids.h; USB_VENDOR and USB_PRODUCT
are now passed via macros