]> rtime.felk.cvut.cz Git - sysless.git/log
sysless.git
11 years agoLPC178x: LD script files for LPC1788.
Pavel Pisa [Thu, 20 Dec 2012 23:05:06 +0000 (00:05 +0100)]
LPC178x: LD script files for LPC1788.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoLPC178x: Original NXP device header file.
Pavel Pisa [Thu, 20 Dec 2012 23:02:46 +0000 (00:02 +0100)]
LPC178x: Original NXP device header file.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoIntroduction of LPC178x platform support by clone of LPC17xx.
Pavel Pisa [Thu, 20 Dec 2012 22:41:14 +0000 (23:41 +0100)]
Introduction of LPC178x platform support by clone of LPC17xx.

The LPC178x platform is similar to LPC17xx but amount
of differences is too large to keep these two architectures
in single support code without clashes.

So whole clone of LPC17xx files which are relevant for
LPC178x is provided by this commit.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoProvide basic BBCONFIG support for LPC17xx devices.
Pavel Pisa [Wed, 25 Jul 2012 18:10:36 +0000 (20:10 +0200)]
Provide basic BBCONFIG support for LPC17xx devices.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoOne more SDCC check updated.
Pavel Pisa [Sat, 21 Jul 2012 14:49:16 +0000 (16:49 +0200)]
One more SDCC check updated.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoUpdated check for SDCC compiler to support SDCC 3.2+ version.
Pavel Pisa [Sat, 21 Jul 2012 14:08:19 +0000 (16:08 +0200)]
Updated check for SDCC  compiler to support SDCC 3.2+ version.

Actual SDCC version uses only underscore starting defines
variants. Code was checked to build, but no attempt to run
on target was proceed.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agolcp176x: erase FLASH up to 512kB when lcp1768 variant is used.
Pavel Pisa [Sun, 26 Feb 2012 22:03:08 +0000 (23:03 +0100)]
lcp176x: erase FLASH up to 512kB when lcp1768 variant is used.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agosysless: IRQ_RETVAL must not touch its argument for void return type handler variant.
Pavel Pisa [Mon, 13 Feb 2012 17:01:26 +0000 (18:01 +0100)]
sysless: IRQ_RETVAL must not touch its argument for void return type handler variant.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoFix build for SDCC-3.1.x where size_t substitute need other conditional check.
Pavel Pisa [Sun, 22 Jan 2012 17:18:03 +0000 (18:18 +0100)]
Fix build for SDCC-3.1.x where size_t substitute need other conditional check.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoAlternative function to insert SPI message at queue head.
Pavel Pisa [Sun, 4 Dec 2011 21:46:52 +0000 (22:46 +0100)]
Alternative function to insert SPI message at queue head.

This allows immediate retransmit of current message
from transfer callback function.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoUpdate archaic hiterm tool as well.
Pavel Pisa [Sun, 13 Nov 2011 14:30:47 +0000 (15:30 +0100)]
Update archaic hiterm tool as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoIt is 12 years after C99 standardization - switch to stdint.h and its types.
Pavel Pisa [Sun, 13 Nov 2011 14:25:30 +0000 (15:25 +0100)]
It is 12 years after C99 standardization - switch to stdint.h and its types.

The old types.h is deprecated and not used by sysless itself now.
If the standard C99 stdint.h is missing in the build environment,
change the compiler.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoadd keyid definition for his devices
Petr Smolik [Tue, 14 Jun 2011 18:57:58 +0000 (20:57 +0200)]
add keyid definition for his devices

Signed-off-by: Petr Smolik <petr@smoliku.cz>
12 years agoAllow to continue in case, that mach directory is not present in arch/arm (it can...
nemecep1 [Wed, 1 Jun 2011 10:21:44 +0000 (12:21 +0200)]
Allow to continue in case, that mach directory is not present in arch/arm (it can be elsewhere).

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
12 years agoUse standard startup files for MSP430 architecture.
Pavel Pisa [Sun, 29 May 2011 20:00:05 +0000 (22:00 +0200)]
Use standard startup files for MSP430 architecture.

The use of compiler provide standard startup files
can be selected through option
  TARGET_STDSTARTFILES = y

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoMSP430 definition of atomic bit operation updated.
Pavel Pisa [Sun, 29 May 2011 19:22:54 +0000 (21:22 +0200)]
MSP430 definition of atomic bit operation updated.

The use of "+m" constrain solves problem with bung
of warnings generated during compilation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoSupport of mspgcc 4.5.2
Vladimir Burian [Sat, 28 May 2011 21:39:57 +0000 (23:39 +0200)]
Support of mspgcc 4.5.2

Linker script has different structure. Meaning of "sfrb" and "sfrw" is
also different - hardware header is rewritten.

12 years agoC compilers are compliant enough that stdint.h can be used for integer types now.
Pavel Pisa [Fri, 27 May 2011 21:56:36 +0000 (23:56 +0200)]
C compilers are compliant enough that stdint.h can be used for integer types now.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoh8300: correct broken ld-scipts for h8eurobot and h8canusb boards.
Pavel Pisa [Mon, 2 May 2011 21:56:34 +0000 (23:56 +0200)]
h8300: correct broken ld-scipts for h8eurobot and h8canusb boards.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoh8eurobot: provide board enough time to proceed erase command.
Pavel Pisa [Mon, 2 May 2011 18:32:27 +0000 (20:32 +0200)]
h8eurobot: provide board enough time to proceed erase command.

Some similar configuration has been there probably in past
and it providing enough time to target to finish erase
is required. Sleep between commands ensures, that possible
garbage on input can be cleared by flush in next command.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoh8300: hi_cpu2 board - correct ld-scripts breakage.
Pavel Pisa [Mon, 2 May 2011 21:55:07 +0000 (23:55 +0200)]
h8300: hi_cpu2 board - correct ld-scripts breakage.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoLMC1: Added port pin style definition for auxual TLL I/O pins.
Pavel Pisa [Tue, 26 Apr 2011 17:42:28 +0000 (19:42 +0200)]
LMC1: Added port pin style definition for auxual TLL I/O pins.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agolpc17xx: replace hard-coded vector table placement by more flexible code.
Pavel Pisa [Tue, 26 Apr 2011 10:10:07 +0000 (12:10 +0200)]
lpc17xx: replace hard-coded vector table placement by more flexible code.

Change allows to fill initial values for interrupt service
functions by override functions for global weak symbols.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoCorrect PDIUSB header include path.
Pavel Pisa [Mon, 21 Mar 2011 00:53:08 +0000 (01:53 +0100)]
Correct PDIUSB header include path.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoFix build of h8300 hi_cpu2 board support - not tested.
Pavel Pisa [Mon, 21 Mar 2011 00:49:55 +0000 (01:49 +0100)]
Fix build of h8300 hi_cpu2 board support - not tested.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoCPU defines for MSP430 architecture.
Pavel Pisa [Thu, 17 Mar 2011 15:10:42 +0000 (16:10 +0100)]
CPU defines for MSP430 architecture.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoAdded openmsp430 virtex2 board.
Vladimir Burian [Mon, 14 Mar 2011 21:25:48 +0000 (22:25 +0100)]
Added openmsp430 virtex2 board.

13 years agoAdded mach-openmsp430 arch.
Vladimir Burian [Mon, 14 Mar 2011 21:24:28 +0000 (22:24 +0100)]
Added mach-openmsp430 arch.

13 years agoAdded msp430 generic arch.
Vladimir Burian [Mon, 14 Mar 2011 21:23:29 +0000 (22:23 +0100)]
Added msp430 generic arch.

13 years agoh8300: Port the newest bloader to h8eurobot board
Michal Sojka [Wed, 16 Mar 2011 15:48:07 +0000 (16:48 +0100)]
h8300: Port the newest bloader to h8eurobot board

13 years agoh8300/bloader: Wait between botstrap phases
Michal Sojka [Wed, 16 Mar 2011 15:43:00 +0000 (16:43 +0100)]
h8300/bloader: Wait between botstrap phases

This is needed for proper bootstraping.

13 years agoh8300: Yet another update of bloader
Michal Sojka [Wed, 16 Mar 2011 15:34:54 +0000 (16:34 +0100)]
h8300: Yet another update of bloader

Now it should be bullet-proof and is tested with h8canusb.

13 years agoh8300: Update h8canusb ld scripts to work with updated bootloader
Michal Sojka [Wed, 16 Mar 2011 07:53:45 +0000 (08:53 +0100)]
h8300: Update h8canusb ld scripts to work with updated bootloader

13 years agoh8300: bloader: Fix relocation condition
Michal Sojka [Wed, 16 Mar 2011 06:32:15 +0000 (07:32 +0100)]
h8300: bloader: Fix relocation condition

Previously used __boot_fn_start is always in RAM. We must use etext to
find out where the code is stored.

13 years agoh8300: Make bloader work with ELF toolchain
Michal Sojka [Tue, 15 Mar 2011 17:50:27 +0000 (18:50 +0100)]
h8300: Make bloader work with ELF toolchain

Do not use PIC (position independent code) hacks in boot loader. Compile
it for fixed address and use different LMA and VMA in the linker scripts.
So far, only linker script for h8eurobot board was updated!

Bootstraping was tested with both 32 and 64 bit hosts and it works, despite
that 64 bit compiler produces a lot of warnings such as:
/tmp/cco5hbea.s:1218: Warning: operand #0xffffffffffffffef out of range.

13 years agoLPC17xx: corrected mistake in ADC pin configuration.
Pavel Pisa [Tue, 1 Mar 2011 20:12:02 +0000 (21:12 +0100)]
LPC17xx: corrected mistake in ADC pin configuration.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoLPC17xx: define ADC pins in HAL GPIO style as well.
Pavel Pisa [Tue, 1 Mar 2011 19:16:57 +0000 (20:16 +0100)]
LPC17xx: define ADC pins in HAL GPIO style as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoFixed IRQ_TABLE_SIZE for lpc13xx.
nemecep1 [Sun, 20 Feb 2011 17:53:57 +0000 (18:53 +0100)]
Fixed IRQ_TABLE_SIZE for lpc13xx.

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
13 years agoSome common files for lpc23xx are now symlinked from lpc21xx.
nemecep1 [Thu, 17 Feb 2011 19:55:41 +0000 (20:55 +0100)]
Some common files for lpc23xx are now symlinked from lpc21xx.

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
13 years agoAdded support for irq in thumb mode for lpc23xx (as for lpc21xx).
nemecep1 [Thu, 17 Feb 2011 19:55:08 +0000 (20:55 +0100)]
Added support for irq in thumb mode for lpc23xx (as for lpc21xx).

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
13 years agoFixed PLL initialization on lpc32xx
nemecep1 [Thu, 17 Feb 2011 19:53:12 +0000 (20:53 +0100)]
Fixed PLL initialization on lpc32xx

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
13 years agoAdded arch for lpc13xx
nemecep1 [Thu, 17 Feb 2011 19:50:07 +0000 (20:50 +0100)]
Added arch for lpc13xx

Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
13 years agogenposix: use GCC provided atomic functions for this target.
Pavel Pisa [Sun, 13 Feb 2011 02:17:28 +0000 (03:17 +0100)]
genposix: use GCC provided atomic functions for this target.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agolpc17xx - optimize for size and discard unused functions and variables.
Pavel Pisa [Tue, 25 Jan 2011 09:36:54 +0000 (10:36 +0100)]
lpc17xx - optimize for size and discard unused functions and variables.

This works for both ulboot and large SuiTk based application
for LMC1 after previous fixes.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoSynchronization added to LPC17xx disable_irq and enable_irq functions.
Pavel Pisa [Sun, 23 Jan 2011 17:54:17 +0000 (18:54 +0100)]
Synchronization added to LPC17xx disable_irq and enable_irq functions.

If the synchronization is not there, compiler or CPU
can freely reorder execution in request_irq and free_irq.
This caused broken build optimized by

 -Os -ffunction-sections -fdata-sections -Wl,--gc-section

The IRQ source has been enabled before handler has
target been set into irq_handler_table.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoSeparate ldscript for LPC1766 to reflect limited (256kB) Flash size.
Pavel Pisa [Sun, 23 Jan 2011 12:54:57 +0000 (13:54 +0100)]
Separate ldscript for LPC1766 to reflect limited (256kB) Flash size.

This allows to catch Flash overflow during compilation.
Without specification the target system application
and boot block are corrupted.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoIRC Mark pin cannot generate IRQ on Port 1, use MCPWM ABORT IRQ instead.
Pavel Pisa [Tue, 18 Jan 2011 19:05:18 +0000 (20:05 +0100)]
IRC Mark pin cannot generate IRQ on Port 1, use MCPWM ABORT IRQ instead.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoDefine SSP1 pins connection on LMC1 board and SSP1 functionality checking.
Pavel Pisa [Tue, 21 Dec 2010 15:24:06 +0000 (16:24 +0100)]
Define SSP1 pins connection on LMC1 board and SSP1 functionality checking.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
13 years agoLMC1 board LEDs declared by PORT_PIN macro.
Pavel Pisa [Tue, 21 Dec 2010 11:00:03 +0000 (12:00 +0100)]
LMC1 board LEDs declared by PORT_PIN macro.

This allows to use pin specification with HAL GPIO
code

  hal_pin_conf(LED1_PIN);
  hal_pin_conf(LED2_PIN);

  hal_gpio_set_value(LED1_PIN,0);
  hal_gpio_set_value(LED2_PIN,1);

This specification has been used in A4M38KRP lecture
USBLED example.

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