]> rtime.felk.cvut.cz Git - sysless.git/log
sysless.git
13 years agoCorrected LPC SSP SPI driver to allow receive only transfers.
Pavel Pisa [Fri, 17 Dec 2010 13:37:01 +0000 (14:37 +0100)]
Corrected LPC SSP SPI driver to allow receive only transfers.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoldscripts for lpc1758
Petr Smolik [Fri, 10 Dec 2010 13:58:31 +0000 (14:58 +0100)]
ldscripts for lpc1758
config and system_def for a u2u convertor based on lpc1758

Signed-off-by: Petr Smolik <petr@smoliku.cz>
13 years agoSSP0 pin definitions for LMC board updated to match SPI SSP driver.
Pavel Pisa [Tue, 23 Nov 2010 21:07:20 +0000 (22:07 +0100)]
SSP0 pin definitions for LMC board updated to match SPI SSP driver.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoInitial version of SPI driver for LPC17xx SSP peripheral added.
Pavel Pisa [Tue, 23 Nov 2010 21:06:19 +0000 (22:06 +0100)]
Initial version of SPI driver for LPC17xx SSP peripheral added.

The driver uses 8 level FIFO and allows up to four
chip selects control in default build.
Pin definitions are taken through

SCKx_PIN, SSELx_PIN, MISOx_PIN, MOSIx_PIN and SSPx_CSy_PIN
defines. Both interfaces SSP0 and SSP1 are supported.

Code does not use DMA yet.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoMake arm/oc8n compilable
Michal Sojka [Sun, 18 Jul 2010 20:19:56 +0000 (22:19 +0200)]
Make arm/oc8n compilable

Pavel's change of system_stub.c in commit bedf51 made oc8n board
uncompilable. I've added the missing symbol to ld scripts for that
board.

The generated error message was:
arch/arm/generic/libs/misc/system_stub.c:118: undefined reference to `end'

13 years agoBuild framework for the AT91SAM7 architecture
Tran Duy Khanh [Tue, 16 Mar 2010 03:16:02 +0000 (23:16 -0400)]
Build framework for the AT91SAM7 architecture

Tested on the OC8-N module.

(system_stub.[ch] changes moved to a separate patch for easy revert
 if it will be required later.  -Michal Sojka)

13 years agoIncluded H8300 boot block and bootstrap loader code
Michal Sojka [Wed, 21 Jul 2010 13:54:30 +0000 (15:54 +0200)]
Included H8300 boot block and bootstrap loader code

The app/ directory was mess. This is an attempt to make the situation
better.

13 years agoIncluded TOHIT H8300 application and flash loader.
Michal Sojka [Wed, 21 Jul 2010 13:54:30 +0000 (15:54 +0200)]
Included TOHIT H8300 application and flash loader.

The app/ directory was mess. This is an attempt to make the situation
better.

13 years agoMake h8300/jt_usb1 board compilable
Michal Sojka [Sun, 18 Jul 2010 20:04:15 +0000 (22:04 +0200)]
Make h8300/jt_usb1 board compilable

h8s2633 uses different names for CPU registers so I added aliases which
have the same name as for h8s2638.

13 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.

13 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

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

13 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!!!

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

13 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.

13 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>
13 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>
13 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>
13 years agoStored copy of up to now used bit-operations primitives in H8S cpu_def.h.
Pavel Pisa [Sun, 11 Jan 2009 13:52:25 +0000 (14:52 +0100)]
Stored copy of up to now used bit-operations primitives in H8S cpu_def.h.

This version has been used for long time with h8300-coff-gcc (GCC) 3.4.3,
but it makes problems for newer GCC versions which ends in infinite
loops in compiler for atomic_clear_mask_b1() in some cases.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoAdded new HW revision for h8eurobot board
Michal Sojka [Tue, 8 Apr 2008 15:00:16 +0000 (17:00 +0200)]
Added new HW revision for h8eurobot board

13 years agocmdprocio library moved here from sysless-common repository.
Michal Sojka [Wed, 26 Mar 2008 17:03:39 +0000 (18:03 +0100)]
cmdprocio library moved here from sysless-common repository.

The implementation is specific to h8s/263x processor and it has no sense
to compile it for other architectures.

13 years agoAdded xtal definitions for h8mirosot.
Michal Sojka [Thu, 19 Apr 2007 09:32:00 +0000 (09:32 +0000)]
Added xtal definitions for h8mirosot.

darcs-hash:20070419093211-f2ef6-496d14a983ce6590ed8aef89bbcd70319e9929df.gz

13 years agoMirosot board can be configured to different crystal values.
Michal Sojka [Thu, 19 Apr 2007 08:32:00 +0000 (08:32 +0000)]
Mirosot board can be configured to different crystal values.

darcs-hash:20070419083224-f2ef6-11f9e1c1e494b6b2aa3282630468fd1590f3e504.gz

13 years agoHCAN registers MCx and MDx redefined correctly as 8 bit.
honza [Mon, 3 Sep 2007 13:17:00 +0000 (13:17 +0000)]
HCAN registers MCx and MDx redefined correctly as 8 bit.

darcs-hash:20070903131759-d0ab5-6248028c6d2b98dbb28367ab83a213e69fdfeed9.gz

13 years agoh8eurobot don't use prefix_dir.
Michal Sojka [Tue, 3 Apr 2007 17:19:00 +0000 (17:19 +0000)]
h8eurobot don't use prefix_dir.

darcs-hash:20070403171927-f2ef6-2743f9e85cba007220efaf7a0b423d826fa0c78f.gz

13 years agoAdded come constant for PWM to h8s2638h.h.
Michal Sojka [Thu, 29 Mar 2007 11:32:00 +0000 (11:32 +0000)]
Added come constant for PWM to h8s2638h.h.

darcs-hash:20070329113258-f2ef6-cec6d9c80f46faee503ff7ad1db4c3383c6401c9.gz

13 years agoCorrected timer prescaler constants for different channel.
Michal Sojka [Tue, 27 Mar 2007 17:23:00 +0000 (17:23 +0000)]
Corrected timer prescaler constants for different channel.

darcs-hash:20070327172350-f2ef6-5de51bece5d80b1d4516efff3f718f1aad5533ef.gz

13 years agohwinit is now working for h8eurobot board.
Michal Sojka [Thu, 29 Mar 2007 06:40:00 +0000 (06:40 +0000)]
hwinit is now working for h8eurobot board.

darcs-hash:20070329064027-f2ef6-a57b32c3edd1d325f9a14c3a658ee1d816c9d82c.gz

13 years agoBloader reports problems with flash programming.
Michal Sojka [Thu, 29 Mar 2007 06:39:00 +0000 (06:39 +0000)]
Bloader reports problems with flash programming.

darcs-hash:20070329063929-f2ef6-79a2ca1a6367ebe1402bbc4c4e403e8946f68885.gz

13 years agoFixed clock settings for h8eurobot.
Michal Sojka [Wed, 28 Mar 2007 14:11:00 +0000 (14:11 +0000)]
Fixed clock settings for h8eurobot.

darcs-hash:20070328141136-f2ef6-44148d857efc8a81113fe1d73aa5d68835fb9cf2.gz

13 years agoAdded missing constants for TPU prescaler values.
Michal Sojka [Fri, 23 Mar 2007 11:12:00 +0000 (11:12 +0000)]
Added missing constants for TPU prescaler values.

darcs-hash:20070323111231-f2ef6-e05f4eb98f50e18594bfdb9ec294ff23a1521fd5.gz

13 years agoOther parts of h8eurobot suport.
Michal Sojka [Tue, 23 Jan 2007 10:26:00 +0000 (10:26 +0000)]
Other parts of h8eurobot suport.

darcs-hash:20070123102610-f2ef6-f99fa0a5af70c0d98f67a7713e37060fb9c74540.gz

13 years agoAdded priliminary support for h8eurobot board.
Michal Sojka [Tue, 23 Jan 2007 10:20:00 +0000 (10:20 +0000)]
Added priliminary support for h8eurobot board.

darcs-hash:20070123102025-f2ef6-e773c95072e64de2542dbbb76839ffb1b7b54c43.gz

13 years agoh8heli: gdbstub commented out
Michal Sojka [Mon, 22 Jan 2007 20:24:00 +0000 (20:24 +0000)]
h8heli: gdbstub commented out

darcs-hash:20070122202444-f2ef6-c29276e28bf9d1cb108263a8a8075d27dba5faf0.gz

13 years agoh8heli: mycan.c updated to the actual header files. Not tested.
Michal Sojka [Mon, 22 Jan 2007 20:24:00 +0000 (20:24 +0000)]
h8heli: mycan.c updated to the actual header files. Not tested.

darcs-hash:20070122202405-f2ef6-497c346cfe0ae92d621662723ef1499cbaf9c851.gz

13 years agoAdded helicopter application and customizations.
ota [Mon, 22 Jan 2007 12:46:00 +0000 (12:46 +0000)]
Added helicopter application and customizations.

darcs-hash:20070122124651-bfdc4-19a770d6a277f7c2e2dc722f73ed886ac8f0e37d.gz

13 years agoDefault SCI channel is specified in sysstem_def.h. It is not necessary to have it...
Michal Sojka [Mon, 13 Nov 2006 09:00:00 +0000 (09:00 +0000)]
Default SCI channel is specified in sysstem_def.h. It is not necessary to have it in config.omk.

darcs-hash:20061113090057-f2ef6-dd25c51a765ac6c81bbcb1b0609ed40238cfc70d.gz

13 years agoSizes of RS232 buffers can be specified by applications.
Michal Sojka [Fri, 10 Nov 2006 21:29:00 +0000 (21:29 +0000)]
Sizes of RS232 buffers can be specified by applications.

darcs-hash:20061110212929-f2ef6-f624836b3e67b3f8fe8727ed215a8a1ec27d69b1.gz

13 years agoUpdates for HI_CPU2 board.
Pavel Pisa [Thu, 31 Aug 2006 14:24:00 +0000 (14:24 +0000)]
Updates for HI_CPU2 board.

darcs-hash:20060831142441-a67a6-d44addfee2d258dddb512a3180075f0e64a255a8.gz

13 years agoIntroduction of HI_CPU2 board support.
Pavel Pisa [Thu, 31 Aug 2006 12:23:00 +0000 (12:23 +0000)]
Introduction of HI_CPU2 board support.

Sources are copied from H8CANUSB board
and renamed accordingly.

darcs-hash:20060831122347-a67a6-71c25c9fc7ac397ce047fbbd360c78ae5ec02857.gz

13 years agoPropper interrupt mode is set by excptvec_initfill.
Nguyen Hoang [Mon, 14 Aug 2006 08:53:00 +0000 (08:53 +0000)]
Propper interrupt mode is set by excptvec_initfill.

darcs-hash:20060814085312-5a954-3ba1645da4112aeef20b678378ed259f8f0fe438.gz

13 years agoUse of EXR interrupts is now configurable through config.omk.
Michal Sojka [Mon, 14 Aug 2006 06:56:00 +0000 (06:56 +0000)]
Use of EXR interrupts is now configurable through config.omk.

EXR is enable by default, which is different from previous
configuration. Applications should not see any differences.

darcs-hash:20060814065620-f2ef6-aca4e7fafd623e531cd2918ee781fa43bcc88b0f.gz

13 years agoMirosot: update of config.
Michal Sojka [Thu, 29 Jun 2006 07:53:00 +0000 (07:53 +0000)]
Mirosot: update of config.

darcs-hash:20060629075320-f2ef6-4979b5a5a349836c98244be4bffc3f51f2146933.gz

13 years agoPetr Kovacik increased the size of SCI buffers.
Michal Sojka [Wed, 28 Jun 2006 22:07:00 +0000 (22:07 +0000)]
Petr Kovacik increased the size of SCI buffers.

TODO: The size of buffers must by handled better.

darcs-hash:20060628220731-f2ef6-ea24e05cee76e23e847721953eb85437dfee7dfc.gz

13 years agoMirosot: changed frequency of a quartz.
Petr Kovacik [Wed, 28 Jun 2006 15:51:00 +0000 (15:51 +0000)]
Mirosot: changed frequency of a quartz.

darcs-hash:20060628155104-cb64f-d222288a510728744119ae3e0ce4514e8295b576.gz

13 years agoAdded CFLAGS for compilation of bluetooth stuff for mirosot board.
Nguyen Hoang [Wed, 28 Jun 2006 13:54:00 +0000 (13:54 +0000)]
Added CFLAGS for compilation of bluetooth stuff for mirosot board.

darcs-hash:20060628135411-5a954-3f88e6e86bad46f938b3422b035ae1f1245247dc.gz

13 years agoMasks for registers HCAN IRR corrected.
Stanislav Marek [Sat, 25 Mar 2006 20:43:00 +0000 (20:43 +0000)]
Masks for registers HCAN IRR corrected.

darcs-hash:20060325204306-5f899-9c3675448d9c9dd1d9c447ed7ad141e053a146be.gz

13 years agoIn sci_rs232_setmode baud parameter was changed the type to long int.
Petr Kovacik [Tue, 28 Feb 2006 10:14:00 +0000 (10:14 +0000)]
In sci_rs232_setmode baud parameter was changed the type to long int.

darcs-hash:20060228101456-cb64f-9a68c916bb7cc27ea2139434cbbd7ac49fc411da.gz

13 years agoMirosot: config moved to new (default) location
Michal Sojka [Thu, 12 Jan 2006 15:12:00 +0000 (15:12 +0000)]
Mirosot: config moved to new (default) location

darcs-hash:20060112151217-f2ef6-54e9c168ef674143776d56dcdec732e11f1e9b4b.gz

13 years agoAdded some doxygen documentation to SCI driver.
Michal Sojka [Thu, 12 Jan 2006 15:03:00 +0000 (15:03 +0000)]
Added some doxygen documentation to SCI driver.

darcs-hash:20060112150342-f2ef6-b865306a810d9fb32f657795632bc7a10fdc22e1.gz

13 years agoThe h8s2638h.h header file included now indirectly through mcu_regs.h in the generic...
Pavel Pisa [Fri, 25 Nov 2005 18:01:00 +0000 (18:01 +0000)]
The h8s2638h.h header file included now indirectly through mcu_regs.h in the generic code.

This is required to compile code for H8S 2633 MCU.
It is to help locate problems with PDIUSBD12 on Zemanek's H8CANUSB board.
The changes in 2638 support and generic code has been
propagated to the 2633 code to build again.

darcs-hash:20051125180136-ff715-10a5eeafa8eeaa046dca403992165fd5b491928c.gz

13 years agoMirosot: changed VER_ID in system_def.h, added board ID symbol.
Petr Kovacik [Mon, 21 Nov 2005 17:34:00 +0000 (17:34 +0000)]
Mirosot: changed VER_ID in system_def.h, added board ID symbol.

darcs-hash:20051121173448-cb64f-b989cefb0c09e3cf762bef6f506f43de4a2668b2.gz

13 years agoMirosot: changed default SCI channel.
Petr Kovacik [Mon, 21 Nov 2005 17:20:00 +0000 (17:20 +0000)]
Mirosot: changed default SCI channel.

darcs-hash:20051121172055-cb64f-bf4cf73bc4d18c1fe04d4c725c054a53d23ca121.gz

13 years agoCorrected default serial port for EDK2638.
Stanislav Marek [Wed, 16 Nov 2005 15:49:00 +0000 (15:49 +0000)]
Corrected default serial port for EDK2638.

darcs-hash:20051116154949-5f899-4499bac2144f231b2301bccfda06fc192c618946.gz

13 years agoAdded minimal support for JT_USB1 board.
Pavel Pisa [Tue, 15 Nov 2005 19:54:00 +0000 (19:54 +0000)]
Added minimal support for JT_USB1 board.

To test current version of USB support could be tested on it.
There is problem with default register header file selection still.
Temporary workaround is to do
  ( cd _compiled/include ; ln -s h8s2633h.h h8s2638h.h )

darcs-hash:20051115195455-a67a6-a39c89ce5f05e56a26e3ecd6e6cd6adbfde355b7.gz

13 years agoAdded minimal support for H8S2633 CPU.
Pavel Pisa [Tue, 15 Nov 2005 19:44:00 +0000 (19:44 +0000)]
Added minimal support for H8S2633 CPU.

darcs-hash:20051115194419-a67a6-a41d2940c8cab731f384b116b79a3fbbd7adb8ab.gz

13 years agoRewrite of serial communication.
Michal Sojka [Tue, 15 Nov 2005 19:41:00 +0000 (19:41 +0000)]
Rewrite of serial communication.

Now it is possible to use more SCI channel simultaneously. There is
more or less machine independent SCI "driver" in
arch/h8300/generic/drivers and for each supported processor there is a
definition of channels available on given processor
arch/h8300/mach-XXXX/drivers. In application, programmer can use all
available serial ports by default or he can choose only some channels
for use in application and spare some memory. Also it is possible to
choose default SCI channel which is used by functions like
printf. This default port can be changed in runtime and/or it can be
selected as default for a particular board in system_def.h.

darcs-hash:20051115194104-f2ef6-dcbb6b5e1c768620a32142ee47fda1793bcccdd5.gz

13 years agoThe correct, but not functional solution for board setup in the bloader (comments...
Pavel Pisa [Tue, 15 Nov 2005 17:56:00 +0000 (17:56 +0000)]
The correct, but not functional solution for board setup in the bloader (comments only).

darcs-hash:20051115175645-a67a6-a838686c6b97367b0aee0508ae5699215251908a.gz

13 years agoDecreased BPS for initial ROM bootstrap and added load for flashnoram in H8CAN board...
Pavel Pisa [Tue, 15 Nov 2005 17:49:00 +0000 (17:49 +0000)]
Decreased BPS for initial ROM bootstrap and added load for flashnoram in H8CAN board config.

darcs-hash:20051115174916-a67a6-bbc44ac68d5dcc60029c7daf0f5fc0a688053a90.gz

13 years agoIt is possible to compile gdb-stub under omk now.
Michal Sojka [Tue, 15 Nov 2005 07:24:00 +0000 (07:24 +0000)]
It is possible to compile gdb-stub under omk now.

darcs-hash:20051115072451-f2ef6-0880eac843d2bd51a5a37b8b65e4cb2dbfd82822.gz

13 years agoAdded HCAN controler masks for arch H8300.
Stanislav Marek [Mon, 14 Nov 2005 18:57:00 +0000 (18:57 +0000)]
Added HCAN controler masks for arch H8300.

darcs-hash:20051114185705-5f899-c5da858e89d4702733040ceec0a780b032910bd6.gz

13 years agoAdded h8heli board
Michal Sojka [Wed, 9 Nov 2005 16:03:00 +0000 (16:03 +0000)]
Added h8heli board

darcs-hash:20051109160320-f2ef6-86a0664b61bb3b30c055273acf0983634a29d1b9.gz

13 years agoSources updated to ensure, that shadow store contains defined value.
Pavel Pisa [Wed, 2 Nov 2005 23:16:00 +0000 (23:16 +0000)]
Sources updated to ensure, that shadow store contains defined value.

darcs-hash:20051102231611-ff715-fbd4408674826f19faa06a5c6ee039a1b70a53e1.gz

13 years agoEDK2638 shadow registers and deb_led_out correction.
Stanislav Marek [Wed, 2 Nov 2005 17:09:00 +0000 (17:09 +0000)]
EDK2638 shadow registers and deb_led_out correction.

darcs-hash:20051102170934-5f899-7ebbc9474f20b655c8c39594706c7e1dc3fbe35a.gz

13 years agoEDK2638 LED macro upgrade.
Stanislav Marek [Wed, 2 Nov 2005 17:07:00 +0000 (17:07 +0000)]
EDK2638 LED macro upgrade.

darcs-hash:20051102170704-5f899-18a3b5d085655ee077aad1fe87224d96f895935b.gz

13 years agoMinor hardware setup correction - TxD0/1 has to be set to 1.
Stanislav Marek [Wed, 2 Nov 2005 14:21:00 +0000 (14:21 +0000)]
Minor hardware setup correction - TxD0/1 has to be set to 1.

darcs-hash:20051102142158-5f899-d6022647d70d4e4e4685941f7b81e72efbb06ae1.gz

13 years agoTiny modifications of gdbstub.
Michal Sojka [Wed, 2 Nov 2005 13:29:00 +0000 (13:29 +0000)]
Tiny modifications of gdbstub.

darcs-hash:20051102132919-f2ef6-0e01ba0d6b43130ce5d1511fe83a72ae67152951.gz

13 years agoAdded gdbstub. Now is is not working.
Michal Sojka [Wed, 2 Nov 2005 13:27:00 +0000 (13:27 +0000)]
Added gdbstub. Now is is not working.

darcs-hash:20051102132726-f2ef6-bb193ffbc7f319562df8c06fb45174ab98801f44.gz

13 years agohwinit files renamed to bspXXX.
Michal Sojka [Wed, 2 Nov 2005 13:12:00 +0000 (13:12 +0000)]
hwinit files renamed to bspXXX.

darcs-hash:20051102131207-f2ef6-afb4e18c29cc538e5a103317077c4d18f718a409.gz

13 years agoSome lost part of previous patch for h8canusb board.
Pavel Pisa [Sun, 30 Oct 2005 17:58:00 +0000 (17:58 +0000)]
Some lost part of previous patch for h8canusb board.

darcs-hash:20051030175848-ff715-77a1e2a933b560638f8ea1cb593b0d98cdaeb2c5.gz

13 years agoThe shadow registers definition moved to separate file bsp0common.c.
Pavel Pisa [Sun, 30 Oct 2005 17:46:00 +0000 (17:46 +0000)]
The shadow registers definition moved to separate file bsp0common.c.

This file is included in all link variants and section is placed
to the same target address => application can modify even registers,
which values are set only by boot loader. The hwinit.c code should
ensure, that defined initial value is stored into each shadow and register,
because shadow store is not touched by crt0.o and contains garbage
after reset.

darcs-hash:20051030174654-ff715-805cf1ba9deb6759bbc7c1fa2261fcd976d6a3b0.gz

13 years agoAdded (NOLOAD) attribute to ".shadreg" section and some spread of changes avalanche...
Stanislav Marek [Wed, 26 Oct 2005 19:10:00 +0000 (19:10 +0000)]
Added (NOLOAD) attribute to ".shadreg" section and some spread of changes avalanche to h8mirosot board.

darcs-hash:20051026191039-5f899-b40061bd1074ac8255ecbad8b3ab78fa99b25117.gz

13 years agoHuge rearrangement of board setup function.
Stanislav Marek [Wed, 26 Oct 2005 18:53:00 +0000 (18:53 +0000)]
Huge rearrangement of board setup function.

darcs-hash:20051026185345-5f899-8cae42a30ee158f360c03cb7f54c2ece84087174.gz

13 years agoOriginal dead code elimination pass 1.
Stanislav Marek [Wed, 26 Oct 2005 17:11:00 +0000 (17:11 +0000)]
Original dead code elimination pass 1.

darcs-hash:20051026171136-5f899-adda982892d4fdbd42a1d4bd60978310ce2ee707.gz

13 years agoMirosot: Flash linker script fixed for use without external ram.
Stanislav Marek [Wed, 26 Oct 2005 16:05:00 +0000 (16:05 +0000)]
Mirosot: Flash linker script fixed for use without external ram.

darcs-hash:20051026160553-5f899-1cd506aeb6405437490cdc81399b474c5e906dcc.gz

13 years agoEDK2638 RAM start addres corrected
Stanislav Marek [Wed, 26 Oct 2005 15:53:00 +0000 (15:53 +0000)]
EDK2638 RAM start addres corrected

darcs-hash:20051026155312-5f899-9d3befd4d9be1327aa9e8d598733d79ce934ddd7.gz

13 years agoLED macro upgraded for EDK2638.
Stanislav Marek [Wed, 26 Oct 2005 15:51:00 +0000 (15:51 +0000)]
LED macro upgraded for EDK2638.

darcs-hash:20051026155128-5f899-0b25c8a232c277bd0e0195594f5b108dc99d47c9.gz

13 years agoAdded ld script to run application from Flash without external RAM.
Pavel Pisa [Tue, 25 Oct 2005 22:05:00 +0000 (22:05 +0000)]
Added ld script to run application from Flash without external RAM.

darcs-hash:20051025220540-a67a6-e68ae966842a40f06e973a5cadc724a618ce92c1.gz

13 years agoSome experimentation with prolonging of PDIUSBD12 chip-select.
Pavel Pisa [Tue, 25 Oct 2005 21:58:00 +0000 (21:58 +0000)]
Some experimentation with prolonging of PDIUSBD12 chip-select.

darcs-hash:20051025215843-a67a6-83cb3c392faddc93c451c4a0059c0d9dd0a3f10f.gz

13 years agoMirosot: printf uses SCI 1; merge of config.omk and config.target
Petr Kovacik [Fri, 21 Oct 2005 14:29:00 +0000 (14:29 +0000)]
Mirosot: printf uses SCI 1; merge of config.omk and config.target

darcs-hash:20051021142911-cb64f-69b0f1e1970d092ddfa0744fa82f43fdde8afbe6.gz

13 years agoAdded a posibility to have board specific prefix in _compiled and _build directories.
Michal Sojka [Wed, 19 Oct 2005 13:49:00 +0000 (13:49 +0000)]
Added a posibility to have board specific prefix in _compiled and _build directories.

darcs-hash:20051019134946-f2ef6-0d39c2d47e2049ba5bda0d6b772accd24d7abb8c.gz

13 years agoFixed definition of masks in PWM buffer registers.
Petr Kovacik [Wed, 19 Oct 2005 11:10:00 +0000 (11:10 +0000)]
Fixed definition of masks in PWM buffer registers.

darcs-hash:20051019111033-cb64f-a20358c511d7fedd1a17ea8ddebc4fcae8bbc6ec.gz

13 years agoCorrection for EDK2638
Stanislav Marek [Wed, 19 Oct 2005 08:50:00 +0000 (08:50 +0000)]
Correction for EDK2638

darcs-hash:20051019085010-5f899-60b36f8d97ae1ff9d274e85e0d763399238b5e03.gz

13 years agoMirosot board: added RUN_CMD-flash and hw independend LED support.
Petr Kovacik [Mon, 10 Oct 2005 14:12:00 +0000 (14:12 +0000)]
Mirosot board: added RUN_CMD-flash and hw independend LED support.

darcs-hash:20051010141252-cb64f-2d8300eceb37210e6697d87282b32c2015fce631.gz

13 years agoAdded HW independednt LED macros for h8canusb board.
Petr Kovacik [Mon, 10 Oct 2005 11:13:00 +0000 (11:13 +0000)]
Added HW independednt LED macros for h8canusb board.

darcs-hash:20051010111355-cb64f-942fc8bd4b8b5f0953e0c5cd20f89f5296c50e23.gz

13 years agoAdded ram linker script for mirosot board.
Petr Kovacik [Mon, 10 Oct 2005 10:02:00 +0000 (10:02 +0000)]
Added ram linker script for mirosot board.

darcs-hash:20051010100222-cb64f-17ef1f0d60ac1632ddbea4076f50a9fd7b50834c.gz

13 years agoOnly boot_fn library is needed in libs/boot.
Petr Kovacik [Mon, 10 Oct 2005 09:57:00 +0000 (09:57 +0000)]
Only boot_fn library is needed in libs/boot.

darcs-hash:20051010095730-cb64f-8af7ead0c3b8cd620f6733db5b482a82102bd205.gz

13 years agoAdded support for H8Mirosot board.
Petr Kovacik [Mon, 10 Oct 2005 09:08:00 +0000 (09:08 +0000)]
Added support for H8Mirosot board.

darcs-hash:20051010090859-cb64f-bf5792ae80b2d163a4a2d166158e4eb2e5167f6d.gz

13 years agoFixed bad resolution of a conflict on my computer.
Michal Sojka [Fri, 2 Sep 2005 08:38:00 +0000 (08:38 +0000)]
Fixed bad resolution of a conflict on my computer.

darcs-hash:20050902083859-f2ef6-fdd6f040e3a8aa5679ed201a3a8a9471276dc7d1.gz

13 years agoSelection of serial port used by TOHIT can be in separate file.
Michal Sojka [Fri, 2 Sep 2005 08:29:00 +0000 (08:29 +0000)]
Selection of serial port used by TOHIT can be in separate file.

darcs-hash:20050902082905-f2ef6-bca757038f2fcaf7066b5ffdeee79bb49d275872.gz

13 years agoSelection of serial port used by TOHIT can be in separate file.
Michal Sojka [Fri, 2 Sep 2005 08:24:00 +0000 (08:24 +0000)]
Selection of serial port used by TOHIT can be in separate file.

darcs-hash:20050902082401-f2ef6-c2e80319d91b72032d50b4b7cdfdf713587b1989.gz

13 years agoThe SCI port selection has to be taken from system_def.h.
Pavel Pisa [Wed, 31 Aug 2005 10:07:00 +0000 (10:07 +0000)]
The SCI port selection has to be taken from system_def.h.

darcs-hash:20050831100745-a67a6-18cf0ed882f2e3749cb7bedcdaf28fab4680247e.gz

13 years agoAdded required makefiles for EDK2638
Pavel Pisa [Wed, 31 Aug 2005 10:00:00 +0000 (10:00 +0000)]
Added required makefiles for EDK2638

darcs-hash:20050831100048-a67a6-34fe9b44c9e86f9bf3b0145e7fe74a785cde2a86.gz

13 years agoPreparation for EDK2638 build
Pavel Pisa [Wed, 31 Aug 2005 09:43:00 +0000 (09:43 +0000)]
Preparation for EDK2638 build

darcs-hash:20050831094325-a67a6-2a264f91367823cef88c6647eabda06a9cd1326c.gz

13 years agoMake system is now more modular.
Michal Sojka [Thu, 25 Aug 2005 06:07:00 +0000 (06:07 +0000)]
Make system is now more modular.

* Rules for C compilation were splitted to two files. This allows two
  things: 1) to have different rules for different compilers and 2) to
  reuse these rules for compilation with different parameters
  (e.g. compilation for target and for host).

* Compilation of utilities (utils_PROGRAMS) should now work. It
  produces binaries compiled for host.

* Compilation for target is now configured by CROSS_COMPILE
  variable in config.target file.

* Dependency on ld script is now in .d file, not in the prerequsities
  of the PROGRAM_template. This dependency is created only if
  LD_SCRIPT variable is not empty.

* Sources for target are now compiled with -DOMK_FOR_TARGET

darcs-hash:20050825060722-f2ef6-0a0fe144a4eb79c548ae3c37d59ddc363186212d.gz

13 years agotohit is now compiled "natively" by OMK.
Michal Sojka [Thu, 25 Aug 2005 06:04:00 +0000 (06:04 +0000)]
tohit is now compiled "natively" by OMK.

darcs-hash:20050825060433-f2ef6-3b12643066f575f33978566d57987d41d851bc0c.gz

13 years agoSetting of debugging and optimization flags moved to config.
Michal Sojka [Fri, 19 Aug 2005 21:02:00 +0000 (21:02 +0000)]
Setting of debugging and optimization flags moved to config.

This allows overriding (or even deleting) of these flags from command line,
environment variables or from local Makefile.omk.

darcs-hash:20050819210202-f2ef6-7acc5dad0855dccc727cc58bdd7ba47b27466265.gz

13 years agoRenaming of variables for selecting a linker script.
Michal Sojka [Fri, 19 Aug 2005 06:21:00 +0000 (06:21 +0000)]
Renaming of variables for selecting a linker script.

darcs-hash:20050819062114-f2ef6-160e92fb96dda9b4e8912ebb6d3cacac433d6458.gz

13 years agoAdded a possibility to specify which output formats to generate (bin, hex, srec).
Michal Sojka [Fri, 19 Aug 2005 06:08:00 +0000 (06:08 +0000)]
Added a possibility to specify which output formats to generate (bin, hex, srec).

In config.target can be defined a variable OUTPUT_FORMATS, containing a list of
desired output formats (currently it can be bin, hex and/or srec).

darcs-hash:20050819060839-f2ef6-3ba110ad512102d18537aa3422d2545cfe51c44e.gz

13 years agoConfig files are now in the board direcotry.
Michal Sojka [Mon, 15 Aug 2005 09:39:00 +0000 (09:39 +0000)]
Config files are now in the board direcotry.

darcs-hash:20050815093929-f2ef6-7af3ca72c1b6e4df4cafeafb5438ce79d3dcf126.gz