]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
Michal Sojka [Fri, 9 Aug 2013 12:52:31 +0000 (14:52 +0200)]
update RPP library to flexray version
Michal Sojka [Thu, 8 Aug 2013 09:50:54 +0000 (11:50 +0200)]
Update to din API change
Michal Sojka [Thu, 8 Aug 2013 09:49:21 +0000 (11:49 +0200)]
Disable dindiag command, which is not implemented properly
Michal Sojka [Thu, 8 Aug 2013 09:21:56 +0000 (11:21 +0200)]
Fix dinsetup doc
Michal Sojka [Thu, 8 Aug 2013 09:19:46 +0000 (11:19 +0200)]
hbrenable: Don't print normal output when an error is detected
Michal Sojka [Thu, 8 Aug 2013 08:58:21 +0000 (10:58 +0200)]
Fix and clarify hbrenable documentation
Michal Sojka [Wed, 7 Aug 2013 16:36:46 +0000 (18:36 +0200)]
rpp-lib update
> DIN: Make global variables static
> Clarify DIN documentation and fix a bug
Michal Sojka [Wed, 7 Aug 2013 16:36:11 +0000 (18:36 +0200)]
dinsetup: Update default values and reformat documentation
active and can_wake default values are set to match the reset defaults
of the chip.
Michal Sojka [Wed, 7 Aug 2013 16:31:55 +0000 (18:31 +0200)]
dinsetup changes
- rename pull_type to pull_up
- run rpp_din_update() only once, for all pins.
Michal Sojka [Wed, 7 Aug 2013 14:34:31 +0000 (16:34 +0200)]
Clarify the documentation of dinget and dinwatch commands
- document what 0 and 1 means.
Michal Sojka [Wed, 7 Aug 2013 14:18:51 +0000 (16:18 +0200)]
Enhance the dinsetup command
- allow pin ranges
- all parameters are optional
- simplify the command output
- clarify documentation (not all pins can be set as pull-up/down)
Michal Sojka [Wed, 7 Aug 2013 14:07:13 +0000 (16:07 +0200)]
Fix pin numbering in the dinwatch command
Michal Sojka [Tue, 6 Aug 2013 17:39:39 +0000 (19:39 +0200)]
Fix off-by-one error in rpp_sci_printf()
Michal Sojka [Tue, 6 Aug 2013 13:39:40 +0000 (15:39 +0200)]
ADC command updates
- values in volts are also displayed in addition to raw lsb values
- added adcread* command
Michal Horn [Thu, 1 Aug 2013 15:09:36 +0000 (17:09 +0200)]
Syntax error repaired (mistake when typing command to the code instead to the terminal)
Michal Horn [Thu, 1 Aug 2013 15:06:42 +0000 (17:06 +0200)]
Help repaired to reflex all the syntax changes.
Michal Horn [Thu, 1 Aug 2013 14:48:40 +0000 (16:48 +0200)]
spimst command syntax changed to avoid characters :, (,and )
Michal Horn [Thu, 1 Aug 2013 14:48:12 +0000 (16:48 +0200)]
portval command syntax tuned to support undefined number of bytes as an input.
Michal Horn [Thu, 1 Aug 2013 13:56:22 +0000 (15:56 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Michal Horn [Thu, 1 Aug 2013 13:55:55 +0000 (15:55 +0200)]
Spitr command syntax changed to avoid characters :, ( and )
Michal Horn [Thu, 1 Aug 2013 13:54:50 +0000 (15:54 +0200)]
Portval command syntax changed to avoid characters :, ?, ( and )
Michal Horn [Thu, 1 Aug 2013 13:54:00 +0000 (15:54 +0200)]
Pinval and pindir commands syntax changed to avoid characters ? and :
Michal Horn [Thu, 1 Aug 2013 13:53:11 +0000 (15:53 +0200)]
LOUT commands syntax changed to avoid characters ? and :
Michal Horn [Thu, 1 Aug 2013 13:52:33 +0000 (15:52 +0200)]
HBR commands syntax changed to avoid character :
Michal Horn [Thu, 1 Aug 2013 13:51:54 +0000 (15:51 +0200)]
FlexRay status printing command repaired (%h instead %x in printf), parameter parsing uses sscanf now.
Michal Horn [Thu, 1 Aug 2013 13:50:43 +0000 (15:50 +0200)]
DIN commands syntax changed to avoid characters ?, :, ( and )
Michal Horn [Thu, 1 Aug 2013 13:49:59 +0000 (15:49 +0200)]
DAC commands syntax changed to avoid characters ?, :, ( and )
Michal Horn [Thu, 1 Aug 2013 13:49:15 +0000 (15:49 +0200)]
cantest syntax changed to be simpler and code cleaner.
New syntax cantest1 2
Michal Horn [Thu, 1 Aug 2013 13:48:33 +0000 (15:48 +0200)]
Bug in hout fail tester repaired.
Michal Sojka [Thu, 1 Aug 2013 10:44:31 +0000 (12:44 +0200)]
Add dinwatch command
Michal Sojka [Thu, 1 Aug 2013 10:28:38 +0000 (12:28 +0200)]
Add adcwatch command
This is a modified ain command from rpp-simulink repository.
Michal Sojka [Thu, 1 Aug 2013 10:26:22 +0000 (12:26 +0200)]
Allow running getc() in command handlers
Michal Sojka [Thu, 1 Aug 2013 10:26:55 +0000 (12:26 +0200)]
Add a non-blocking variant of getc()
Michal Sojka [Thu, 1 Aug 2013 10:00:21 +0000 (12:00 +0200)]
Rename cmd_io_buf to cmd_io_tisci
This is a better name for the structure.
Michal Sojka [Thu, 1 Aug 2013 09:23:59 +0000 (11:23 +0200)]
Update cmdproc from sysless (added command line history)
Michal Horn [Thu, 1 Aug 2013 09:15:16 +0000 (11:15 +0200)]
HOUT commands syntax changed to be without :,?,(and) characters.
houtpwmstart changed to houtstartpwm and
houtpwmstop changed to houtstoppwm because it colided with houtpwm* command.
Michal Horn [Wed, 31 Jul 2013 16:33:40 +0000 (18:33 +0200)]
Bug in spitr (transpator of the SPI response) repaired.
Task stack overflow occured. Task size was increased.
Help changed - better example with use of portval to get the response, which is then translated.
Bug in printf (%h instead of %x to hexadecimal output)
Michal Horn [Wed, 31 Jul 2013 15:54:30 +0000 (17:54 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Michal Horn [Wed, 31 Jul 2013 15:50:11 +0000 (17:50 +0200)]
The commands for port control tuned.
Portlist now prints the list of the ports in format PortName - Interface type (SPI, ADC, GPIO).
Portlist is now functional for all listed peripherals.
Commands help modified to reflex new features.
Michal Sojka [Wed, 31 Jul 2013 14:29:26 +0000 (16:29 +0200)]
Update cmdproc from sysless
- whitespace
- backspace handling
- more comments
Michal Horn [Wed, 31 Jul 2013 09:21:21 +0000 (11:21 +0200)]
AIN renamed to ADC, AOUT renamed to DAC in the source code.
This step was done because those peripherals are called ADC and DAC in all other documents, wiki, schematics and lower FW layers.
Michal Horn [Wed, 31 Jul 2013 09:19:44 +0000 (11:19 +0200)]
Compile warning repaired
return value added,
bad escape sequence \% in printf repaired to %%
Michal Sojka [Wed, 31 Jul 2013 08:36:00 +0000 (10:36 +0200)]
Update cmdproc from sysless
Michal Sojka [Wed, 31 Jul 2013 07:38:22 +0000 (09:38 +0200)]
cmdproc: 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, 30 Jul 2013 20:41:49 +0000 (22:41 +0200)]
Update Emacs script for evaluating example to execute one or all examples
Michal Sojka [Tue, 30 Jul 2013 17:56:12 +0000 (19:56 +0200)]
Fix docgen include path after repository reorganization
Michal Sojka [Tue, 30 Jul 2013 17:54:32 +0000 (19:54 +0200)]
Removed most of the fixmes for command help
Also, the code was updated where a problem was found.
Michal Sojka [Tue, 30 Jul 2013 14:44:22 +0000 (16:44 +0200)]
Fix compilation errors
Michal Sojka [Tue, 30 Jul 2013 13:54:02 +0000 (15:54 +0200)]
Fix include path for rpp-test-suite
Michal Sojka [Tue, 30 Jul 2013 13:19:04 +0000 (15:19 +0200)]
Update Eclipse project to match reorganized structure
Michal Sojka [Tue, 30 Jul 2013 12:10:01 +0000 (14:10 +0200)]
Use the RPP library as a submodule and move the cmdproc to the root directory
Michal Sojka [Mon, 29 Jul 2013 16:11:27 +0000 (18:11 +0200)]
Yet another place to fix
Michal Sojka [Mon, 29 Jul 2013 16:09:41 +0000 (18:09 +0200)]
Fix example
Michal Sojka [Mon, 29 Jul 2013 16:06:51 +0000 (18:06 +0200)]
Add output of several example commands
Sometimes, it doesn't work => FIXME
This process was automated by Emacs macros added to help-format.el
(key C-c x).
Michal Sojka [Sun, 28 Jul 2013 19:26:24 +0000 (21:26 +0200)]
Unify the style of short command descriptions
Michal Sojka [Sun, 28 Jul 2013 19:14:35 +0000 (21:14 +0200)]
Update Emacs macros for help editing
Now, a new buffer is used for the help text, because switching
modes of a buffer caused problems.
Michal Sojka [Sun, 28 Jul 2013 19:13:46 +0000 (21:13 +0200)]
Fixes in the rest of command help messages
Michal Horn [Fri, 26 Jul 2013 15:52:26 +0000 (17:52 +0200)]
Long descriptio modified,
Output added to some of the exaples
Michal Horn [Fri, 26 Jul 2013 14:11:43 +0000 (16:11 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Conflicts:
commands/cmd_din.c
Michal Horn [Fri, 26 Jul 2013 14:09:24 +0000 (16:09 +0200)]
Welcome text shorted to fit onto the SCI buffer.
Michal Horn [Fri, 26 Jul 2013 14:09:02 +0000 (16:09 +0200)]
DIN pin index ranges changed from 1-16 to 0-15.
Michal Sojka [Fri, 26 Jul 2013 13:54:51 +0000 (15:54 +0200)]
Print version number on wiki documentation page
Michal Sojka [Fri, 26 Jul 2013 13:51:17 +0000 (15:51 +0200)]
Update the documentation of several commands
Michal Horn [Fri, 26 Jul 2013 11:51:39 +0000 (13:51 +0200)]
Switched description and syntax sections in commands mediawiki help texts.
Description sections were reduced.
Michal Horn [Fri, 26 Jul 2013 10:43:14 +0000 (12:43 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Conflicts:
.cproject
Michal Sojka [Fri, 26 Jul 2013 10:23:21 +0000 (12:23 +0200)]
Do not use "-->" in syntax description
Michal Sojka [Thu, 25 Jul 2013 19:33:25 +0000 (21:33 +0200)]
Print long help of the commands if the command name is given as a parameter of help
For this to work nicely, we need the CRLF conversion from the previous
commit.
Michal Sojka [Thu, 25 Jul 2013 19:32:08 +0000 (21:32 +0200)]
Add automatic CRLF conversion to SCI output
Also fix a race condition in drv_sci_send(), which could cause the
characters at the end of the string not to be printed. If the condition
in the critical section was false, then the loop was restarted from
the beginning (continue) but the length was not reverted to the original
value.
P.S. The CRLF conversion might be reverted in the future.
Michal Horn [Thu, 25 Jul 2013 18:54:09 +0000 (20:54 +0200)]
CCS 5_2 files modified
Michal Sojka [Thu, 25 Jul 2013 18:35:52 +0000 (20:35 +0200)]
Include software version in startup message
It seems that there is some buffer overflow. If the message is a few
characters longer, the software hangs somewhere before printing the
message.
Michal Sojka [Thu, 25 Jul 2013 18:34:06 +0000 (20:34 +0200)]
Set SCI speed to 115200 Bd
Now both Simulink target tester and this sw use the same baud rate
Michal Horn [Thu, 25 Jul 2013 17:05:46 +0000 (19:05 +0200)]
Forgotten testcan command name added back to descriptor.
Michal Horn [Thu, 25 Jul 2013 16:49:34 +0000 (18:49 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Conflicts:
commands/cmd_dac.c
Michal Horn [Thu, 25 Jul 2013 16:46:24 +0000 (18:46 +0200)]
Description texts modified, extended or added.
Michal Sojka [Thu, 25 Jul 2013 11:46:12 +0000 (13:46 +0200)]
Format dacpinval documentation in a nicer way
Michal Sojka [Thu, 25 Jul 2013 11:42:22 +0000 (13:42 +0200)]
Automate uploading of documentation to the wiki
Michal Sojka [Thu, 25 Jul 2013 10:14:11 +0000 (12:14 +0200)]
Do not try to generate documentation from main.c
Michal Horn [Thu, 25 Jul 2013 10:09:19 +0000 (12:09 +0200)]
Moved main into toplevel directory.
Michal Sojka [Thu, 25 Jul 2013 09:52:41 +0000 (11:52 +0200)]
Revert dependency of the library on the application
Michal Sojka [Thu, 25 Jul 2013 09:47:20 +0000 (11:47 +0200)]
Fix compiler warnings
Michal Sojka [Thu, 25 Jul 2013 09:46:42 +0000 (11:46 +0200)]
Add make clean target
Michal Sojka [Thu, 25 Jul 2013 09:44:31 +0000 (11:44 +0200)]
Move commands to toplevel directory (outside of lib)
Michal Sojka [Thu, 25 Jul 2013 09:32:53 +0000 (11:32 +0200)]
Exclude docgen.c from CCS build
Note that the project files were saved with CCS 5.3, whereas the
previous files with CCS 5.2.x.
Michal Sojka [Thu, 25 Jul 2013 09:28:15 +0000 (11:28 +0200)]
Sort help by command
Michal Sojka [Thu, 25 Jul 2013 09:18:28 +0000 (11:18 +0200)]
Use === instead of == in documentation titles
Michal Sojka [Thu, 25 Jul 2013 09:18:49 +0000 (11:18 +0200)]
Support multiple formats of docuemntation
Michal Sojka [Thu, 25 Jul 2013 08:54:07 +0000 (10:54 +0200)]
Few fixes to Emacs help formatig macros
Michal Sojka [Thu, 25 Jul 2013 08:53:50 +0000 (10:53 +0200)]
Copy description of some commands from wiki
Michal Sojka [Wed, 24 Jul 2013 22:57:31 +0000 (00:57 +0200)]
Add simple help generator
More will come later...
Michal Sojka [Wed, 24 Jul 2013 22:56:58 +0000 (00:56 +0200)]
Remove tabulators and newlines from command descriptions
Michal Sojka [Wed, 24 Jul 2013 22:34:56 +0000 (00:34 +0200)]
cmdproc: Add a field for long help
More in this commit:
- Initial population of the field with empty string or simple description
- Added Emacs macros for easy editing of long help strings
Michal Sojka [Wed, 24 Jul 2013 07:31:29 +0000 (09:31 +0200)]
Create header file for the main command list
Michal Sojka [Wed, 24 Jul 2013 07:20:14 +0000 (09:20 +0200)]
Prepare for automated generation of documentation
Now, all files that define commands can be compiler both normally and
in a special mode (with DOCGEN symbol defined) that will later allow
automated extraction of documentation.
Michal Horn [Tue, 25 Jun 2013 16:16:09 +0000 (18:16 +0200)]
Binary document file removed
Michal Horn [Tue, 25 Jun 2013 15:48:54 +0000 (17:48 +0200)]
Port list command repaired
Stack size of the main task had to be enlarged
Michal Horn [Tue, 25 Jun 2013 15:48:17 +0000 (17:48 +0200)]
Licence header added to all CMD files, comments to functions added
Michal Horn [Tue, 25 Jun 2013 13:33:14 +0000 (15:33 +0200)]
ADC comments added
Michal Horn [Tue, 25 Jun 2013 13:33:01 +0000 (15:33 +0200)]
DAC command arguments parsing repaired, comments added.
Michal Horn [Mon, 24 Jun 2013 18:27:11 +0000 (20:27 +0200)]
DIN parameters parsing error repaired, comments added