]>
rtime.felk.cvut.cz Git - sysless.git/log
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
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
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
Petr Kovacik [Mon, 10 Oct 2005 09:08:00 +0000 (09:08 +0000)]
Added support for H8Mirosot board.
darcs-hash:
20051010090859 -cb64f-
bf5792ae80b2d163a4a2d166158e4eb2e5167f6d .gz
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
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
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
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
Pavel Pisa [Wed, 31 Aug 2005 10:00:00 +0000 (10:00 +0000)]
Added required makefiles for EDK2638
darcs-hash:
20050831100048 -a67a6-
34fe9b44c9e86f9bf3b0145e7fe74a785cde2a86 .gz
Pavel Pisa [Wed, 31 Aug 2005 09:43:00 +0000 (09:43 +0000)]
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
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
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
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
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
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
Pavel Pisa [Wed, 10 Aug 2005 14:09:00 +0000 (14:09 +0000)]
GCC and AS do not like to generate aa:8 or aaaa:16, stay with save register indirect version
darcs-hash:
20050810140918 -a67a6-
6c939df5973639e03c225b333dc2fb19953c2f7c .gz
Pavel Pisa [Wed, 10 Aug 2005 12:34:00 +0000 (12:34 +0000)]
The general operand could cause unwanted register movements.
darcs-hash:
20050810123446 -a67a6-
e9f4a2c3699a5d1c6992e769a542c77c3521a246 .gz
Pavel Pisa [Wed, 10 Aug 2005 10:52:00 +0000 (10:52 +0000)]
Pavel Pisa [Wed, 10 Aug 2005 10:38:00 +0000 (10:38 +0000)]
Slow workaround version to make new version of GCC happy
darcs-hash:
20050810103859 -a67a6-
3d8ecb2ba4c783139848bc600a996b0e906c35a0 .gz
Pavel Pisa [Wed, 10 Aug 2005 10:36:00 +0000 (10:36 +0000)]
irieucros [Wed, 10 Aug 2005 08:56:00 +0000 (08:56 +0000)]
Added some missing defines for compilation of PXMC.
darcs-hash:
20050810085640 -b8f49-
ab517a9947c03caff7e657a1b45a682c59bfac7a .gz
irieucros [Tue, 2 Aug 2005 16:33:00 +0000 (16:33 +0000)]
Switch to auxiliary RS232 channel.
darcs-hash:
20050802163343 -b8f49-
0cd52b74051a00612e8931ff184e73a4ad65a116 .gz
irieucros [Thu, 28 Jul 2005 07:15:00 +0000 (07:15 +0000)]
Added changes made by Stanislav Marek.
darcs-hash:
20050728071526 -b8f49-
b93e42d4af567ed8b2200677a260c1bc3d670079 .gz
irieucros [Thu, 28 Jul 2005 07:13:00 +0000 (07:13 +0000)]
Changes in serial driver for h8canusb board.
darcs-hash:
20050728071340 -b8f49-
89c2ec494184e71979a2cb07851e838038e05707 .gz
Michal Sojka [Mon, 25 Jul 2005 15:33:00 +0000 (15:33 +0000)]
Added hw_init for h8canusb board.
This is not used now, but in future we would like to have it for each board
separately and bloader will link the right initialization depending on
configuration.
darcs-hash:
20050725153301 -f2ef6-
bae53531865f2384ea6d4964d84471adcc25b763 .gz
Michal Sojka [Mon, 25 Jul 2005 12:10:00 +0000 (12:10 +0000)]
Added some libraries - system_stub, drivers etc.
darcs-hash:
20050725121054 -f2ef6-
872f2781265a87882ef9617d4ce63c7301910a90 .gz
Michal Sojka [Mon, 25 Jul 2005 08:50:00 +0000 (08:50 +0000)]
ld scripts renamed to match board name. Added skeletons for new boards.
darcs-hash:
20050725085036 -f2ef6-
f0ed2eebc99465fcd1d5b940a9a630ee65add0ac .gz
Michal Sojka [Mon, 25 Jul 2005 08:06:00 +0000 (08:06 +0000)]
Fixed ld scripts by adding a jump to _start.
darcs-hash:
20050725080605 -f2ef6-
bcdea97cab289e85b48338a30fcc4d6db8acd87d .gz
Michal Sojka [Thu, 21 Jul 2005 21:49:00 +0000 (21:49 +0000)]
Michal Sojka [Thu, 21 Jul 2005 20:47:00 +0000 (20:47 +0000)]
Michal Sojka [Thu, 21 Jul 2005 20:47:00 +0000 (20:47 +0000)]
Michal Sojka [Thu, 21 Jul 2005 20:43:00 +0000 (20:43 +0000)]
Added modification of ld scripts for proper crt0 linking.
darcs-hash:
20050721204358 -f2ef6-
fed5e797dccc129c0c146c66965716207130ba1a .gz
Michal Sojka [Wed, 20 Jul 2005 13:51:00 +0000 (13:51 +0000)]
Multiple link variants (ran,flash etc.) can be selected. Some fixes in rules.
darcs-hash:
20050720135140 -f2ef6-
1ee25747f6d6c40dee84c213eb56ee733872b212 .gz
Michal Sojka [Wed, 20 Jul 2005 13:43:00 +0000 (13:43 +0000)]
Fixed linking of crt0.o and added better comments in ld scripts.
darcs-hash:
20050720134325 -f2ef6-
aa4702cb0a2aedb0c85336ac5c2f4a94f2113d9e .gz
Michal Sojka [Mon, 18 Jul 2005 14:17:00 +0000 (14:17 +0000)]
Fixed special compilation of boot_fn.c.
darcs-hash:
20050718141753 -f2ef6-
8df8a910526b7e2201e62312aaff7a7839a6841b .gz
Pavel Pisa [Mon, 11 Jul 2005 15:00:38 +0000 (16:00 +0100)]
Imported original H8300 support.
Code developed at PiKRON and updated by Jiri Zemanek
for h8canusb board.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 27 Apr 2009 01:25:29 +0000 (03:25 +0200)]
The ELF version of bdm-load is used by default now.
darcs-hash:
20090427012529 -01e10-
013fd0c44d0954041552807ac5b6570baf8f9e0c .gz
Pavel Pisa [Mon, 27 Apr 2009 01:24:22 +0000 (03:24 +0200)]
Added initial version of the analog axis support.
darcs-hash:
20090427012422 -01e10-
58883cb1af2dad3d2a6971800d0e87f22c101d97 .gz
Pavel Pisa [Thu, 9 Oct 2008 15:28:16 +0000 (17:28 +0200)]
Minor updates to compile with GCC 4.3.
The '|' is comment character for latest m68k GCC versions.
The call to sqrtll has to be of long type, else relocation fails.
darcs-hash:
20081009152816 -01e10-
9e5093954bbcebe01a02484058ec22fc754cf726 .gz
Pavel Pisa [Tue, 12 Feb 2008 09:34:13 +0000 (10:34 +0100)]
Make m68k-elf default toolchain.
darcs-hash:
20080212093413 -01e10-
2c8f485922b54774c0eac2dff17962aac0f9e4d0 .gz
Pavel Pisa [Mon, 17 Dec 2007 00:58:49 +0000 (01:58 +0100)]
MARS8 application version increased to 0.7.
darcs-hash:
20071217005849 -01e10-
afb4b317df5ff3f9bd601fe3c110ee8ef0e1ea53 .gz
Pavel Pisa [Sun, 16 Dec 2007 18:28:14 +0000 (19:28 +0100)]
Added support for queued comparators (still untested).
darcs-hash:
20071216182814 -01e10-
0457ff4fd4eb79dac03c81ce769929624c9d306c .gz
Pavel Pisa [Sat, 13 Oct 2007 17:13:52 +0000 (19:13 +0200)]
Added not so clean implementation for automatic brake control.
darcs-hash:
20071013171352 -01e10-
99649684141464c58874f4a8b89780d40e85d344 .gz
ppisa [Wed, 15 Aug 2007 00:43:56 +0000 (02:43 +0200)]
Fix to lost characters on RS232 line
The priority of serial line interrupt has to be increased
above periodic sampling interrupt.
darcs-hash:
20070815004356 -d4e17-
06dd159910476b274a249eb2692ac7d90a2da047 .gz
ppisa [Mon, 21 May 2007 20:09:57 +0000 (22:09 +0200)]
Initial support for external mode added.
External mode can be requested by pin PORTF2.
The external signals are enabled by ADC13(PQA5).
darcs-hash:
20070521200957 -d4e17-
c6371c7cb9bf72253d34e68a83000911e8d96b09 .gz
ppisa [Wed, 2 May 2007 14:53:59 +0000 (16:53 +0200)]
Position system operation mode used as bitmask in all places now.
Mode selection stored in mo_psys_mode variable is interpreted
as bitmask now. Bit PSYS_MODE_BIGB selects BigBot power
supply control and indications. PSYS_MODE_BIGB_MARK selects
mark inputs from alternative source connected to the
power board.
darcs-hash:
20070502145359 -d4e17-
94dfb4ffd843920ea45585335f3b191572f63c09 .gz
ppisa [Thu, 7 Sep 2006 19:38:33 +0000 (21:38 +0200)]
Modifications and changes for testing index
darcs-hash:
20060907193833 -d4e17-
2cffb1871dc2272ec2bf38cade5f76d0a8245bd1 .gz
Pavel Pisa [Thu, 7 Sep 2006 00:21:23 +0000 (02:21 +0200)]
TPU functions moved to separate files and LP_MPW1 updates.
darcs-hash:
20060907002123 -01e10-
fda9191bec7601810b4df9ff3fc0dbed21696d8d .gz
Pavel Pisa [Thu, 30 Mar 2006 22:06:14 +0000 (00:06 +0200)]
The proprietary __uXX types changed to standardized uintXX_t.
darcs-hash:
20060330220614 -01e10-
5610e23640b5db240f0b066f337f28e9d93a7ff3 .gz
ppisa [Wed, 25 Jan 2006 18:32:11 +0000 (19:32 +0100)]
USB initialization added to the MARS8 application.
darcs-hash:
20060125183211 -d4e17-
5ce2365399be5a5d5ae40da2a3b0702d93fffc18 .gz
Pavel Pisa [Sun, 4 Dec 2005 16:27:01 +0000 (17:27 +0100)]
The libraries containing USB device stack for PDIUSBD12 chip added.
darcs-hash:
20051204162701 -01e10-
eafcc76e5a8152f9dbc8fc733f5012c4517de81b .gz
Pavel Pisa [Sun, 4 Dec 2005 16:14:43 +0000 (17:14 +0100)]
The C99 standard exact width types added.
darcs-hash:
20051204161443 -01e10-
527ab736aa164afe5791ff6639fe110c5dd9402f .gz
Pavel Pisa [Tue, 29 Nov 2005 16:39:22 +0000 (17:39 +0100)]
Added support for saturated arithmetic to the m68k CPU definitions file.
darcs-hash:
20051129163922 -01e10-
41f4fd794b7f96d5c2c75bb298f970cd2cfb7df8 .gz
Pavel Pisa [Sat, 26 Nov 2005 01:51:13 +0000 (02:51 +0100)]
Pavel Pisa [Fri, 25 Nov 2005 23:22:57 +0000 (00:22 +0100)]
Corrected FLASH download options.
darcs-hash:
20051125232257 -01e10-
cb00e05846f99f927b5c12e8e48a16d66b381d19 .gz
Pavel Pisa [Fri, 25 Nov 2005 23:10:27 +0000 (00:10 +0100)]
More cleanups and load target fixes.
darcs-hash:
20051125231027 -01e10-
053f6bef985104e1d483fea482c7942ced1c204e .gz
Pavel Pisa [Fri, 25 Nov 2005 22:41:45 +0000 (23:41 +0100)]
The second round of MARS8 project reshaping.
darcs-hash:
20051125224145 -01e10-
dc43e6a2433d138d7e4b2a7c5dbf2abc04954acd .gz
Pavel Pisa [Fri, 25 Nov 2005 19:18:05 +0000 (20:18 +0100)]
The project files moved around into new directory structure.
darcs-hash:
20051125191805 -01e10-
02117aaf45a0114b634b44100aae40850382040d .gz
Pavel Pisa [Wed, 10 Nov 2010 23:38:36 +0000 (00:38 +0100)]
Corrected MCS51 ULDY interfacing functions for latest SDCC.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 10 Nov 2010 12:21:55 +0000 (13:21 +0100)]
LPC17xx reusable HAL GPIO defines moved to hal_gpio_def.h
This allows to remove dependency on application
specific system_def.h file.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 Oct 2010 20:04:58 +0000 (22:04 +0200)]
Correction in generic pin configuration for LPC17xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 Oct 2010 19:15:39 +0000 (21:15 +0200)]
Added support for generic access to GPIO and pin configuration for LPC17xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 Oct 2010 14:07:29 +0000 (16:07 +0200)]
Command processor restored ability to read line with blocking.
The function cmd_io_line_rdline() implemented.
It should be used only in corner cases when other options fails.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
nemecep1 [Wed, 13 Oct 2010 14:04:22 +0000 (16:04 +0200)]
Fixed problem on uart for LPC17xx - bad definition of masks for setting of parity.
Signed-off-by: nemecep1 <pavel.nemecek1@gmail.com>
Pavel Pisa [Tue, 12 Oct 2010 19:28:16 +0000 (21:28 +0200)]
Ugly solution to hook application on the timer 0 isr.
If a variable timer0_isr_appl_call is set by application
to pint to application provided routine, it is called
with timer 0 frequency.
Some better solution should be found for future.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 12 Oct 2010 16:02:10 +0000 (18:02 +0200)]
Use OC (Open Component) prefix for CMDPROC config options and non blocking UART Rx for LPC17xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 5 Oct 2010 19:18:43 +0000 (21:18 +0200)]
Saturated addition and subtractions for 32-bit ARM and Thumb2 added.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 4 Oct 2010 22:10:37 +0000 (00:10 +0200)]
Add options to disable cmdproc and misc libraries build.
There is problem to build these libraries for MCS51
at this moment.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 4 Oct 2010 20:10:28 +0000 (22:10 +0200)]
Included unified version of the command processor - cmdproc.
This version of command processor is based on original
PiKRON's code included in MARS8 motion controller
and includes enhancements from PiKRON's URT, Technics
RTEMS + boot projects and Michal Sojka's enhancements
in RTIME sysless project.
The code can be combined with ul_evpoll to allow
multiple socked based clients. This has been tested
in the inrouterd comutils project.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 4 Oct 2010 20:00:45 +0000 (22:00 +0200)]
Included misc library - parsing utilities and integer to text conversion.
The i2str has advantage over regular sprintf, that it does not
pull in whole standard input output C streams infrastructure.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 27 Sep 2010 00:16:21 +0000 (02:16 +0200)]
The LMC1 board configuration updated to allow programming over USB.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 26 Sep 2010 23:26:06 +0000 (01:26 +0200)]
Ugly part of the LPC17xx USB compatibility changes.
The style of header files should be united one day,
but right solution is questionable.
I personally do not feel safe with registers overlay
structures. They are comfortable, but Linux style
access routines over base and offset are more
portable.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 26 Sep 2010 23:20:13 +0000 (01:20 +0200)]
LPC USB library modified to provide compatibility with LPC17xx.
New version of lpcUSB.h definition file provided
for the LPC17xx machine type. The definitions
contains even basic registers definition for
host controller and OTG parts.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 26 Sep 2010 08:38:18 +0000 (10:38 +0200)]
Provide alternative memory reservation from USB RAM on LPC17xx.
The lpc_reserve_usb_ram() serves to runtime reserve
memory in USB RAM area after linker allocated variables.
There is no mechanism to release memory allocated
by by lpc_reserve_usb_ram(). Mechanism is provided
for one time reservation at application startup.
The uLAN driver and DOGXL display drivers can
be instructed to use this kind of allocation
by inclussion of next lines in application program.
#include <hal_machperiph.h>
void *(* const gr_driver_reserve_ram)(size_t size) =
lpc_reserve_usb_ram;
void *(* const ul_drv_reserve_ram)(size_t size) =
lpc_reserve_usb_ram;
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 26 Sep 2010 00:56:05 +0000 (02:56 +0200)]
Corrected LPC I2C support to stop master reception at right byte.
The flag to sent ACKnowledge has to be cleared
before last planned byte is to be received.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 26 Sep 2010 00:14:08 +0000 (02:14 +0200)]
LPC1768 linker scripts included.
The common part of LPC17xx scripts has been separated
from lpc1754.ld-ttt into lpc17xx-base.ld-ttt
and actual lpc1754.ld-ttt and lpc1768.ld-ttt
scripts include this base and memory sizes configuration.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sat, 25 Sep 2010 12:46:21 +0000 (14:46 +0200)]
LPC17xx UART uart0Init accepts baudrate directly in Hz.
Previous computation with UART_BAUD macro results
in inclusion of floating point library, because
PCLK is not constant. It is based on calculation from
system_frequency.
The actual solution is not ideal when ratio is not exact.
Fraction divider should be utilized in such cases.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 21 Sep 2010 16:36:47 +0000 (18:36 +0200)]
I2C driver made to work with LPC17xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 21 Sep 2010 13:25:35 +0000 (15:25 +0200)]
Sys-less I2C driver uses generic IRQ connection routines now.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 14 Sep 2010 18:40:53 +0000 (20:40 +0200)]
Added configuration and pin assignment for PiKRON's LMC1 board.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 14 Sep 2010 18:39:49 +0000 (20:39 +0200)]
Select UART1 alternative pins according to their declaration in system_def.h.
Used pins are configured according to
TXD1_BIT, RXD1_BIT, CTS1_BIT, DSR1_BIT, RTS1_BIT
values.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 1 Jul 2010 21:36:05 +0000 (23:36 +0200)]
Spell correction in proxy Makefile files.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Mon, 24 May 2010 21:22:46 +0000 (23:22 +0200)]
mach HAL: removed functions lpc_pll_on and lpc_pll_off. Now, hal provides
the function system_clock_init to initialize CPU clock.
IAP improvement: don't need to switch off PLL during call a IAP function
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Mon, 26 Apr 2010 09:59:24 +0000 (11:59 +0200)]
lpc17xx: startup code for starting the application code from boot application
ulmi: redirect uDIR signal to RTS
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Sat, 24 Apr 2010 20:41:10 +0000 (22:41 +0200)]
lpc1754 int the ldscript reorganized boot and app regions
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Sat, 24 Apr 2010 20:05:56 +0000 (22:05 +0200)]
iap_kvpb: create the library at the level arch not in the machine level.
The library is shared by all machines.
lpc17xx: iap, kvpb libraries
bsp initializes ulan
reduce warnings
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Fri, 23 Apr 2010 13:18:13 +0000 (15:18 +0200)]
lpc17xx: initial version of bspbase and hal
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Wed, 21 Apr 2010 16:44:57 +0000 (18:44 +0200)]
Updates and corrections in ARM generalized IRQ handling.
The functions request_irq(} and free_irq() moved
from uLan driver sysless support into machine specific
HAL library.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Wed, 21 Apr 2010 14:19:17 +0000 (16:19 +0200)]
irq: generic proposal for interrupt handling
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Thu, 1 Apr 2010 21:49:13 +0000 (23:49 +0200)]
Yet another LPC21xx ldscripts unification and polishing.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 1 Apr 2010 21:22:23 +0000 (23:22 +0200)]
Corrected typical novice bug in LPC21xx ldscripts.
I do not believe, I have overlooked this problem
when I have seen these scripts included in uLan project
first time.
The sequence
.text or any other section:
{
....
_etext = ALIGN( 4 ) ;
} > FLASHAPP
is evil and author does not know, what he is doing.
The _etext is correctly aligned to 4, but section
actual position counter is not advanced to aligned
value. So other data (for example .data section in this case)
directed to fill the same region (FLASHAPP) are directly
concatenated after last allocated byte (unaligned !!!)
in the section.
The sequence has to be like this.
.text or any other section:
{
....
. = ALIGN( 4 ) ;
_etext = . ;
} > FLASHAPP
The section actual position counter is assigned
to aligned position first and then the symbol
value is asigned.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 1 Apr 2010 08:34:28 +0000 (10:34 +0200)]
Corrected Cortex-M3 interrupt state saving.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 31 Mar 2010 17:23:56 +0000 (19:23 +0200)]
ARM CPU Cotex-M3 CLI/STI definitions can be used even on Cortex-M0/M1.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 31 Mar 2010 17:00:52 +0000 (19:00 +0200)]
ARM CPU definitions expanded for minimal THUMB2/Cortex-M3 support.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Petr Smolik [Wed, 31 Mar 2010 16:35:25 +0000 (18:35 +0200)]
LPC17xx: added a common board config
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Petr Smolik [Wed, 31 Mar 2010 15:26:31 +0000 (17:26 +0200)]
LPC17xx registers header-files and common board skeleton added.
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Pavel Pisa [Mon, 29 Mar 2010 13:49:29 +0000 (15:49 +0200)]
The system stub updated from rtime/sysless version.
These changes are required to build with GCC-4.4.3 + NewLib-18
arm-elf toolchain.
Changes provided by Tran Duy Khanh.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 Jan 2010 09:07:52 +0000 (10:07 +0100)]
ARM sysless: Attempt to adjust bbconfig addresses to be compatible with LPC21xx.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Wed, 20 Jan 2010 16:57:32 +0000 (17:57 +0100)]
Added bbconfig support.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>