| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
digital mode for non-analog function.
The problem wit incorrect switching of pins into analog mode manifestes
on LPC4088 based board.
LPC4088 implements pin P1.17 (ENET_MDIO) as new W type (digital pin
with analog option). The pin was listed as D category on LPC1788
which does not have analog mode control bit. If analog option is
not explicitly switched off on LPC4088 then the pin does not work
as digital pin.
Code tested on LPC1788 and no problems has been observed even that
manual specifies the IOCON_ADMODE field as reserved and should
be written as zero. But even RTEMS lpc24xx_gpio_config sets this
bit unconditionally.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.
Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.
|
|
|
|
| |
New pin type LPC17XX_PIN_TYPE_OPEN_DRAIN.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/lpc17xx.h: New file.
* Makefile.am, preinstall.am: Reflect change above. Update due to API
changes.
* configure.ac, console/console-config.c, include/bsp.h, include/io.h,
include/irq.h, include/lcd.h, include/lpc-clock-config.h,
include/lpc24xx.h, include/start-config.h, irq/irq-dispatch.c,
irq/irq.c, misc/bspidle.c, misc/io.c, misc/lcd.c, misc/restart.c,
misc/system-clocks.c, ssp/ssp.c, startup/bspreset.c,
startup/bspstart.c, startup/bspstarthooks.c,
startup/start-config-emc-dynamic.c, startup/start-config-emc-static.c,
startup/start-config-pinsel.c: Basic support for LPC17XX. New memory
configurations for W9825G2JB75I, IS42S32800B, and SST39VF3201.
|
|
|
|
|
|
|
|
|
|
|
| |
* i2c/i2c-config.c: New file.
* include/lcd.h: Removed EMC definitions.
* misc/dma.c: Fixed initialization.
* include/i2c.h, include/io.h, include/lpc-ethernet-config.h,
include/lpc24xx.h, console/console-config.c, i2c/i2c.c, misc/io.c,
misc/lcd.c, startup/bspstart.c, startup/bspstarthooks.c: New pin
configuration API.
* Makefile.am, preinstall.am: Update.
|
|
|
|
|
|
| |
* misc/restart.c: New file.
* Makefile.am: Reflect change from above.
* include/bsp.h: Declare bsp_restart().
|
|
|
|
| |
* misc/timer.c: Fix typo.
|
|
|
|
|
| |
* misc/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/lcd.h, misc/lcd.c: New files.
* misc/io.c, include/io.h: Documentation, bug fixes, more
configurations.
* include/lpc24xx.h: Added DAC and I2S.
* Makefile.am, bsp_specs, preinstall.am, startup/bspstarthooks.c,
startup/linkcmds.lpc2362, startup/linkcmds.lpc23xx_tli800,
startup/linkcmds.lpc24xx_ea, startup/linkcmds.lpc24xx_ncs_ram,
startup/linkcmds.lpc24xx_ncs_rom_ext,
startup/linkcmds.lpc24xx_ncs_rom_int: Update due to linker command
file changes.
|
|
|
|
|
| |
* misc/system-clocks.c: Use define instead of function call to allow
smaller delays.
|
|
|
|
|
| |
* include/lpc24xx.h, misc/system-clocks.c: Removed superfluous include
of <bsp/utility.h>.
|
| |
|
|
|
|
| |
* misc/system-clocks.c: Fixed lpc24xx_micro_seconds_delay().
|
|
|
|
|
|
| |
* include/lpc24xx.h, misc/dma-copy.c, misc/dma.c,
misc/system-clocks.c, ssp/ssp.c, startup/bspstarthooks.c: Removed
superfluous macros.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* misc/bspidle.c: Include bsp.h and fix prototype.
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, include/bsp.h: Rename BSP specific idle
thread to bsp_idle_thread.
* misc/bspidle.c: New file.
* include/idle.h, misc/idle.c: Removed.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, preinstall.am: Added BSP variants.
* console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed
register settings. Cleanup.
* include/bsp.h: Added network defines and functions.
* include/lpc24xx.h: Added AHB and EMC defines. Fixed Ethernet status
sizes.
* include/system-clocks.h, misc/system-clocks.c: Added micro seconds
delay function that uses Timer 1. Changed PLL setup.
* network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478,
startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New
files.
* startup/bspstart.c: Added EMC initialization. Changes for ROM boot.
|
| |
|
| |
|
|
|
|
|
| |
* Makefile.am, preinstall.am, include/lpc24xx.h, misc/system-clocks.c:
Move utility.h
|
|
|