]>
rtime.felk.cvut.cz Git - sysless.git/log
Michal Sojka [Wed, 31 Jul 2013 13:49:00 +0000 (15:49 +0200)]
cmdproc: Handle returned error correctly
This case should not happen when cmd_processor_run() calls the
respective functions, but let's fix this is somebody calls the functions
differently.
Michal Sojka [Wed, 31 Jul 2013 08:29:23 +0000 (10:29 +0200)]
Add tests for space separated parameters
Michal Sojka [Wed, 31 Jul 2013 08:18:19 +0000 (10:18 +0200)]
Fixup doc
Michal Sojka [Wed, 31 Jul 2013 08:15:45 +0000 (10:15 +0200)]
Convert command names to lower case - easier to type
Michal Sojka [Wed, 31 Jul 2013 08:15:29 +0000 (10:15 +0200)]
Do not read unset parameter
Michal Sojka [Wed, 31 Jul 2013 07:38:22 +0000 (09:38 +0200)]
Add support for parsing of space separated parameters
Michal Sojka [Wed, 31 Jul 2013 07:01:01 +0000 (09:01 +0200)]
Add more comments to the command processor
Michal Sojka [Tue, 12 Mar 2013 08:00:14 +0000 (09:00 +0100)]
Remove lpc2364_addat
This was requested by the author, because this is no longer used (and
maintained).
Michal Sojka [Sat, 2 Mar 2013 17:41:57 +0000 (18:41 +0100)]
lpc21xx: Add bits of PCON register
Michal Sojka [Sat, 2 Mar 2013 16:20:54 +0000 (17:20 +0100)]
Update Makefile stubs (typos, bashism)
Michal Sojka [Sun, 30 Dec 2012 23:15:46 +0000 (00:15 +0100)]
Status of merging with uLan's sysless
The current status is: Before the merge, we have 16 board in a
compilable state, now we have only 8 of them. I may fix a few more
boards in future, but more probably I'll remove the support for boards
that I do not use.
Michal Sojka [Tue, 3 Feb 2009 09:05:29 +0000 (10:05 +0100)]
The h8mirosot board ldscripts modified to allow building with ELF-based compiler
This commit is analogous to
8c8d5a1eb8d2e292dbc3e0a94cffc6781e74dbfc ,
which did the same changes for h8eurobot board.
Michal Sojka [Sun, 30 Dec 2012 22:30:13 +0000 (23:30 +0100)]
lpceurobot board builds without errors
Not checked with the hardware.
Michal Sojka [Sat, 29 Dec 2012 23:12:01 +0000 (00:12 +0100)]
Merge with git://ulan.git.sourceforge.net/gitroot/ulan/sysless
The goal is to synchronize with Pavel Pisa's sysless from uLAN project.
Their sysless is roughly based on our sysless but evolves more rapidly
(and does not contain so much crap :-). With this commit I want to get
their updates of the common code base to this repository.
This is only an initial attempt with all conflict resolved "somehow".
Compilation errors will be resolved in follow up commits.
Conflicts:
arch/Makefile.omk
arch/arm/Makefile.omk
arch/arm/generic/Makefile.omk
arch/arm/generic/defines/Makefile.omk
arch/arm/generic/defines/cpu_def.h
arch/arm/generic/libs/misc/Makefile.omk
arch/arm/generic/libs/misc/system_stub.h
arch/arm/mach-at91sam7/Makefile.omk
arch/arm/mach-lpc13xx/Makefile
arch/arm/mach-lpc13xx/Makefile.omk
arch/arm/mach-lpc13xx/defines/Makefile.omk
arch/arm/mach-lpc13xx/defines/core_cm3.h
arch/arm/mach-lpc13xx/libs/Makefile
arch/arm/mach-lpc13xx/libs/Makefile.omk
arch/arm/mach-lpc17xx/defines/Makefile.omk
arch/arm/mach-lpc17xx/libs/hal/Makefile.omk
arch/arm/mach-lpc17xx/libs/hal/hal.c
arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.c
arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.h
arch/arm/mach-lpc17xx/libs/hal/startup.c
arch/arm/mach-lpc21xx/Makefile.omk
arch/arm/mach-lpc21xx/defines/LPC210x.h
arch/arm/mach-lpc21xx/defines/LPC214x.h
arch/arm/mach-lpc21xx/defines/LPC21xx.h
arch/arm/mach-lpc21xx/defines/LPC22xx.h
arch/arm/mach-lpc21xx/defines/armVIC.h
arch/arm/mach-lpc21xx/defines/lpcADC.h
arch/arm/mach-lpc21xx/defines/lpcEMC.h
arch/arm/mach-lpc21xx/defines/lpcGPIO.h
arch/arm/mach-lpc21xx/defines/lpcI2C.h
arch/arm/mach-lpc21xx/defines/lpcPIN.h
arch/arm/mach-lpc21xx/defines/lpcRTC.h
arch/arm/mach-lpc21xx/defines/lpcSCB.h
arch/arm/mach-lpc21xx/defines/lpcSPI.h
arch/arm/mach-lpc21xx/defines/lpcTMR.h
arch/arm/mach-lpc21xx/defines/lpcUART.h
arch/arm/mach-lpc21xx/defines/lpcUSB.h
arch/arm/mach-lpc21xx/defines/lpcVIC.h
arch/arm/mach-lpc21xx/defines/lpcWD.h
arch/arm/mach-lpc21xx/libs/Makefile.omk
arch/arm/mach-lpc23xx/Makefile.omk
arch/arm/mach-lpc23xx/defines/Makefile
arch/arm/mach-lpc23xx/defines/lpcI2C.h
arch/arm/mach-lpc23xx/libs/Makefile.omk
arch/generic/Makefile.omk
arch/generic/defines/Makefile.omk
arch/generic/defines/endian.h
arch/generic/defines/irq_generic.h
arch/generic/defines/keyval_id_his.h
arch/generic/defines/lt_timer.h
arch/generic/defines/lt_timer_types.h
arch/h8300/generic/Makefile.omk
arch/h8300/generic/bloader/bloader.c
arch/h8300/generic/drivers/bit_iic.c
arch/h8300/generic/drivers/h8_iic.c
arch/h8300/generic/drivers/periph/iic_ifc.h
arch/h8300/generic/drivers/periph/sci_rs232.h
arch/h8300/generic/drivers/sci_rs232.c
arch/h8300/generic/libs/boot/boot.c
arch/h8300/generic/libs/boot/boot_fn.c
arch/h8300/generic/libs/boot/boot_fn.h
arch/h8300/generic/libs/boot/loader.c
arch/h8300/generic/libs/misc/excptvec.c
arch/h8300/generic/libs/misc/system_stub.c
arch/h8300/generic/tools/tohit/hiterm.c
arch/h8300/mach-2633/defines/h8s2633h.h
arch/h8300/mach-2633/drivers/periph/sci_regs.h
arch/h8300/mach-2638/defines/h8s2638h.h
arch/h8300/mach-2638/drivers/periph/sci_regs.h
board/Makefile.omk
board/arm/lpc17xx-common/defines/system_def-ulmi.h
board/arm/lpc17xx-common/libs/bspbase/bsp0hwinit.c
board/arm/lpc17xx-common/libs/bspbase/bspbase.h
board/arm/lpc17xx-common/libs/bspbase/uart.c
board/arm/lpc17xx-common/libs/bspbase/uart.h
board/arm/lpc17xx-common/libs/ldscripts/lpc1754.ld-app
board/arm/lpc17xx-common/libs/ldscripts/lpc1754.ld-boot
board/arm/lpc17xx-common/libs/ldscripts/lpc1754.ld-cfg
board/h8300/edk2638/defines/system_def.h
board/h8300/edk2638/defines/system_def_edk2638.h
board/h8300/edk2638/libs/bspbase/bsp0common.c
board/h8300/edk2638/libs/bspbase/bsp0hwinit.c
board/h8300/h8canusb/defines/system_def.h
board/h8300/h8canusb/defines/system_def_h8canusb.h
board/h8300/h8canusb/libs/bspbase/bsp0common.c
board/h8300/h8canusb/libs/bspbase/bsp0hwinit.c
board/h8300/h8eurobot/config/config.h8eurobot
board/h8300/h8eurobot/defines/system_def.h
board/h8300/h8eurobot/defines/system_def_h8eurobot.h
board/h8300/h8eurobot/libs/bspbase/bsp0common.c
board/h8300/h8eurobot/libs/bspbase/bsp0hwinit.c
board/h8300/h8heli/defines/system_def.h
board/h8300/h8heli/libs/bspbase/bsp0common.c
board/h8300/h8heli/libs/bspbase/bsp0hwinit.c
board/h8300/h8heli/servodrv/mycan.c
board/h8300/h8heli/servodrv/mycan_old.c
board/h8300/h8heli/servodrv/servodrv.c
board/h8300/h8heli/servodrv/servoout.c
board/h8300/h8mirosot/defines/system_def.h
board/h8300/h8mirosot/defines/system_def_h8mirosot.h
board/h8300/h8mirosot/libs/bspbase/bsp0common.c
board/h8300/h8mirosot/libs/bspbase/bsp0hwinit.c
board/h8300/hi_cpu2/config.hi_cpu2
board/h8300/hi_cpu2/defines/system_def.h
board/h8300/hi_cpu2/defines/system_def_hi_cpu2.h
board/h8300/hi_cpu2/libs/bspbase/bsp0common.c
board/h8300/hi_cpu2/libs/bspbase/bsp0hwinit.c
board/h8300/hi_cpu2/libs/hi_cpu2.ld-bload
board/h8300/hi_cpu2/libs/hi_cpu2.ld-boot
board/h8300/hi_cpu2/libs/hi_cpu2.ld-flash
board/h8300/hi_cpu2/libs/hi_cpu2.ld-flashnoram
board/h8300/jt_usb1/defines/system_def.h
board/h8300/jt_usb1/defines/system_def_jt_usb1.h
board/h8300/jt_usb1/libs/bspbase/bsp0common.c
board/h8300/jt_usb1/libs/bspbase/bsp0hwinit.c
libs4c/cmdproc/Makefile.omk
libs4c/cmdproc/cmd_io.c
libs4c/cmdproc/cmd_io_line.c
libs4c/cmdproc/cmd_proc.c
libs4c/cmdproc/cmd_proc.h
libs4c/cmdproc/cmdio_std_file.c
libs4c/cmdproc/cmdio_std_line.c
libs4c/keyval/keyvalpb.h
libs4c/misc/Makefile.omk
libs4c/misc/utils.c
libs4c/misc/utils.h
libs4c/usb/base/usb.c
libs4c/usb/base/usb/usb.h
libs4c/usb/base/usb/usb_spec.h
libs4c/usb/base/usb/usbdebug.h
libs4c/usb/lpcusb/lpc.c
libs4c/usb/lpcusb/lpcusb.c
libs4c/usb/more/usb/usb_loader.h
libs4c/usb/pdiusb/pdiusb.c
libs4c/usb/pdiusb/usb/pdiusb.h
Michal Sojka [Sat, 29 Dec 2012 22:15:42 +0000 (23:15 +0100)]
Remove minibee app
This application does not build after removal of ebb lib in the previous
commit.
Pavel Pisa [Fri, 21 Dec 2012 20:23:11 +0000 (21:23 +0100)]
LPC17xx and LPC178x: updates to ensure compatibility with new NXP header files.
The most of the peripheral code can work with newer
NXP LPC178x headers as well.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Fri, 21 Dec 2012 18:04:08 +0000 (19:04 +0100)]
LPC21xx: Unify lpc21isp calling for ul_usb1 based boards.
The updated configurations still defaults to the old lpc21isp
version 1.39 with parameters order adapted for OMK build.
But new version can be used if
make load-boot LPC21ISP_OLD_PARAM_ORDER=n
is used. Serial port defaults to /dev/ttyUSB0
but alternative can be selected by LPC_TTY=/dev/ttyS0
make variable.
Unconditional switch to the newer version is problematic
because lpc21isp 1.85 seems to not work reliable with
old LPC21xx targets when connected over FTDI.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:33:18 +0000 (00:33 +0100)]
LPC178x: uLAN boot block configuration for the target.
Tested on LX_CPU1. uLAN, USB and key-value storage working.
UART tested as well but no print or debug enabled for now.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:23:48 +0000 (00:23 +0100)]
LPC178x: Update USB device support for new architecture.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:20:34 +0000 (00:20 +0100)]
LPC178x: Update system setup from available NXP examples.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:19:06 +0000 (00:19 +0100)]
LPC178x: Update board support for new header files and pin configuration.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:16:48 +0000 (00:16 +0100)]
LPC178x: Adapt HAL pin configuration for new pin multiplexer.
The pin function and mode configuration is completely
revamped in LPC178x devices. Adapt HAL support for new
configuration registers organization.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:10:38 +0000 (00:10 +0100)]
LPC178x: Add parameters for key-value storage into original header file.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 20 Dec 2012 23:06:48 +0000 (00:06 +0100)]
LPC178x: PiKRON's LX_CPU1 board configuration.
The first target board of this platform is PiKRON's
LX_CPU1 board.
Main board components
- LPC1788 - LPC1788FBD208,208LQFP
- Xilinx Spartan 6 - XC6SLX9-2TQG144I, 144TQFP
- 32 MB SDRAM - IS42S32800D-7TLI 144TQFP
- 4x IRC inputs
- Ethernet, CAN, uLAN, USB, SPI, UART 3.3V, I2C
- SPI Flash, SD Card, 2x USB
The board design is intended for open/free release
at PiKRON's pages in the future. The assembled boards
and whole applications setups will be available
from PiKRON.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Michal Vokac [Wed, 30 Nov 2011 16:28:17 +0000 (17:28 +0100)]
eb_ebb: Move eb_ebb lib from sysless to eurobot/src tree
Note by Michal: It seems that nobody elese uses this library now and it is
easier for us when this library lives in repository, which can be
modified by Eurobot team members.
Note 2: The patch did not apply cleanly, so I simply deleted the eb_ebb
directory.
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>
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>
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>
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>
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>
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>
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.
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>
Michal Sojka [Tue, 3 May 2011 08:41:01 +0000 (10:41 +0200)]
h8eurobot: Enable PXMC
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Vladimir Burian [Mon, 14 Mar 2011 21:25:48 +0000 (22:25 +0100)]
Added openmsp430 virtex2 board.
Vladimir Burian [Mon, 14 Mar 2011 21:24:28 +0000 (22:24 +0100)]
Added mach-openmsp430 arch.
Vladimir Burian [Mon, 14 Mar 2011 21:23:29 +0000 (22:23 +0100)]
Added msp430 generic arch.
Michal Sojka [Wed, 16 Mar 2011 15:48:07 +0000 (16:48 +0100)]
h8300: Port the newest bloader to h8eurobot board
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.
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.
Michal Sojka [Wed, 16 Mar 2011 07:53:45 +0000 (08:53 +0100)]
h8300: Update h8canusb ld scripts to work with updated bootloader
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.
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.
Michal Sojka [Wed, 16 Mar 2011 15:48:07 +0000 (16:48 +0100)]
h8300: Port the newest bloader to h8eurobot board
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.
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.
Michal Sojka [Wed, 16 Mar 2011 07:53:45 +0000 (08:53 +0100)]
h8300: Update h8canusb ld scripts to work with updated bootloader
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.
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.
Michal Sojka [Tue, 1 Mar 2011 21:31:25 +0000 (22:31 +0100)]
Fix spejblarm build
canldtg referenced non-existent ld script. The Makefile was modified to
point to an existing one. I hope that I chosen the correct version :-)
Michal Sojka [Tue, 1 Mar 2011 21:23:09 +0000 (22:23 +0100)]
build-all: Skip lpc17xx-common-ulboot
ulan libraries are needed for this build to be successful.
Michal Sojka [Tue, 1 Mar 2011 21:16:35 +0000 (22:16 +0100)]
Add missing files from uLan repository
These files are needed to compile some parts of sysless. Namely, this fixes
build of lpc2364-12 board.
Michal Sojka [Tue, 1 Mar 2011 20:33:52 +0000 (21:33 +0100)]
miniarm: Comment out ld script that breaks compilation
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>
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>
Michal Sojka [Fri, 25 Feb 2011 22:22:01 +0000 (23:22 +0100)]
Add optional WvTest protocol output for build-all
Running make test in build-all directory colorizes the results and
produces summary numbers of successful and failed builds.
Jiri Kubias [Fri, 25 Feb 2011 15:52:28 +0000 (16:52 +0100)]
Added blink test for MCB1760 development board with lpc17cmsis
Jiri Kubias [Fri, 25 Feb 2011 15:49:44 +0000 (16:49 +0100)]
Added flash loading tool lpc21isp for LPC17xx
modified board/arm/lpc17cmsis-mbed config to work with lpc21isp
Note by M. Sojka: According to Jiri, this version does not work with
LPC21xx and the version for 21xx does not work with LPC17xx. The reasons
for this are not clear to me. Hopefully, someone will fix this
eventually.
Jiri Kubias [Wed, 9 Feb 2011 10:51:44 +0000 (11:51 +0100)]
lpc17cmsis: Fixed IRQ vectors in crt0_lpc17xx.c
Byly odebrany definice IRQ vektoru ktere odpovidaly LPC13xx a zmeney
definice IRQ vektoru odpovidajici LPC17xx. Tento problem vzniknul
portovanim crt0_lpc13xx.c na crt0_lpc17xx.c .
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>
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>
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>
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>
nemecep1 [Thu, 17 Feb 2011 19:50:07 +0000 (20:50 +0100)]
Added arch for lpc13xx
Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
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>
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'
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)
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.
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.
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.