]> rtime.felk.cvut.cz Git - sysless.git/log
sysless.git
14 years agoeb_ebb - updated makefile to compile only when board lpceurobot is selected
Jiri Kubias [Thu, 14 Jan 2010 15:27:22 +0000 (16:27 +0100)]
eb_ebb - updated makefile to compile only when board lpceurobot is selected

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
14 years agoRemoved directory common/
Michal Sojka [Mon, 11 Jan 2010 14:17:04 +0000 (15:17 +0100)]
Removed directory common/

After merging, a separate directory with common stuff is not needed.
The content of this directory was moved one level up.

14 years agoMerged sysless-lpc21xx and sysless-h8300
Michal Sojka [Mon, 11 Jan 2010 14:17:04 +0000 (15:17 +0100)]
Merged sysless-lpc21xx and sysless-h8300

14 years agoBoard/Makefile* converted changed from symlink to normal files
Michal Sojka [Mon, 11 Jan 2010 13:20:29 +0000 (14:20 +0100)]
Board/Makefile* converted changed from symlink to normal files

14 years agoBoards and apps moved to arm subdirectory
Michal Sojka [Mon, 11 Jan 2010 13:05:45 +0000 (14:05 +0100)]
Boards and apps moved to arm subdirectory

This is preparation for merging with sysless-lpc21xx.

14 years agoUnification of .gitignore across $(ARCH)s
Michal Sojka [Mon, 11 Jan 2010 12:27:01 +0000 (13:27 +0100)]
Unification of .gitignore across $(ARCH)s

14 years agoUnification of .gitignore across $(ARCH)s
Michal Sojka [Mon, 11 Jan 2010 12:26:20 +0000 (13:26 +0100)]
Unification of .gitignore across $(ARCH)s

14 years agoBoards and apps moved to arm subdirectory
Michal Sojka [Mon, 11 Jan 2010 12:05:46 +0000 (13:05 +0100)]
Boards and apps moved to arm subdirectory

This is preparation for merging with sysless-h8300.

14 years agolibs4c converted to symlink
Michal Sojka [Mon, 11 Jan 2010 08:44:12 +0000 (09:44 +0100)]
libs4c converted to symlink

This is necessary for merging with sysless-lpc21xx.

14 years agoFix PLL warnings on spejblarm
Michal Sojka [Wed, 9 Dec 2009 14:27:06 +0000 (15:27 +0100)]
Fix PLL warnings on spejblarm

14 years agoMerge branch 'master' of spinkao@rtime.felk.cvut.cz:/var/git/sysless-lpc21xx
Ondrej Spinka [Wed, 9 Dec 2009 14:08:38 +0000 (15:08 +0100)]
Merge branch 'master' of spinkao@rtime.felk.cvut.cz:/var/git/sysless-lpc21xx

14 years agoHeader of the file was changed to reflect the GNU GPL 2 license
Ondrej Spinka [Wed, 9 Dec 2009 14:06:52 +0000 (15:06 +0100)]
Header of the file was changed to reflect the GNU GPL 2 license

14 years agoADDAT: par uprav v base
Jiri Kubias [Wed, 18 Nov 2009 18:26:34 +0000 (19:26 +0100)]
ADDAT: par uprav v base

14 years agoMerge branch 'master' of rtime.felk.cvut.cz:/var/git/sysless-lpc21xx
Jiri Kubias [Wed, 11 Nov 2009 13:07:03 +0000 (14:07 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/sysless-lpc21xx

14 years agoUART-NOZEN made optional component.
Pavel Pisa [Mon, 9 Nov 2009 13:01:39 +0000 (14:01 +0100)]
UART-NOZEN made optional component.

Please, if you add component or application, and
you are not sure, if it works for all other users,
be so polite and made it optional.

Look at this patch, how it should look like.
  CONFIG_UART_NOZEN=y

If you want to use it, add it into your config.omk

If it is specific/required for given board, add it
into
  sysless-lpc21xx/board/xxx/config.xxx
which should be used as base for config.target

Please, register into Sysless conference on Pandora
and try to keep things usable for others.

  http://pandora.idnes.cz/conference/sysless/

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoMerge branch 'master' of rtime.felk.cvut.cz:/var/git/sysless-lpc21xx
Jiri Kubias [Fri, 6 Nov 2009 19:28:27 +0000 (20:28 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/sysless-lpc21xx

14 years agoaddat: dummy post
Jiri Kubias [Fri, 6 Nov 2009 19:27:48 +0000 (20:27 +0100)]
addat: dummy post

14 years agoAdded USB HID demo -- the famous Mouse rotor
Marek Peca [Wed, 4 Nov 2009 22:43:23 +0000 (23:43 +0100)]
Added USB HID demo -- the famous Mouse rotor

dirty, incomplete, but working; more compliant version has to be merged

14 years agoADDAT_BASE: several updates
Jiri Kubias [Sat, 31 Oct 2009 10:10:41 +0000 (11:10 +0100)]
ADDAT_BASE: several updates

14 years agolpc23xx library - updated 1 wire driver and driver for ds18S20. It still needs some...
Jiri Kubias [Sat, 17 Oct 2009 21:10:35 +0000 (23:10 +0200)]
lpc23xx library  - updated 1 wire driver and driver for ds18S20. It still needs some updates

14 years agoadboard: upravena implementace noveho CAN driveru - chybi ho jeste hodne dodelat
Jiri Kubias [Sat, 17 Oct 2009 19:39:07 +0000 (21:39 +0200)]
adboard: upravena implementace noveho CAN driveru - chybi ho jeste hodne dodelat

14 years agoaddat_base - Jirkuv projekt
Jiri Kubias [Wed, 14 Oct 2009 12:04:22 +0000 (14:04 +0200)]
addat_base  - Jirkuv projekt

14 years agoseveral updates to lpc2364_addat
Jiri Kubias [Wed, 7 Oct 2009 07:04:11 +0000 (09:04 +0200)]
several updates to lpc2364_addat

14 years agoCommon submodule updated to support USB standard request extensions.
Pavel Pisa [Tue, 6 Oct 2009 10:54:52 +0000 (12:54 +0200)]
Common submodule updated to support USB standard request extensions.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoCommon submodule updated to support USB standard request extensions.
Pavel Pisa [Tue, 6 Oct 2009 10:53:17 +0000 (12:53 +0200)]
Common submodule updated to support USB standard request extensions.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoPossibility to extend standard control requests processing.
Pavel Pisa [Tue, 6 Oct 2009 10:49:50 +0000 (12:49 +0200)]
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.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoMerge branch 'master' of kubiaj1@rtime.felk.cvut.cz:/var/git/sysless-lpc21xx
Jiri Kubias [Fri, 18 Sep 2009 13:36:09 +0000 (15:36 +0200)]
Merge branch 'master' of kubiaj1@rtime.felk.cvut.cz:/var/git/sysless-lpc21xx

14 years agoremoved eb_pwr, updatet addat stuff
Jiri Kubias [Fri, 18 Sep 2009 05:46:56 +0000 (07:46 +0200)]
removed eb_pwr, updatet addat stuff

14 years ago1-wire driver and driver for ds18s20 temperature 1-wire sensor. First release - timig...
Jiri Kubias [Fri, 18 Sep 2009 05:16:02 +0000 (07:16 +0200)]
1-wire driver and driver for ds18s20 temperature 1-wire sensor. First release - timig must be fixed

14 years agolpc2364-12: corrected load(-ram,-flash) commands
Marek Peca [Wed, 16 Sep 2009 12:48:55 +0000 (14:48 +0200)]
lpc2364-12: corrected load(-ram,-flash) commands

remark: "-control" has been deleted to enable work with 2-wire only RS232 interface, ie. manual reset is needed

14 years agoAddat inital upload
Jiri Kubias [Wed, 16 Sep 2009 12:14:00 +0000 (14:14 +0200)]
Addat inital upload

14 years agoLPC23xx USB HW init: added polling for clock status
Marek Peca [Tue, 15 Sep 2009 20:49:52 +0000 (22:49 +0200)]
LPC23xx USB HW init: added polling for clock status

14 years agoAdded sample openOCD config file for LPC2364
Marek Peca [Tue, 15 Sep 2009 19:55:55 +0000 (21:55 +0200)]
Added sample openOCD config file for LPC2364

14 years ago(belongs to previous LPC23xx USB commit, I hope...)
Marek Peca [Tue, 15 Sep 2009 19:55:18 +0000 (21:55 +0200)]
(belongs to previous LPC23xx USB commit, I hope...)

excuse me...

14 years agoMerge branch 'master' of pecam1@rtime.felk.cvut.cz:/var/git/sysless-common into HEAD
Marek Peca [Mon, 14 Sep 2009 14:08:21 +0000 (16:08 +0200)]
Merge branch 'master' of pecam1@rtime.felk.cvut.cz:/var/git/sysless-common into HEAD

14 years agoLPC23xx: added USB support with existing lpcusb lib
Marek Peca [Mon, 14 Sep 2009 13:49:26 +0000 (15:49 +0200)]
LPC23xx: added USB support with existing lpcusb lib

14 years agoAdded LPC23xx USB support to existing lpcusb lib
Marek Peca [Mon, 14 Sep 2009 13:47:18 +0000 (15:47 +0200)]
Added LPC23xx USB support to existing lpcusb lib

14 years agoAdded LPC23xx FLASH linkerscript
Marek Peca [Tue, 8 Sep 2009 16:57:43 +0000 (18:57 +0200)]
Added LPC23xx FLASH linkerscript

14 years agoLPC23xx PLL: security IRQ locking added
Marek Peca [Mon, 7 Sep 2009 18:14:22 +0000 (20:14 +0200)]
LPC23xx PLL: security IRQ locking added

14 years agoLPC23xx PLL setting corrected
Marek Peca [Mon, 7 Sep 2009 17:57:35 +0000 (19:57 +0200)]
LPC23xx PLL setting corrected

14 years agolpc23xx test - smazat v budoucnu
Jiri Kubias [Mon, 7 Sep 2009 12:14:11 +0000 (14:14 +0200)]
lpc23xx test - smazat v budoucnu

14 years agoAdded minimalistic LPC2364 demo app.
Marek Peca [Fri, 4 Sep 2009 23:23:18 +0000 (01:23 +0200)]
Added minimalistic LPC2364 demo app.

14 years agoadded symlinks to lpc23xx/libs
Marek Peca [Fri, 4 Sep 2009 23:09:13 +0000 (01:09 +0200)]
added symlinks to lpc23xx/libs

14 years agolpc23xx.h: PWM register shortcuts corrected (PWM1* instead of PWM0*)
Marek Peca [Fri, 4 Sep 2009 23:08:13 +0000 (01:08 +0200)]
lpc23xx.h: PWM register shortcuts corrected (PWM1* instead of PWM0*)

14 years agopwm, uart_zen: LPC21xx specific PINSELs deactivated for other platforms
Marek Peca [Fri, 4 Sep 2009 23:07:35 +0000 (01:07 +0200)]
pwm, uart_zen: LPC21xx specific PINSELs deactivated for other platforms

14 years agoLPC23xx PLL support added
Marek Peca [Fri, 4 Sep 2009 23:05:10 +0000 (01:05 +0200)]
LPC23xx PLL support added

14 years agoadded mach-lpc23xx, base LPC23xx/24xx support
Marek Peca [Fri, 4 Sep 2009 21:19:54 +0000 (23:19 +0200)]
added mach-lpc23xx, base LPC23xx/24xx support

15 years agoMerge branch 'master' of pisa@rtime.felk.cvut.cz:/var/git/sysless-h8300
Pavel Pisa [Sun, 26 Apr 2009 22:08:23 +0000 (00:08 +0200)]
Merge branch 'master' of pisa@rtime.felk.cvut.cz:/var/git/sysless-h8300

15 years agoUpdate common subproject.
Pavel Pisa [Sun, 26 Apr 2009 22:07:54 +0000 (00:07 +0200)]
Update common subproject.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agoCmd processor updated and i2str function moved to misc library.
Pavel Pisa [Sun, 26 Apr 2009 22:04:54 +0000 (00:04 +0200)]
Cmd processor updated and i2str function moved to misc library.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agoOLD CAN lib (-lcan): rudimentary CAN.7 erratum workaround
Marek Peca [Thu, 23 Apr 2009 15:52:31 +0000 (17:52 +0200)]
OLD CAN lib (-lcan): rudimentary CAN.7 erratum workaround

new fn can_self_tx(): use in place of can_tx(), but your transmitted message will be received by yourself too

15 years agosome comments altered
Ondrej Spinka [Mon, 30 Mar 2009 11:03:27 +0000 (13:03 +0200)]
some comments altered

15 years agoAdjusted status LED definitions
Ondrej Spinka [Mon, 30 Mar 2009 10:59:16 +0000 (12:59 +0200)]
Adjusted status LED definitions

15 years agoAdjusted Villard charge wait constant
Ondrej Spinka [Mon, 30 Mar 2009 10:55:09 +0000 (12:55 +0200)]
Adjusted Villard charge wait constant

15 years agoNow using pll library to set the pll instead of "hard" setting
Ondrej Spinka [Mon, 30 Mar 2009 09:26:14 +0000 (11:26 +0200)]
Now using pll library to set the pll instead of "hard" setting

15 years agomigrated to "official" release of the pwm library.
Ondrej Spinka [Mon, 30 Mar 2009 08:20:41 +0000 (10:20 +0200)]
migrated to "official" release of the pwm library.
Axed MEMMAP setting due to new startup code.

15 years agoMerge branch 'eurobot'
Michal Sojka [Sun, 29 Mar 2009 10:10:51 +0000 (12:10 +0200)]
Merge branch 'eurobot'

15 years agoAdded LPC2xxx PLL library
Marek P [Sat, 28 Mar 2009 20:46:53 +0000 (21:46 +0100)]
Added LPC2xxx PLL library

Does not affect startup codes -- available
for general, independent use. I hope it is more
efficient than current lpceurobot/*/startcfg routine.

15 years agoAdded LPC2xxx PWM library
Marek P [Sat, 28 Mar 2009 16:07:44 +0000 (17:07 +0100)]
Added LPC2xxx PWM library

15 years agoLPC2xxx FLASH linker scripts cleaned to resemble RAM script
Marek P [Sat, 28 Mar 2009 14:50:31 +0000 (15:50 +0100)]
LPC2xxx FLASH linker scripts cleaned to resemble RAM script

The only material change should be stack unaligned to 256-byte boundary
(I hope...)

15 years agoLPC2119 FLASH again corrected by one sector
Marek P [Sat, 28 Mar 2009 14:40:27 +0000 (15:40 +0100)]
LPC2119 FLASH again corrected by one sector

Philips says: Boot Block always resides on the top of the on-chip available Flash memory. In case of 128 kB Flash, it is the 16 th sector (sector with logical number 15), and in case of 256 kB Flash, it is the 18 th sector (sector with logical number 17). Flash memory sector where Boot Block resides is not available for user to store code.

15 years agoNew LPC21xx RAM/ISP linker script
Marek P [Sat, 28 Mar 2009 14:19:39 +0000 (15:19 +0100)]
New LPC21xx RAM/ISP linker script

The end memory hole now usable by bss & stack,
+ various cleanups.
Removed stack 256 alignmnet -- has there been any reason for it?

15 years agoISP reserved high RAM area corrected again
Marek P [Sat, 28 Mar 2009 14:02:31 +0000 (15:02 +0100)]
ISP reserved high RAM area corrected again

Is it right, now? Who can trust Philips' docs..
Anyway, 0x200+0x3e00>0x4000, so the previous correction has not been correct.

15 years agonew crt0.S (auto init of FLASH/RAM)
Marek P [Sat, 28 Mar 2009 13:06:56 +0000 (14:06 +0100)]
new crt0.S (auto init of FLASH/RAM)

1. common for FLASH/RAM, auto data init
2. added optional memory_init (if needed prior to libc_init)
3. !automatically sets MEMMAP (RAM/FLASH)

15 years agomistaken corrections corrected
Marek P [Sat, 28 Mar 2009 12:34:52 +0000 (13:34 +0100)]
mistaken corrections corrected

1. C1GSR is written to reset error counters
2. CAN.5 erratum workaround uncommented

15 years agofixed ldscripts for spejblARM
Ondrej Spinka [Wed, 25 Mar 2009 13:29:48 +0000 (14:29 +0100)]
fixed ldscripts for spejblARM

15 years agoMassive update - fixed buffer overrun resolution, potential race-condition problem...
Ondrej Spinka [Wed, 25 Mar 2009 13:21:23 +0000 (14:21 +0100)]
Massive update - fixed buffer overrun resolution, potential race-condition problem, updated error checking, non-blocking write etc.

15 years agofixed potential memory alignment problem
Ondrej Spinka [Wed, 25 Mar 2009 13:19:33 +0000 (14:19 +0100)]
fixed potential memory alignment problem

15 years agofixed RAMH size
Ondrej Spinka [Wed, 25 Mar 2009 13:13:35 +0000 (14:13 +0100)]
fixed RAMH size

15 years agoRAMA DAM software massive update
Ondrej Spinka [Wed, 25 Mar 2009 13:02:15 +0000 (14:02 +0100)]
RAMA DAM software massive update

15 years agolpceurobot: Display a warning when a not tested compiler version
Michal Sojka [Fri, 20 Mar 2009 15:49:20 +0000 (16:49 +0100)]
lpceurobot: Display a warning when a not tested compiler version

This board doesn't work with gcc 4.3. We currently do not have time to find why.

15 years agoUpdated to the latest systless-common
Michal Sojka [Wed, 18 Mar 2009 17:44:50 +0000 (18:44 +0100)]
Updated to the latest systless-common

15 years agoFixed some lpc21isp warnings
Michal Sojka [Wed, 18 Mar 2009 17:38:47 +0000 (18:38 +0100)]
Fixed some lpc21isp warnings

15 years agoAdded newer version (1.64) of lpc21isp
Michal Sojka [Wed, 18 Mar 2009 17:34:32 +0000 (18:34 +0100)]
Added newer version (1.64) of lpc21isp

15 years agoUpdated leaf Makefiles to avoid dash warning
Michal Sojka [Wed, 18 Mar 2009 17:31:31 +0000 (18:31 +0100)]
Updated leaf Makefiles to avoid dash warning

15 years agoFixed flash loading in lpceurobot
Jarda Sach [Wed, 18 Mar 2009 18:16:52 +0000 (18:16 +0000)]
Fixed flash loading in lpceurobot

Signed-off-by: Michal Sojka <sojka@rtime.felk.cvut.cz>
15 years agoMake ledblink not depend on boot_fn library
Michal Sojka [Tue, 24 Feb 2009 13:13:38 +0000 (14:13 +0100)]
Make ledblink not depend on boot_fn library

15 years agoFlash timeout can be shorter as there was a bug in FlWait()
Michal Sojka [Tue, 24 Feb 2009 12:53:37 +0000 (13:53 +0100)]
Flash timeout can be shorter as there was a bug in FlWait()

15 years agoFixed a possible bug in FlWait()
Michal Sojka [Tue, 24 Feb 2009 12:31:23 +0000 (13:31 +0100)]
Fixed a possible bug in FlWait()

Missing \n caused the mov.w   #1,r1 to be skipped by assembler. This resulted
in uninitialized value of r1 and the resulting wait time was not
deterministic.

15 years agoAdded longer timeout for flashing
Michal Sojka [Tue, 24 Feb 2009 12:13:32 +0000 (13:13 +0100)]
Added longer timeout for flashing

In current (maybe buggy) version of boot_fn, it may take quite long time
to finish flash programming.

15 years agoAdded more meaningful bootloader error messages
Michal Sojka [Tue, 24 Feb 2009 10:57:30 +0000 (11:57 +0100)]
Added more meaningful bootloader error messages

15 years agoAdded comments to bloader, removed unnecessary link variants
Michal Sojka [Mon, 23 Feb 2009 07:52:58 +0000 (08:52 +0100)]
Added comments to bloader, removed unnecessary link variants

15 years agoAdded meaningful error message
Michal Sojka [Mon, 23 Feb 2009 07:51:26 +0000 (08:51 +0100)]
Added meaningful error message

15 years agoUpdated .gitignore
Michal Sojka [Mon, 23 Feb 2009 07:13:27 +0000 (08:13 +0100)]
Updated .gitignore

15 years agoh8canusb updated to the new toolchain - bootstrap doesn't work!!!
Michal Sojka [Fri, 20 Feb 2009 20:30:48 +0000 (21:30 +0100)]
h8canusb updated to the new toolchain - bootstrap doesn't work!!!

15 years agotohit: Updated makefiles to support verbose bootstrap
Michal Sojka [Fri, 20 Feb 2009 20:27:28 +0000 (21:27 +0100)]
tohit: Updated makefiles to support verbose bootstrap

15 years agotohit: Added verbose messages
Michal Sojka [Fri, 20 Feb 2009 20:19:36 +0000 (21:19 +0100)]
tohit: Added verbose messages

15 years agotohit: Fixed compiler warnings
Michal Sojka [Fri, 20 Feb 2009 19:54:49 +0000 (20:54 +0100)]
tohit: Fixed compiler warnings

15 years agoLeaf Makefiles updated to work with dash without warnings
Michal Sojka [Fri, 20 Feb 2009 13:55:14 +0000 (14:55 +0100)]
Leaf Makefiles updated to work with dash without warnings

15 years agoLeaf Makefiles updated to work with dash without warnings
Michal Sojka [Fri, 20 Feb 2009 14:02:39 +0000 (15:02 +0100)]
Leaf Makefiles updated to work with dash without warnings

15 years agoThe h8eurobot board ldscripts modified to allow ELF build
Michal Sojka [Tue, 3 Feb 2009 09:05:29 +0000 (10:05 +0100)]
The h8eurobot board ldscripts modified to allow ELF build

The COFF is no longer supported by GCC for H8S MCUs.

15 years agoRemoved symlinks to obsolete files
Michal Sojka [Tue, 3 Feb 2009 08:15:42 +0000 (09:15 +0100)]
Removed symlinks to obsolete files

15 years agorename*d*_include_HEADERS typo again in lpcanvca
Marek P [Thu, 22 Jan 2009 10:59:33 +0000 (11:59 +0100)]
rename*d*_include_HEADERS typo again in lpcanvca

15 years agoadded highlevel CAN library lpcanvca, with API resembling OCERA VCA
Marek P [Wed, 21 Jan 2009 08:36:28 +0000 (09:36 +0100)]
added highlevel CAN library lpcanvca, with API resembling OCERA VCA

lpcanvca works atop of lowlevel lpcan library. API is sancta simplicitas,
inspired by OCERA Virtual CAN API (VCA), available in libvca, using LinCAN
on host computer.

Common points: blocking and nonblocking calls;
Differences: different initialization (need to supply IRQ vector numbers,
 CAN HW controller number 0 or 1 instead of /dev filename), no timeout
 support

15 years agotypo corrected: rename*d*_include_HEADERS in Makefile.omk
Marek P [Wed, 21 Jan 2009 08:03:08 +0000 (09:03 +0100)]
typo corrected: rename*d*_include_HEADERS in Makefile.omk

15 years agonew low-level CAN library for buggy LPC2119: lpcan
Marek P [Wed, 21 Jan 2009 07:54:17 +0000 (08:54 +0100)]
new low-level CAN library for buggy LPC2119: lpcan

Enhancements over current "can" library:
+ complete interupt handling (rx/tx/error)
+ errata workarounds for all known early LPC21xx problems
+ cyclic buffers
+ 2 CAN controllers supported
Drawbacks:
- code much larger
- higher overhead, resulting in longer delays between messages
(since buggy LPCs do not support double-buffering)

This is a low-level interface, an easy interface is offered by
lpcanvca library, which will probably satisfy your needs.

15 years agoThe hi_cpu2 board ldscripts modified to allow ELF build.
Pavel Pisa [Sun, 11 Jan 2009 14:21:05 +0000 (15:21 +0100)]
The hi_cpu2 board ldscripts modified to allow ELF build.

The COFF is no longer supported by GCC for H8S MCUs.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agoh8s2638 MCU register addresses moved to 0xffff0000 range
Pavel Pisa [Sun, 11 Jan 2009 14:19:33 +0000 (15:19 +0100)]
h8s2638 MCU register addresses moved to 0xffff0000 range

The H8S CPU supports only 24-bit addresses so upper
8-bits of 32 words are ignored, but GCC generates
16-bit addresses only for lower 32kB and last 32kB
starting at 0xffff8000. This allows contributes
to shrinking of code size.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agoCorrection to compile bloader by GCC 4.x.
Pavel Pisa [Sun, 11 Jan 2009 14:14:49 +0000 (15:14 +0100)]
Correction to compile bloader by GCC 4.x.

Left hand operand typecasting in assignment is not allowed by C99.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agoUpdate of bit operations primitives in cpu_def.h for h8300-elf-gcc (GCC) 4.3.2.
Pavel Pisa [Sun, 11 Jan 2009 14:13:00 +0000 (15:13 +0100)]
Update of bit operations primitives in cpu_def.h for h8300-elf-gcc (GCC) 4.3.2.

This version provides more functionality, full array support
for char, short, int, long in clear_bit() and set_bit()
functions and the constrains used for bset and bclr instructions
allows compilation with newer GCC versions.
The fallback "o" case is not fully correct because it allows
register with displacement address but dummy "r" constrains
argument forces to prepare address in register anyway and should
eliminate problematic case. If internal GCC optimization is corrected
"o" case should be removed.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>