]>
rtime.felk.cvut.cz Git - sysless.git/log
Michal Sojka [Wed, 9 Nov 2005 16:03:00 +0000 (16:03 +0000)]
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
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
Stanislav Marek [Wed, 2 Nov 2005 17:07:00 +0000 (17:07 +0000)]
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
Michal Sojka [Wed, 2 Nov 2005 13:29:00 +0000 (13:29 +0000)]
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
Michal Sojka [Wed, 2 Nov 2005 13:12:00 +0000 (13:12 +0000)]
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
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
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
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
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
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
Stanislav Marek [Wed, 26 Oct 2005 15:53:00 +0000 (15:53 +0000)]
EDK2638 RAM start addres corrected
darcs-hash:
20051026155312 -5f899-
9d3befd4d9be1327aa9e8d598733d79ce934ddd7 .gz
Stanislav Marek [Wed, 26 Oct 2005 15:51:00 +0000 (15:51 +0000)]
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
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
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
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
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
Stanislav Marek [Wed, 19 Oct 2005 08:50:00 +0000 (08:50 +0000)]
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
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>