]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
10 years agoupdate RPP library to flexray version
Michal Sojka [Fri, 9 Aug 2013 12:52:31 +0000 (14:52 +0200)]
update RPP library to flexray version

10 years agoUpdate to din API change
Michal Sojka [Thu, 8 Aug 2013 09:50:54 +0000 (11:50 +0200)]
Update to din API change

10 years agoDisable dindiag command, which is not implemented properly
Michal Sojka [Thu, 8 Aug 2013 09:49:21 +0000 (11:49 +0200)]
Disable dindiag command, which is not implemented properly

10 years agoFix dinsetup doc
Michal Sojka [Thu, 8 Aug 2013 09:21:56 +0000 (11:21 +0200)]
Fix dinsetup doc

10 years agohbrenable: Don't print normal output when an error is detected
Michal Sojka [Thu, 8 Aug 2013 09:19:46 +0000 (11:19 +0200)]
hbrenable: Don't print normal output when an error is detected

10 years agoFix and clarify hbrenable documentation
Michal Sojka [Thu, 8 Aug 2013 08:58:21 +0000 (10:58 +0200)]
Fix and clarify hbrenable documentation

10 years agorpp-lib update
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

10 years agodinsetup: Update default values and reformat documentation
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.

10 years agodinsetup changes
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.

10 years agoClarify the documentation of dinget and dinwatch commands
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.

10 years agoEnhance the dinsetup command
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)

10 years agoFix pin numbering in the dinwatch command
Michal Sojka [Wed, 7 Aug 2013 14:07:13 +0000 (16:07 +0200)]
Fix pin numbering in the dinwatch command

10 years agoFix off-by-one error in rpp_sci_printf()
Michal Sojka [Tue, 6 Aug 2013 17:39:39 +0000 (19:39 +0200)]
Fix off-by-one error in rpp_sci_printf()

10 years agoADC command updates
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

10 years agoSyntax error repaired (mistake when typing command to the code instead to the terminal)
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)

10 years agoHelp repaired to reflex all the syntax changes.
Michal Horn [Thu, 1 Aug 2013 15:06:42 +0000 (17:06 +0200)]
Help repaired to reflex all the syntax changes.

10 years agospimst command syntax changed to avoid characters :, (,and )
Michal Horn [Thu, 1 Aug 2013 14:48:40 +0000 (16:48 +0200)]
spimst command syntax changed to avoid characters :, (,and )

10 years agoportval command syntax tuned to support undefined number of bytes as an input.
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.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
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

10 years agoSpitr command syntax changed to avoid characters :, ( and )
Michal Horn [Thu, 1 Aug 2013 13:55:55 +0000 (15:55 +0200)]
Spitr command syntax changed to avoid characters :, ( and )

10 years agoPortval 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 )

10 years agoPinval and pindir commands 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 :

10 years agoLOUT 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 :

10 years agoHBR commands syntax changed to avoid character :
Michal Horn [Thu, 1 Aug 2013 13:52:33 +0000 (15:52 +0200)]
HBR commands syntax changed to avoid character :

10 years agoFlexRay status printing command repaired (%h instead %x in printf), parameter parsing...
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.

10 years agoDIN commands syntax changed to avoid characters ?, :, ( and )
Michal Horn [Thu, 1 Aug 2013 13:50:43 +0000 (15:50 +0200)]
DIN commands syntax changed to avoid characters ?, :, ( and )

10 years agoDAC 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 )

10 years agocantest syntax changed to be simpler and code cleaner.
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

10 years agoBug in hout fail tester repaired.
Michal Horn [Thu, 1 Aug 2013 13:48:33 +0000 (15:48 +0200)]
Bug in hout fail tester repaired.

10 years agoAdd dinwatch command
Michal Sojka [Thu, 1 Aug 2013 10:44:31 +0000 (12:44 +0200)]
Add dinwatch command

10 years agoAdd adcwatch 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.

10 years agoAllow running getc() in command handlers
Michal Sojka [Thu, 1 Aug 2013 10:26:22 +0000 (12:26 +0200)]
Allow running getc() in command handlers

10 years agoAdd a non-blocking variant of getc()
Michal Sojka [Thu, 1 Aug 2013 10:26:55 +0000 (12:26 +0200)]
Add a non-blocking variant of getc()

10 years agoRename cmd_io_buf to cmd_io_tisci
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.

10 years agoUpdate cmdproc from sysless (added command line history)
Michal Sojka [Thu, 1 Aug 2013 09:23:59 +0000 (11:23 +0200)]
Update cmdproc from sysless (added command line history)

10 years agoHOUT commands syntax changed to be without :,?,(and) characters.
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.

10 years agoBug in spitr (transpator of the SPI response) repaired.
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)

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
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

10 years agoThe commands for port control tuned.
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.

10 years agoUpdate cmdproc from sysless
Michal Sojka [Wed, 31 Jul 2013 14:29:26 +0000 (16:29 +0200)]
Update cmdproc from sysless

- whitespace
- backspace handling
- more comments

10 years agoAIN renamed to ADC, AOUT renamed to DAC in the source code.
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.

10 years agoCompile warning repaired
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 %%

10 years agoUpdate cmdproc from sysless
Michal Sojka [Wed, 31 Jul 2013 08:36:00 +0000 (10:36 +0200)]
Update cmdproc from sysless

10 years agocmdproc: Add support for parsing of space separated parameters
Michal Sojka [Wed, 31 Jul 2013 07:38:22 +0000 (09:38 +0200)]
cmdproc: Add support for parsing of space separated parameters

10 years agoAdd more comments to the command processor
Michal Sojka [Wed, 31 Jul 2013 07:01:01 +0000 (09:01 +0200)]
Add more comments to the command processor

10 years agoUpdate Emacs script for evaluating example to execute one or all examples
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

10 years agoFix docgen include path after repository reorganization
Michal Sojka [Tue, 30 Jul 2013 17:56:12 +0000 (19:56 +0200)]
Fix docgen include path after repository reorganization

10 years agoRemoved most of the fixmes for command help
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.

10 years agoFix compilation errors
Michal Sojka [Tue, 30 Jul 2013 14:44:22 +0000 (16:44 +0200)]
Fix compilation errors

10 years agoFix include path for rpp-test-suite
Michal Sojka [Tue, 30 Jul 2013 13:54:02 +0000 (15:54 +0200)]
Fix include path for rpp-test-suite

10 years agoUpdate Eclipse project to match reorganized structure
Michal Sojka [Tue, 30 Jul 2013 13:19:04 +0000 (15:19 +0200)]
Update Eclipse project to match reorganized structure

10 years agoUse the RPP library as a submodule and move the cmdproc to the root directory
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

10 years agoYet another place to fix
Michal Sojka [Mon, 29 Jul 2013 16:11:27 +0000 (18:11 +0200)]
Yet another place to fix

10 years agoFix example
Michal Sojka [Mon, 29 Jul 2013 16:09:41 +0000 (18:09 +0200)]
Fix example

10 years agoAdd output of several example commands
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).

10 years agoUnify the style of short command descriptions
Michal Sojka [Sun, 28 Jul 2013 19:26:24 +0000 (21:26 +0200)]
Unify the style of short command descriptions

10 years agoUpdate Emacs macros for help editing
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.

10 years agoFixes in the rest of command help messages
Michal Sojka [Sun, 28 Jul 2013 19:13:46 +0000 (21:13 +0200)]
Fixes in the rest of command help messages

10 years agoLong descriptio modified,
Michal Horn [Fri, 26 Jul 2013 15:52:26 +0000 (17:52 +0200)]
Long descriptio modified,
Output added to some of the exaples

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
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

10 years agoWelcome text shorted to fit onto the SCI buffer.
Michal Horn [Fri, 26 Jul 2013 14:09:24 +0000 (16:09 +0200)]
Welcome text shorted to fit onto the SCI buffer.

10 years agoDIN pin index ranges changed from 1-16 to 0-15.
Michal Horn [Fri, 26 Jul 2013 14:09:02 +0000 (16:09 +0200)]
DIN pin index ranges changed from 1-16 to 0-15.

10 years agoPrint version number on wiki documentation page
Michal Sojka [Fri, 26 Jul 2013 13:54:51 +0000 (15:54 +0200)]
Print version number on wiki documentation page

10 years agoUpdate the documentation of several commands
Michal Sojka [Fri, 26 Jul 2013 13:51:17 +0000 (15:51 +0200)]
Update the documentation of several commands

10 years agoSwitched description and syntax sections in commands mediawiki help texts.
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.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw v0.2
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

10 years agoDo not use "-->" in syntax description
Michal Sojka [Fri, 26 Jul 2013 10:23:21 +0000 (12:23 +0200)]
Do not use "-->" in syntax description

10 years agoPrint long help of the commands if the command name is given as a parameter of help
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.

10 years agoAdd automatic CRLF conversion to SCI output
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.

10 years agoCCS 5_2 files modified
Michal Horn [Thu, 25 Jul 2013 18:54:09 +0000 (20:54 +0200)]
CCS 5_2 files modified

10 years agoInclude software version in startup message
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.

10 years agoSet SCI speed to 115200 Bd
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

10 years agoForgotten testcan command name added back to descriptor.
Michal Horn [Thu, 25 Jul 2013 17:05:46 +0000 (19:05 +0200)]
Forgotten testcan command name added back to descriptor.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
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

10 years agoDescription texts modified, extended or added.
Michal Horn [Thu, 25 Jul 2013 16:46:24 +0000 (18:46 +0200)]
Description texts modified, extended or added.

10 years agoFormat dacpinval documentation in a nicer way
Michal Sojka [Thu, 25 Jul 2013 11:46:12 +0000 (13:46 +0200)]
Format dacpinval documentation in a nicer way

10 years agoAutomate uploading of documentation to the wiki
Michal Sojka [Thu, 25 Jul 2013 11:42:22 +0000 (13:42 +0200)]
Automate uploading of documentation to the wiki

10 years agoDo not try to generate documentation from main.c
Michal Sojka [Thu, 25 Jul 2013 10:14:11 +0000 (12:14 +0200)]
Do not try to generate documentation from main.c

10 years agoMoved main into toplevel directory.
Michal Horn [Thu, 25 Jul 2013 10:09:19 +0000 (12:09 +0200)]
Moved main into toplevel directory.

10 years agoRevert dependency of the library on the application
Michal Sojka [Thu, 25 Jul 2013 09:52:41 +0000 (11:52 +0200)]
Revert dependency of the library on the application

10 years agoFix compiler warnings
Michal Sojka [Thu, 25 Jul 2013 09:47:20 +0000 (11:47 +0200)]
Fix compiler warnings

10 years agoAdd make clean target
Michal Sojka [Thu, 25 Jul 2013 09:46:42 +0000 (11:46 +0200)]
Add make clean target

10 years agoMove commands to toplevel directory (outside of lib)
Michal Sojka [Thu, 25 Jul 2013 09:44:31 +0000 (11:44 +0200)]
Move commands to toplevel directory (outside of lib)

10 years agoExclude docgen.c from CCS build
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.

10 years agoSort help by command
Michal Sojka [Thu, 25 Jul 2013 09:28:15 +0000 (11:28 +0200)]
Sort help by command

10 years agoUse === instead of == in documentation titles
Michal Sojka [Thu, 25 Jul 2013 09:18:28 +0000 (11:18 +0200)]
Use === instead of == in documentation titles

10 years agoSupport multiple formats of docuemntation
Michal Sojka [Thu, 25 Jul 2013 09:18:49 +0000 (11:18 +0200)]
Support multiple formats of docuemntation

10 years agoFew fixes to Emacs help formatig macros
Michal Sojka [Thu, 25 Jul 2013 08:54:07 +0000 (10:54 +0200)]
Few fixes to Emacs help formatig macros

10 years agoCopy description of some commands from wiki
Michal Sojka [Thu, 25 Jul 2013 08:53:50 +0000 (10:53 +0200)]
Copy description of some commands from wiki

10 years agoAdd simple help generator
Michal Sojka [Wed, 24 Jul 2013 22:57:31 +0000 (00:57 +0200)]
Add simple help generator

More will come later...

10 years agoRemove tabulators and newlines from command descriptions
Michal Sojka [Wed, 24 Jul 2013 22:56:58 +0000 (00:56 +0200)]
Remove tabulators and newlines from command descriptions

10 years agocmdproc: Add a field for long help
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

10 years agoCreate header file for the main command list
Michal Sojka [Wed, 24 Jul 2013 07:31:29 +0000 (09:31 +0200)]
Create header file for the main command list

10 years agoPrepare for automated generation of documentation
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.

10 years agoBinary document file removed
Michal Horn [Tue, 25 Jun 2013 16:16:09 +0000 (18:16 +0200)]
Binary document file removed

10 years agoPort list command repaired
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

10 years agoLicence header added to all CMD files, comments to functions added
Michal Horn [Tue, 25 Jun 2013 15:48:17 +0000 (17:48 +0200)]
Licence header added to all CMD files, comments to functions added

10 years agoADC comments added
Michal Horn [Tue, 25 Jun 2013 13:33:14 +0000 (15:33 +0200)]
ADC comments added

10 years agoDAC command arguments parsing repaired, comments added.
Michal Horn [Tue, 25 Jun 2013 13:33:01 +0000 (15:33 +0200)]
DAC command arguments parsing repaired, comments added.

10 years agoDIN parameters parsing error repaired, comments added
Michal Horn [Mon, 24 Jun 2013 18:27:11 +0000 (20:27 +0200)]
DIN parameters parsing error repaired, comments added