]>
rtime.felk.cvut.cz Git - sysless.git/log
Petr Smolik [Sat, 24 Apr 2010 20:05:56 +0000 (22:05 +0200)]
iap_kvpb: create the library at the level arch not in the machine level.
The library is shared by all machines.
lpc17xx: iap, kvpb libraries
bsp initializes ulan
reduce warnings
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Fri, 23 Apr 2010 13:18:13 +0000 (15:18 +0200)]
lpc17xx: initial version of bspbase and hal
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Wed, 21 Apr 2010 16:44:57 +0000 (18:44 +0200)]
Updates and corrections in ARM generalized IRQ handling.
The functions request_irq(} and free_irq() moved
from uLan driver sysless support into machine specific
HAL library.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Wed, 21 Apr 2010 14:19:17 +0000 (16:19 +0200)]
irq: generic proposal for interrupt handling
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Thu, 1 Apr 2010 21:49:13 +0000 (23:49 +0200)]
Yet another LPC21xx ldscripts unification and polishing.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 1 Apr 2010 21:22:23 +0000 (23:22 +0200)]
Corrected typical novice bug in LPC21xx ldscripts.
I do not believe, I have overlooked this problem
when I have seen these scripts included in uLan project
first time.
The sequence
.text or any other section:
{
....
_etext = ALIGN( 4 ) ;
} > FLASHAPP
is evil and author does not know, what he is doing.
The _etext is correctly aligned to 4, but section
actual position counter is not advanced to aligned
value. So other data (for example .data section in this case)
directed to fill the same region (FLASHAPP) are directly
concatenated after last allocated byte (unaligned !!!)
in the section.
The sequence has to be like this.
.text or any other section:
{
....
. = ALIGN( 4 ) ;
_etext = . ;
} > FLASHAPP
The section actual position counter is assigned
to aligned position first and then the symbol
value is asigned.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 1 Apr 2010 08:34:28 +0000 (10:34 +0200)]
Corrected Cortex-M3 interrupt state saving.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 31 Mar 2010 17:23:56 +0000 (19:23 +0200)]
ARM CPU Cotex-M3 CLI/STI definitions can be used even on Cortex-M0/M1.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 31 Mar 2010 17:00:52 +0000 (19:00 +0200)]
ARM CPU definitions expanded for minimal THUMB2/Cortex-M3 support.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Wed, 31 Mar 2010 16:35:25 +0000 (18:35 +0200)]
LPC17xx: added a common board config
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Wed, 31 Mar 2010 15:26:31 +0000 (17:26 +0200)]
LPC17xx registers header-files and common board skeleton added.
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Mon, 29 Mar 2010 13:49:29 +0000 (15:49 +0200)]
The system stub updated from rtime/sysless version.
These changes are required to build with GCC-4.4.3 + NewLib-18
arm-elf toolchain.
Changes provided by Tran Duy Khanh.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 Jan 2010 09:07:52 +0000 (10:07 +0100)]
ARM sysless: Attempt to adjust bbconfig addresses to be compatible with LPC21xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 20 Jan 2010 16:57:32 +0000 (17:57 +0100)]
Added bbconfig support.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 30 Nov 2009 18:46:26 +0000 (19:46 +0100)]
UL_USB1: configuration for OpenOCD LPC2148 debugging with PiKRON JT_USB5 interface.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Fri, 27 Nov 2009 13:06:19 +0000 (14:06 +0100)]
lt_timer: reordered headers include to be able override
define LT_TIMER_VAR_LOC by system_def.h
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Fri, 27 Nov 2009 12:01:05 +0000 (13:01 +0100)]
arm iap is shared by lpc21xx and lpc23xx
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Fri, 27 Nov 2009 10:50:17 +0000 (11:50 +0100)]
uloicom: fixed mcs51 compilation after ulan library split
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Thu, 26 Nov 2009 22:25:15 +0000 (23:25 +0100)]
uloi_com: partly fixed compilation for MCS51
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Sun, 8 Nov 2009 01:32:25 +0000 (02:32 +0100)]
Added some more attributes into uLUt substitution library.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 8 Nov 2009 00:32:48 +0000 (01:32 +0100)]
Sysless MCS51 support can be build with C99 standard selected for SDCC.
CFLAGS += --std-c99
The change is mostly mechanical data -> __data, _asm -> __asm etc.
These changes should allow to use uLUt library for MSC51
in future.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
smolik [Sat, 24 Oct 2009 23:07:16 +0000 (23:07 +0000)]
I2C_DRV: added protection against deadlock at bus error state -> call stroke function
ppisa [Thu, 22 Oct 2009 12:21:19 +0000 (12:21 +0000)]
Startup code allows THUMB and THUMB with interworking for applications now.
smolik [Sun, 18 Oct 2009 20:17:30 +0000 (20:17 +0000)]
ARM THUMB: modification to be an THUMB application running from the ulboot
smolik [Sat, 17 Oct 2009 15:49:34 +0000 (15:49 +0000)]
STARTUP: fixed thumb mode compilation for boot
after returning from the subrutine _setup_board processor is in the thumb mode.
todo:
fix startup code for app compilation - all code have to be in the thumb mode
smolik [Sat, 17 Oct 2009 10:42:38 +0000 (10:42 +0000)]
LPC2105 - updated LD scripts to be possible working in ARM thumb mode
smolik [Wed, 14 Oct 2009 20:20:08 +0000 (20:20 +0000)]
header standartization according C99
smolik [Wed, 14 Oct 2009 20:17:23 +0000 (20:17 +0000)]
LPC2148: fixed definitions for ADC1
ppisa [Tue, 6 Oct 2009 10:47:13 +0000 (10:47 +0000)]
Some minor updates to unify code with sysless branch.
Reverted string descriptor type change which could cause
bad placement of text data to length information
char *bString;
char bString[];
ppisa [Tue, 6 Oct 2009 10:23:12 +0000 (10:23 +0000)]
LPC23xx and possibility to extend standard control requests processing.
The standard standard control requests processing
can be modified/extended by two means:
- providing own usb_standard_control_response
function some module directly linked into application.
This function has to process at least these
USB_REQUEST_GET/SET/CLEAR functions as library
provided version.
- set pointer standard_fnc in usb_device_t structure
to point to own function processing requests which
can forward standard ones to library provided
usb_standard_control_response function.
smolik [Thu, 10 Sep 2009 12:04:08 +0000 (12:04 +0000)]
KEYVAL_ID: added keyval id constants for PDO objects
smolik [Wed, 2 Sep 2009 13:38:08 +0000 (13:38 +0000)]
UL_USB BSP: added possibilities for using of I2C1
smolik [Wed, 2 Sep 2009 13:18:11 +0000 (13:18 +0000)]
LPC2105 - fixed end of SRAM in the LDScript
smolik [Sun, 30 Aug 2009 07:36:04 +0000 (07:36 +0000)]
ADS1x46: added header file
smolik [Sat, 29 Aug 2009 20:51:35 +0000 (20:51 +0000)]
LPC21xx: update SPI definition
ppisa [Tue, 25 Aug 2009 00:59:08 +0000 (00:59 +0000)]
Minor code updates in direction to thumb support and smaller footprint.
ppisa [Mon, 10 Aug 2009 14:12:44 +0000 (14:12 +0000)]
Updated ARM ld-scripts for LPC2148 target.
Option KEEP specified for vector table section ".ivt"
to not be discarded during section garbage collection
if size optimization GCC flags are used
OPTIMIZE= -Os -ffunction-sections -fdata-sections -Wl,--gc-section
LDFLAGS += -Wl,--gc-section
ppisa [Mon, 10 Aug 2009 08:45:16 +0000 (08:45 +0000)]
IAC processing updated for multi-device support.
The changes are based on Stanislav Hrbek diploma thesis work.
Missing parts are small modifications in main FSM loop
UARTSs and exporting interface for switching and configuring
sub-devices.
The multi-device option can be enabled by
CONFIG_OC_UL_DRV_WITH_MULTI_DEV=y
smolik [Wed, 24 Jun 2009 21:42:55 +0000 (21:42 +0000)]
LPC2148: added definition of the I2C address
smolik [Sat, 13 Jun 2009 07:33:08 +0000 (07:33 +0000)]
ulad21: added into bsp support for msc_adc
smolik [Sun, 10 May 2009 05:09:13 +0000 (05:09 +0000)]
HA: Disable COM to be able working RE1,2
smolik [Fri, 8 May 2009 20:02:36 +0000 (20:02 +0000)]
U2U applicatin: added option for compilation with keyval support - addressing
ULOI: fixed compilation for the MSC51 processor
ppisa [Wed, 29 Apr 2009 23:56:24 +0000 (23:56 +0000)]
ARM LPC21xx support updated to allow Thumb mode compilation.
Requires checking if it is correct and if some regression
has not been caused for ARM mode build too.
smolik [Sun, 26 Apr 2009 20:55:48 +0000 (20:55 +0000)]
LPC2105 - ul_drv fixed, added option CONFIG_OC_UL_DRV_U450_PE_LOST_ERRATA for correct working on this
smolik [Sun, 22 Mar 2009 09:38:17 +0000 (09:38 +0000)]
IAP_PLL_FULL_SPEED: disabled by default, user can set this flag in system_def.h, not correct behaviour
smolik [Sun, 15 Mar 2009 21:44:22 +0000 (21:44 +0000)]
some ulan 51 minimization
smolik [Thu, 12 Mar 2009 12:49:10 +0000 (12:49 +0000)]
Modified applications to be compliant against new OI API, MCS51
ppisa [Wed, 11 Mar 2009 17:57:16 +0000 (17:57 +0000)]
Fixes to build on MCS51 architecture.
smolik [Tue, 10 Mar 2009 21:29:11 +0000 (21:29 +0000)]
PBMaster: added system definitions for Profibus and ldscript for single application
ppisa [Mon, 23 Feb 2009 16:03:55 +0000 (16:03 +0000)]
Corrected typo in keyval parameters block code.
ppisa [Sun, 22 Feb 2009 17:43:55 +0000 (17:43 +0000)]
Do the sane things when only single copy of data block setup is used.
smolik [Tue, 27 Jan 2009 16:29:59 +0000 (16:29 +0000)]
Added commands to upload program by useing USB
smolik [Tue, 13 Jan 2009 23:05:07 +0000 (23:05 +0000)]
Garage gate - added two sensors for monitoring of the gate - open/close
smolik [Sun, 21 Dec 2008 23:03:04 +0000 (23:03 +0000)]
added missing includes for PBD driver
smolik [Sun, 21 Dec 2008 22:40:34 +0000 (22:40 +0000)]
moved some definitions into PBD driver
smolik [Sun, 21 Dec 2008 22:28:55 +0000 (22:28 +0000)]
fixed naming
smolik [Sun, 21 Dec 2008 22:12:17 +0000 (22:12 +0000)]
Added initialization of PBM driver
smolik [Sun, 21 Dec 2008 21:49:24 +0000 (21:49 +0000)]
Added definitions for PBM driver
smolik [Sun, 7 Dec 2008 11:05:05 +0000 (11:05 +0000)]
APP & BOOT upgrade to be enable upload a new firmware into device from running application - u2uv2
Now is possible upload new u2uv2 firmware be using commands - make load run USB=1
smolik [Tue, 25 Nov 2008 20:23:31 +0000 (20:23 +0000)]
Added command for USB programing by using usb_sendhex program
smolik [Tue, 25 Nov 2008 14:54:47 +0000 (14:54 +0000)]
Before execution of long processing IAC functions -> switch transmitter driver into input direction
ppisa [Mon, 24 Nov 2008 15:20:05 +0000 (15:20 +0000)]
The string.h has to be included in get_timer_ticks.c to pull definition of NULL.
ppisa [Mon, 24 Nov 2008 15:12:09 +0000 (15:12 +0000)]
BSP base library for genposix added into Makefile.omk.
ppisa [Mon, 24 Nov 2008 15:05:45 +0000 (15:05 +0000)]
Include bspbase.h into Posix system_def.h.
ppisa [Mon, 24 Nov 2008 14:54:58 +0000 (14:54 +0000)]
Added simple implementation of lt_timer base for POSIX target based on gettimeofday.
ppisa [Sun, 23 Nov 2008 10:29:05 +0000 (10:29 +0000)]
Correct keyval_mem_store to compile even on MCS51 architecture.
smolik [Sat, 22 Nov 2008 20:51:34 +0000 (20:51 +0000)]
Fixed compilation of keyval for MSC51 - removed from compilation the memory version for this architecture
ppisa [Fri, 21 Nov 2008 23:18:20 +0000 (23:18 +0000)]
Do not stop and start PLL during IAP operations.
This is against specification, but it seems to work and PLL
changes cause fatal problems to active USB and uLan communication.
ppisa [Fri, 21 Nov 2008 20:21:12 +0000 (20:21 +0000)]
Added function to create Key Value store in RAM for testing.
smolik [Fri, 21 Nov 2008 17:35:38 +0000 (17:35 +0000)]
Initial version of USB bootloader for LPC
ppisa [Fri, 21 Nov 2008 17:08:25 +0000 (17:08 +0000)]
Use correct endpoint packet sizes during configuration setup.
smolik [Fri, 21 Nov 2008 16:50:20 +0000 (16:50 +0000)]
now projects can use usb_loader.h from usbmore library
ppisa [Fri, 21 Nov 2008 15:33:51 +0000 (15:33 +0000)]
The code of generic standard request processing in "usbmore" library can be used even with LPC targets.
smolik [Fri, 21 Nov 2008 10:19:52 +0000 (10:19 +0000)]
JTAG low level pin definition move to system_def.h
ppisa [Thu, 20 Nov 2008 13:59:13 +0000 (13:59 +0000)]
Added missing Makefile.
ppisa [Thu, 20 Nov 2008 13:57:58 +0000 (13:57 +0000)]
Added dummy cpu_def.h.
ppisa [Thu, 20 Nov 2008 13:54:50 +0000 (13:54 +0000)]
Added generic architecture support for POSIX targets.
ppisa [Thu, 20 Nov 2008 13:46:32 +0000 (13:46 +0000)]
Added board-like generic support for generic POSIX target.
ppisa [Tue, 11 Nov 2008 19:46:22 +0000 (19:46 +0000)]
Minor correction in LPC USB support code.
The USB_CMD_SEL_EP_CLRI command expects following data read,
but stall condition (USBC_EP_STAT_ST ) setting is achieved by
data write (the function is invoked lpc_write_cmd_data).
The right command label is USB_CMD_SET_EP_STAT, but it has
same value as USB_CMD_SEL_EP_CLR and is distinguished distinguishes
by following read only. So change has no real effect on compiled code.
The other problem is in function lpc_usb_read_endpoint()
if buffer size is smaller then selected maximal packet size.
Behavior corrected, but again no real effect for correct uses
of the function there.
ppisa [Wed, 5 Nov 2008 10:26:11 +0000 (10:26 +0000)]
JTAG TCLK output value has to be read in some cases.
Port control registers and values accessibility can be different
on some architectures.
smolik [Sun, 2 Nov 2008 22:08:49 +0000 (22:08 +0000)]
Initial version of JTAG programmer called u2jtag.
To works properly is neccesary to copy/make slink in ulan/embedded/libs4c to ulan-addons/libs4c/jtag
ppisa [Thu, 23 Oct 2008 15:51:10 +0000 (15:51 +0000)]
Use right variant when both CONFIG_OC_UL_DRV_U450_VARPINS_DIRNEG and MSRSWAP are set.
smolik [Mon, 6 Oct 2008 14:15:28 +0000 (14:15 +0000)]
by default enable watchdog
smolik [Wed, 10 Sep 2008 09:11:35 +0000 (09:11 +0000)]
times lower then 1000ms was uncorrent interpreted
ppisa [Tue, 2 Sep 2008 15:07:04 +0000 (15:07 +0000)]
KeyVal type correction for MSC51.
ppisa [Tue, 2 Sep 2008 14:44:03 +0000 (14:44 +0000)]
Propagation of cosmetic changes in KeyVal code and correction of psum in kvpb_compact_region.
ppisa [Mon, 1 Sep 2008 12:10:22 +0000 (12:10 +0000)]
Added abort function to the embedded system stub.
ppisa [Mon, 1 Sep 2008 11:45:42 +0000 (11:45 +0000)]
Updated system stubs to work with NEWLIB compiled for reentrancy.
smolik [Mon, 11 Aug 2008 22:00:19 +0000 (22:00 +0000)]
added new application - ha blinder, initial version
smolik [Sun, 10 Aug 2008 22:33:00 +0000 (22:33 +0000)]
added initial version of config for the HA-BLINDER
smolik [Sun, 10 Aug 2008 22:26:47 +0000 (22:26 +0000)]
initial version for this board
smolik [Sun, 10 Aug 2008 22:23:22 +0000 (22:23 +0000)]
added support for compilation of iap for lpc2438 processor
smolik [Sun, 10 Aug 2008 22:20:42 +0000 (22:20 +0000)]
added the architecture support for new machine - LPC2348
smolik [Sun, 10 Aug 2008 22:07:16 +0000 (22:07 +0000)]
call the callback function after marked the messsage as FINNISHED. It's more clear behavior than before.
ppisa [Wed, 16 Jul 2008 20:30:13 +0000 (20:30 +0000)]
Correction of Makefiles to work correctly with non-BASH shells.
ppisa [Tue, 8 Jul 2008 18:52:19 +0000 (18:52 +0000)]
The end of the KVPB block should not be computed by abuse of kvpb_region_base() with increased regidx.
smolik [Wed, 27 Feb 2008 21:28:11 +0000 (21:28 +0000)]
make default configuration with CONFIG_OC_UL_DRV_U450_LOOPBACK=y
smolik [Wed, 27 Feb 2008 21:27:17 +0000 (21:27 +0000)]
makes default configuration with CONFIG_OC_UL_DRV_U450_LOOPBACK=y
smolik [Wed, 27 Feb 2008 20:20:11 +0000 (20:20 +0000)]
creates the microwindows keyboard driver
smolik [Wed, 27 Feb 2008 20:13:36 +0000 (20:13 +0000)]
makes KBD more platform independent - now can be compiled with/without microwindows