2009-03-20  Nick Garnett  <nickg@ecoscentric.com>

	* include/var_io.h: Fix macros to set extended ID.

2009-03-06  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c (hal_str7xx_can_init): Mode change accesses
	should be writes, not reads.

2008-10-27  Nick Garnett  <nickg@ecoscentric.com>

	* include/var_io.h (CYGARC_HAL_STR7XX_PIO_SET)
	(CYGARC_HAL_STR7XX_PIO_OUT, CYGARC_HAL_STR7XX_PIO_IN): Add ifdefs
	to allow these macros to be overridden by the platform HAL.

2008-05-22  John Dallaway  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: Add options to modify compilation flags.

2008-05-21  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_i2c.c: Add support for polled operation.

2008-05-15  John Dallaway  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: Disable I2C bus 0 by default for
	forthcoming release.

2008-05-14  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: Add interfaces for all UARTs to permit
	the platform HAL to indicate which are available for diagnostic
	use.

	* src/hal_diag.c (str7xx_ser_channels): Use CDL interfaces to
	initialize correct UARTs.

2008-05-02  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: Allow I2C bus speeds to be set to
	zero. This is used to indicate that the bus is inactive.

	* src/str7xx_i2c.c (str7xx_i2c_bus0, str7xx_i2c_bus1): Reorganize
	definitions of busses so that one or both may be disabled by
	setting the speed to zero.
	(str7xx_i2c_isr): Reorganize to permit an ISR to deal with more
	than one event at a time.
	(str7xx_i2c_bus_tx, str7xx_i2c_bus_rx): Fix bug that omitted left
	shift of address into upper 7 bits of address byte.

2008-04-25  Nick Garnett  <nickg@ecoscentric.com>

	* include/var_intr.h: Fix radix problem in interrupt definitions.

	* include/var_io.h: Add ADC and RTC definitions.

	* src/str7xx_misc.c (hal_str7xx_pio_set): Change order in which
	port registers are written. ST documentation suggests that they
	should be written in reverse numerical order.

	* src/str7xx_power.c (hal_str7xx_rtc_counter_set): Add this
	function to set the RTC counter.
	(hal_str7xx_adc_init, hal_str7xx_adc_reinit): Add ADC sample rate
	support.

2007-02-06  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c (hal_str7xx_clocks_setup): Modified to zero
	MDIVR first and set it last. This allows this routine to access
	the rest of the RCCU registers which are only accessible when
	MCLK == RCLK. Added comment about these restrictions.

	* doc/str7xx.sgml: Added a paragraph describing two of the more
	basic restrictions on the values in the clock parameter structure.
	Also updated example parameter table and RedBoot output to match
	current settings.

2007-01-19  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_misc.c (hal_str7xx_pio_set, hal_str7xx_pio_out) 
	(hal_str7xx_pio_in): Execute these functions with interrupts
	disabled to avoid concurrency issues.

2006-11-02  Nick Garnett  <nickg@ecoscentric.com>

	* src/hal_diag.c (cyg_hal_plf_serial_init): Add initialization for
	UARTs 2 and 3, if they are supported.

2006-10-25  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c (hal_str7xx_rtc_counter): Deal with
	possibility of counter ticking while we are reading it.
	(hal_str7xx_rtc_alarm_set): Use hal_str7xx_rtc_counter() to read
	counter.

2006-10-20  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_i2c.c (str7xx_i2c_bus_rx): Fixed bug in generation of
	NAK response when only one byte is being received.

2006-10-17  Nick Garnett  <nickg@ecoscentric.com>

	* src/hal_diag.c: UART3 TX and RX PIO bits were defined in reverse
	order. This matters since both lines have to be set up in
	different special modes.

2006-09-05  Nick Garnett  <nickg@calivar.com>

	* include/var_io.h: Fix typo in stop bits definition for UARTs.

2006-06-09  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c (hal_str7xx_uart_setbaud): Add special case
	for 115200 baud at 24MHz PCLK1. This seems OK for intermittent
	communications but doesn't work very well for sustained
	back-to-back transfers.

2006-06-09  John Dallaway  <jld@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: Make display strings for I2C bus speeds
	unique.

2006-06-08  Nick Garnett  <nickg@ecoscentric.com>

	* doc/str7xx.sgml: Added some documentation about profiling timer.

2006-06-08  John Dallaway  <jld@ecoscentric.com>

	* src/str7xx_power.c: Clarify "speed not settable" message.

2006-06-07  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_clock.c: Add profile timer implementation.

	* src/str7xx_power.c (hal_str7xx_set_clock_speed): Added call to
	hal_str7xx_profile_reinit().
	(do_speed): Filter out some speed settings that are inappropriate
	for RedBoot.

	* cdl/hal_arm_str7xx.cdl: Add implements CYGINT_PROFILE_HAL_TIMER.

	* include/var_io.h: Add hal_str7xx_profile_reinit().

2006-06-06  John Dallaway  <jld@ecoscentric.com>

	* doc/str7xx.sgml: Fix minor typographical errors.

2006-06-05  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c: Fixed some compilation errors.

2006-05-22  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c (hal_str7xx_uart_setbaud): Some minor updates
	to baud rate special cases.

2006-05-19  Nick Garnett  <nickg@ecoscentric.com>

	* src/str7xx_power.c: Many changes to power management code.

	* src/str7xx_misc.c (hal_hardware_init): Tidied up. Added code to
	print out startup mode in RedBoot, but left disabled for now.

	* src/hal_diag.c: Tidied up debugging code.

	* include/var_io.h: Added RTC definitions. Updated power
	management functions.

	* doc/str7xx.sgml: Added description of Power Management support.

2006-05-10  Nick Garnett  <nickg@calivar.com>

	* include/var_io.h: Added CAN device definitions.

	* src/str7xx_power.c (hal_str7xx_can_init): Added this routine to
	initialize CAN bit timing registers.

2006-04-28  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl:
	* src/str7xx_i2c.c:
	* doc/str7xx.sgml: Updated documentation to include I2C. Updated
	configuration and implementation with some consequential changes.

2006-04-27  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl: 
	* include/var_io.h: Added I2C definitions.

	* src/str7xx_i2c.c: New I2C driver.

	* src/str7xx_power.c (hal_str7xx_i2c_init, hal_str7xx_i2c_reinit):
	Added these function to initialize and reinitialize I2C baud rate
	generators.
	
2006-04-19  John Dallaway  <jld@ecoscentric.com>

        * cdl/hal_arm_str7xx.cdl: Add reference to package documentation.

2006-04-11  Nick Garnett  <nickg@ecoscentric.com>

	* include/var_io.h: Tided up and renamed clock parameter structure
	and variables.

	* include/var_arch.h (HAL_IDLE_THREAD_ACTION): Added code to put
	CPU into WFI mode in idle thread.

	* doc/str7xx.sgml: Updated documentation.

	* cdl/hal_arm_str7xx.cdl: Removed default clock config
	options. These are no longer needed.

	* src/str7xx_clock.c (hal_delay_us): Some tidying.

	* src/str7xx_power.c: 
	* src/str7xx_misc.c: Renamed variables and miscellaneous tidies.

2006-03-20  Nick Garnett  <nickg@ecoscentric.com>

	* cdl/hal_arm_str7xx.cdl:
	* doc/str7xx.sgml:
	* include/hal_cache.h:
	* include/hal_diag.h:
	* include/plf_stub.h:
	* include/var_arch.h:
	* include/var_intr.h:
	* include/var_io.h:
	* src/str7xx_clock.c:
	* src/str7xx_intr.c:
	* src/str7xx_misc.c:
	* src/str7xx_power.c:
	* src/hal_diag.c:
	New package, support for ST STR7XX devices.

//===========================================================================
// ####GPLCOPYRIGHTBEGIN####                                                
// -------------------------------------------                              
// This file is part of eCos, the Embedded Configurable Operating System.   
// Copyright (C) 2006, 2007 Free Software Foundation, Inc.                  
// Copyright (C) 2006, 2007, 2007 eCosCentric Limited                       
//
// This program is free software; you can redistribute it and/or modify     
// it under the terms of the GNU General Public License as published by     
// the Free Software Foundation; either version 2 or (at your option) any   
// later version.                                                           
//
// This program is distributed in the hope that it will be useful, but      
// WITHOUT ANY WARRANTY; without even the implied warranty of               
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
// General Public License for more details.                                 
//
// You should have received a copy of the GNU General Public License        
// along with this program; if not, write to the                            
// Free Software Foundation, Inc., 51 Franklin Street,                      
// Fifth Floor, Boston, MA  02110-1301, USA.                                
// -------------------------------------------                              
// ####GPLCOPYRIGHTEND####                                                  
//===========================================================================
