]> rtime.felk.cvut.cz Git - sysless.git/log
sysless.git
14 years agouloi_com: partly fixed compilation for MCS51
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>
14 years agoAdded some more attributes into uLUt substitution library.
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>
14 years agoSysless MCS51 support can be build with C99 standard selected for SDCC.
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>
14 years agoI2C_DRV: added protection against deadlock at bus error state -> call stroke function
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

14 years agoStartup code allows THUMB and THUMB with interworking for applications now.
ppisa [Thu, 22 Oct 2009 12:21:19 +0000 (12:21 +0000)]
Startup code allows THUMB and THUMB with interworking for applications now.

14 years agoARM THUMB: modification to be an THUMB application running from the ulboot
smolik [Sun, 18 Oct 2009 20:17:30 +0000 (20:17 +0000)]
ARM THUMB: modification to be an THUMB application running from the ulboot

14 years agoSTARTUP: fixed thumb mode compilation for boot
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

14 years agoLPC2105 - updated LD scripts to be possible working in ARM 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

14 years agoheader standartization according C99
smolik [Wed, 14 Oct 2009 20:20:08 +0000 (20:20 +0000)]
header standartization according C99

14 years agoLPC2148: fixed definitions for ADC1
smolik [Wed, 14 Oct 2009 20:17:23 +0000 (20:17 +0000)]
LPC2148: fixed definitions for ADC1

14 years agoSome minor updates to unify code with sysless branch.
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[];

14 years agoLPC23xx and possibility to extend standard control requests processing.
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.

14 years agoKEYVAL_ID: added keyval id constants for PDO objects
smolik [Thu, 10 Sep 2009 12:04:08 +0000 (12:04 +0000)]
KEYVAL_ID: added keyval id constants for PDO objects

14 years agoUL_USB BSP: added possibilities for using of I2C1
smolik [Wed, 2 Sep 2009 13:38:08 +0000 (13:38 +0000)]
UL_USB BSP: added possibilities for using of I2C1

14 years agoLPC2105 - fixed end of SRAM in the LDScript
smolik [Wed, 2 Sep 2009 13:18:11 +0000 (13:18 +0000)]
LPC2105 - fixed end of SRAM in the LDScript

14 years agoADS1x46: added header file
smolik [Sun, 30 Aug 2009 07:36:04 +0000 (07:36 +0000)]
ADS1x46: added header file

14 years agoLPC21xx: update SPI definition
smolik [Sat, 29 Aug 2009 20:51:35 +0000 (20:51 +0000)]
LPC21xx: update SPI definition

14 years agoMinor code updates in direction to thumb support and smaller footprint.
ppisa [Tue, 25 Aug 2009 00:59:08 +0000 (00:59 +0000)]
Minor code updates in direction to thumb support and smaller footprint.

14 years agoUpdated ARM ld-scripts for LPC2148 target.
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

14 years agoIAC processing updated for multi-device support.
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

14 years agoLPC2148: added definition of the I2C address
smolik [Wed, 24 Jun 2009 21:42:55 +0000 (21:42 +0000)]
LPC2148: added definition of the I2C address

14 years agoulad21: added into bsp support for msc_adc
smolik [Sat, 13 Jun 2009 07:33:08 +0000 (07:33 +0000)]
ulad21: added into bsp support for msc_adc

15 years agoHA: Disable COM to be able working RE1,2
smolik [Sun, 10 May 2009 05:09:13 +0000 (05:09 +0000)]
HA: Disable COM to be able working RE1,2

15 years agoU2U applicatin: added option for compilation with keyval support - addressing
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

15 years agoARM LPC21xx support updated to allow Thumb mode compilation.
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.

15 years agoLPC2105 - ul_drv fixed, added option CONFIG_OC_UL_DRV_U450_PE_LOST_ERRATA for correct...
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

15 years agoIAP_PLL_FULL_SPEED: disabled by default, user can set this flag in system_def.h,...
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

15 years agosome ulan 51 minimization
smolik [Sun, 15 Mar 2009 21:44:22 +0000 (21:44 +0000)]
some ulan 51 minimization

15 years agoModified applications to be compliant against new OI API, MCS51
smolik [Thu, 12 Mar 2009 12:49:10 +0000 (12:49 +0000)]
Modified applications to be compliant against new OI API, MCS51

15 years agoFixes to build on MCS51 architecture.
ppisa [Wed, 11 Mar 2009 17:57:16 +0000 (17:57 +0000)]
Fixes to build on MCS51 architecture.

15 years agoPBMaster: added system definitions for Profibus and ldscript for single application
smolik [Tue, 10 Mar 2009 21:29:11 +0000 (21:29 +0000)]
PBMaster: added system definitions for Profibus and ldscript for single application

15 years agoCorrected typo in keyval parameters block code.
ppisa [Mon, 23 Feb 2009 16:03:55 +0000 (16:03 +0000)]
Corrected typo in keyval parameters block code.

15 years agoDo the sane things when only single copy of data block setup is used.
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.

15 years agoAdded commands to upload program by useing USB
smolik [Tue, 27 Jan 2009 16:29:59 +0000 (16:29 +0000)]
Added commands to upload program by useing USB

15 years agoGarage gate - added two sensors for monitoring of the gate - open/close
smolik [Tue, 13 Jan 2009 23:05:07 +0000 (23:05 +0000)]
Garage gate -  added two sensors for monitoring of the gate - open/close

15 years agoadded missing includes for PBD driver
smolik [Sun, 21 Dec 2008 23:03:04 +0000 (23:03 +0000)]
added missing includes for PBD driver

15 years agomoved some definitions into PBD driver
smolik [Sun, 21 Dec 2008 22:40:34 +0000 (22:40 +0000)]
moved some definitions into PBD driver

15 years agofixed naming
smolik [Sun, 21 Dec 2008 22:28:55 +0000 (22:28 +0000)]
fixed naming

15 years agoAdded initialization of PBM driver
smolik [Sun, 21 Dec 2008 22:12:17 +0000 (22:12 +0000)]
Added initialization of PBM driver

15 years agoAdded definitions for PBM driver
smolik [Sun, 21 Dec 2008 21:49:24 +0000 (21:49 +0000)]
Added definitions for PBM driver

15 years agoAPP & BOOT upgrade to be enable upload a new firmware into device from running applic...
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

15 years agoAdded command for USB programing by using usb_sendhex program
smolik [Tue, 25 Nov 2008 20:23:31 +0000 (20:23 +0000)]
Added command for USB programing by using usb_sendhex program

15 years agoBefore execution of long processing IAC functions -> switch transmitter driver into...
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

15 years agoThe string.h has to be included in get_timer_ticks.c to pull definition of NULL.
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.

15 years agoBSP base library for genposix added into Makefile.omk.
ppisa [Mon, 24 Nov 2008 15:12:09 +0000 (15:12 +0000)]
BSP base library for genposix added into Makefile.omk.

15 years agoInclude bspbase.h into Posix system_def.h.
ppisa [Mon, 24 Nov 2008 15:05:45 +0000 (15:05 +0000)]
Include bspbase.h into Posix system_def.h.

15 years agoAdded simple implementation of lt_timer base for POSIX target based on gettimeofday.
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.

15 years agoCorrect keyval_mem_store to compile even on MCS51 architecture.
ppisa [Sun, 23 Nov 2008 10:29:05 +0000 (10:29 +0000)]
Correct keyval_mem_store to compile even on MCS51 architecture.

15 years agoFixed compilation of keyval for MSC51 - removed from compilation the memory version...
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

15 years agoDo not stop and start PLL during IAP operations.
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.

15 years agoAdded function to create Key Value store in RAM for testing.
ppisa [Fri, 21 Nov 2008 20:21:12 +0000 (20:21 +0000)]
Added function to create Key Value store in RAM for testing.

15 years agoInitial version of USB bootloader for LPC
smolik [Fri, 21 Nov 2008 17:35:38 +0000 (17:35 +0000)]
Initial version of USB bootloader for LPC

15 years agoUse correct endpoint packet sizes during configuration setup.
ppisa [Fri, 21 Nov 2008 17:08:25 +0000 (17:08 +0000)]
Use correct endpoint packet sizes during configuration setup.

15 years agonow projects can use usb_loader.h from usbmore library
smolik [Fri, 21 Nov 2008 16:50:20 +0000 (16:50 +0000)]
now projects can use usb_loader.h from usbmore library

15 years agoThe code of generic standard request processing in "usbmore" library can be used...
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.

15 years agoJTAG low level pin definition move to system_def.h
smolik [Fri, 21 Nov 2008 10:19:52 +0000 (10:19 +0000)]
JTAG low level pin definition move to system_def.h

15 years agoAdded missing Makefile.
ppisa [Thu, 20 Nov 2008 13:59:13 +0000 (13:59 +0000)]
Added missing Makefile.

15 years agoAdded dummy cpu_def.h.
ppisa [Thu, 20 Nov 2008 13:57:58 +0000 (13:57 +0000)]
Added dummy cpu_def.h.

15 years agoAdded generic architecture support for POSIX targets.
ppisa [Thu, 20 Nov 2008 13:54:50 +0000 (13:54 +0000)]
Added generic architecture support for POSIX targets.

15 years agoAdded board-like generic support for generic POSIX target.
ppisa [Thu, 20 Nov 2008 13:46:32 +0000 (13:46 +0000)]
Added board-like generic support for generic POSIX target.

15 years agoMinor correction in LPC USB support code.
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.

15 years agoJTAG TCLK output value has to be read in some cases.
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.

15 years agoInitial version of JTAG programmer called u2jtag.
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

15 years agoUse right variant when both CONFIG_OC_UL_DRV_U450_VARPINS_DIRNEG and MSRSWAP are...
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.

15 years agoby default enable watchdog
smolik [Mon, 6 Oct 2008 14:15:28 +0000 (14:15 +0000)]
by default enable watchdog

15 years agotimes lower then 1000ms was uncorrent interpreted
smolik [Wed, 10 Sep 2008 09:11:35 +0000 (09:11 +0000)]
times lower then 1000ms was uncorrent interpreted

15 years agoKeyVal type correction for MSC51.
ppisa [Tue, 2 Sep 2008 15:07:04 +0000 (15:07 +0000)]
KeyVal type correction for MSC51.

15 years agoPropagation of cosmetic changes in KeyVal code and correction of psum in kvpb_compact...
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.

15 years agoAdded abort function to the embedded system stub.
ppisa [Mon, 1 Sep 2008 12:10:22 +0000 (12:10 +0000)]
Added abort function to the embedded system stub.

15 years agoUpdated system stubs to work with NEWLIB compiled for reentrancy.
ppisa [Mon, 1 Sep 2008 11:45:42 +0000 (11:45 +0000)]
Updated system stubs to work with NEWLIB compiled for reentrancy.

15 years agoadded new application - ha blinder, initial version
smolik [Mon, 11 Aug 2008 22:00:19 +0000 (22:00 +0000)]
added new application - ha blinder, initial version

15 years agoadded initial version of config for the HA-BLINDER
smolik [Sun, 10 Aug 2008 22:33:00 +0000 (22:33 +0000)]
added initial version of config for the HA-BLINDER

15 years agoinitial version for this board
smolik [Sun, 10 Aug 2008 22:26:47 +0000 (22:26 +0000)]
initial version for this board

15 years agoadded support for compilation of iap for lpc2438 processor
smolik [Sun, 10 Aug 2008 22:23:22 +0000 (22:23 +0000)]
added support for compilation of iap for lpc2438 processor

15 years agoadded the architecture support for new machine - LPC2348
smolik [Sun, 10 Aug 2008 22:20:42 +0000 (22:20 +0000)]
added the architecture support for new machine - LPC2348

15 years agocall the callback function after marked the messsage as FINNISHED. It's more clear...
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.

15 years agoCorrection of Makefiles to work correctly with non-BASH shells.
ppisa [Wed, 16 Jul 2008 20:30:13 +0000 (20:30 +0000)]
Correction of Makefiles to work correctly with non-BASH shells.

15 years agoThe end of the KVPB block should not be computed by abuse of kvpb_region_base() with...
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.

16 years agomake default configuration with CONFIG_OC_UL_DRV_U450_LOOPBACK=y
smolik [Wed, 27 Feb 2008 21:28:11 +0000 (21:28 +0000)]
make default configuration with CONFIG_OC_UL_DRV_U450_LOOPBACK=y

16 years agomakes 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

16 years agocreates the microwindows keyboard driver
smolik [Wed, 27 Feb 2008 20:20:11 +0000 (20:20 +0000)]
creates the microwindows keyboard driver

16 years agomakes KBD more platform independent - now can be compiled with/without microwindows
smolik [Wed, 27 Feb 2008 20:13:36 +0000 (20:13 +0000)]
makes KBD more platform independent - now can be compiled with/without microwindows

16 years agobig fix: variable sys_timer_ticks needs to be with volatile
smolik [Wed, 27 Feb 2008 12:26:52 +0000 (12:26 +0000)]
big fix: variable sys_timer_ticks needs to be with volatile

16 years agoLPC I2C driver updated to provide more complete functionality.
ppisa [Mon, 21 Jan 2008 00:08:02 +0000 (00:08 +0000)]
LPC I2C driver updated to provide more complete functionality.

16 years agoAdded missing OMK option and I2C header
smolik [Sun, 20 Jan 2008 08:51:57 +0000 (08:51 +0000)]
Added missing OMK option and I2C header

16 years agoAdded I2C support for bspbase
smolik [Sun, 20 Jan 2008 08:33:45 +0000 (08:33 +0000)]
Added I2C support for bspbase

16 years agoInitial version of I2C
smolik [Sun, 20 Jan 2008 07:56:06 +0000 (07:56 +0000)]
Initial version of I2C

16 years agofix for 2105 - code CONFIG_OC_UL_DRV_UART_450_TMELATE can't be for this chip
smolik [Thu, 3 Jan 2008 00:37:28 +0000 (00:37 +0000)]
fix for 2105 - code CONFIG_OC_UL_DRV_UART_450_TMELATE can't be for this chip

16 years agomodification to be correctly working on lpc2105 family - tested on 2105 and 2148
smolik [Thu, 3 Jan 2008 00:16:02 +0000 (00:16 +0000)]
modification to be correctly working on lpc2105 family - tested on 2105 and 2148

16 years agocorrected ld scripts - missing 32bytes RAM definition for IAP on the top of RAM
smolik [Wed, 26 Dec 2007 23:12:57 +0000 (23:12 +0000)]
corrected ld scripts - missing 32bytes RAM definition for IAP on the top of RAM

16 years agoadded support for LPC2105:
smolik [Wed, 26 Dec 2007 21:15:55 +0000 (21:15 +0000)]
added support for LPC2105:

ulan - fixed problem with function 450_R2T - receive to transmit by using loopback chip functionality
keyval - CPU needs write data by using ISP with block round minimal 512bytes insteed of 256 as was in case lpc2148,38,...
boot and light_switch applications are working

16 years agoupdate ha-switch application - now is working
smolik [Wed, 28 Nov 2007 22:36:27 +0000 (22:36 +0000)]
update ha-switch application - now is working

16 years agoupdated ldscripts to provide correct value of stack localtion
smolik [Sun, 25 Nov 2007 23:08:01 +0000 (23:08 +0000)]
updated ldscripts to provide correct value of stack localtion

16 years agoadded new project - ha - light switch, designed by Pavel Nemecek
smolik [Thu, 22 Nov 2007 19:54:57 +0000 (19:54 +0000)]
added new project - ha - light switch, designed by Pavel Nemecek

16 years agoadded definitions for the LPC2148 I2C interrupts
smolik [Sat, 15 Sep 2007 21:26:28 +0000 (21:26 +0000)]
added definitions for the LPC2148 I2C interrupts

17 years agonew hisc application - garage gate, this application only "push" buton to open/close...
smolik [Tue, 5 Jun 2007 17:48:44 +0000 (17:48 +0000)]
new hisc application - garage gate, this application only "push" buton to open/close gate

17 years agoprotection ageinst missing of interrupts
smolik [Tue, 5 Jun 2007 11:55:54 +0000 (11:55 +0000)]
protection ageinst missing of interrupts

17 years agou2u for ul_usb1, first working implementation - at the application needs to dissable...
smolik [Fri, 25 May 2007 19:14:29 +0000 (19:14 +0000)]
u2u for ul_usb1, first working implementation - at the application needs to dissable debug informations

17 years agocorrection of ep writing function and acknowladge of address
smolik [Sun, 20 May 2007 12:01:50 +0000 (12:01 +0000)]
correction of ep writing function and acknowladge of address

17 years agointerrupt handling modification - not working
smolik [Fri, 4 May 2007 12:56:32 +0000 (12:56 +0000)]
interrupt handling modification - not working