]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/log
jenkicar/rpp-simulink.git
9 years agoAdd function that updates documentation of RPP blocks
Michal Sojka [Fri, 28 Nov 2014 16:28:02 +0000 (17:28 +0100)]
Add function that updates documentation of RPP blocks

The documentation is extracted from YAML comments in .c files.

9 years agoUse a C macro as a function
Michal Sojka [Thu, 27 Nov 2014 16:15:45 +0000 (17:15 +0100)]
Use a C macro as a function

Without this, uncrustify complains about the syntax.

9 years agoUpdate rpp/lib submodule
Michal Sojka [Thu, 27 Nov 2014 16:05:31 +0000 (17:05 +0100)]
Update rpp/lib submodule

9 years agodoc: Restructure documentation
Michal Sojka [Wed, 26 Nov 2014 13:18:41 +0000 (14:18 +0100)]
doc: Restructure documentation

9 years agoAnother fix for Windows download script
Michal Horn [Wed, 19 Nov 2014 16:09:07 +0000 (17:09 +0100)]
Another fix for Windows download script

Resolves invalid path to debug server error.

9 years agoFix the loadti download script, used in Windows
Michal Horn [Wed, 19 Nov 2014 10:25:01 +0000 (11:25 +0100)]
Fix the loadti download script, used in Windows

9 years agoFix calling of the loadti download script on Windows
Michal Horn [Wed, 19 Nov 2014 10:24:39 +0000 (11:24 +0100)]
Fix calling of the loadti download script on Windows

9 years agoFix path to CCS root generation
Michal Horn [Wed, 19 Nov 2014 10:23:38 +0000 (11:23 +0100)]
Fix path to CCS root generation

9 years agoExpand download function for Windows downloading
Michal Horn [Tue, 18 Nov 2014 16:55:29 +0000 (17:55 +0100)]
Expand download function for Windows downloading

Some aditional changes in loadti.bat are necessary.

9 years agoFix retreiving of the CCS root path
Michal Horn [Tue, 18 Nov 2014 16:54:07 +0000 (17:54 +0100)]
Fix retreiving of the CCS root path

The path contained only ordinar slashes (/), which was wrong for Windows.

9 years agoFix path generation to the Matlab root
Michal Horn [Tue, 18 Nov 2014 13:15:22 +0000 (14:15 +0100)]
Fix path generation to the Matlab root

On Windows the default installation path for Matlab is in "Program Files"
folder, which name contains spaces. This caused the compilation to fail.
Double quotes added to the begining and to the end of the path to avoid
wrong interpretation of the spaces in the directories names.

9 years agoExtend rpp_download documentation
Michal Horn [Tue, 18 Nov 2014 11:28:26 +0000 (12:28 +0100)]
Extend rpp_download documentation

#Fixes: #1034

9 years agoAdd parameters names to error messages
Michal Horn [Tue, 18 Nov 2014 10:16:30 +0000 (11:16 +0100)]
Add parameters names to error messages

Fixes: #1035
9 years agoRemove unnecessary CAN_Common_MdlInitSizes call
Michal Horn [Tue, 18 Nov 2014 10:11:51 +0000 (11:11 +0100)]
Remove unnecessary CAN_Common_MdlInitSizes call

This call is not needed any more as it is only a relict from
some previous code.

Fixes: #1032
9 years agoRemove the SDRAM download code fragment
Michal Horn [Tue, 18 Nov 2014 09:56:27 +0000 (10:56 +0100)]
Remove the SDRAM download code fragment

This fragment was not finished and has to be rewritten

9 years agoMake error messages more clear
Michal Horn [Tue, 18 Nov 2014 09:55:09 +0000 (10:55 +0100)]
Make error messages more clear

#fixes #1035

9 years agoDo not fail in rpp_build_demos on Windows
Michal Sojka [Mon, 17 Nov 2014 21:06:52 +0000 (22:06 +0100)]
Do not fail in rpp_build_demos on Windows

9 years agoFix compile errors on Windows
Michal Sojka [Mon, 17 Nov 2014 20:04:14 +0000 (21:04 +0100)]
Fix compile errors on Windows

This fixes all errors that appeared when compile_blocks.m was run under
Windows.

9 years agoMake rpp_setup Windows compatible
Michal Sojka [Fri, 7 Nov 2014 18:01:39 +0000 (19:01 +0100)]
Make rpp_setup Windows compatible

9 years agoAuto loading to Flash disabled, library and documentation updated
Michal Horn [Wed, 15 Oct 2014 13:15:17 +0000 (15:15 +0200)]
Auto loading to Flash disabled, library and documentation updated

Some models had loading to Flash enabled, which caused the
rpp_compile_blocks to fail, when rpp board is disconnected.

The library and documentation was updated according to refs #916
The commit fixes #917.

Signed-off-by: Michal Horn <hornmich@fel.cvut.cz>
9 years agoSimulink blocks tlc files tuned to reflect changes in rpp library
Michal Horn [Tue, 14 Oct 2014 08:40:02 +0000 (10:40 +0200)]
Simulink blocks tlc files tuned to reflect changes in rpp library

Until now, the model called convenience function rpp_init(), which
initialized all peripherals, even those, which vere not used. Also all
headers were included as well.

Now only those peripherals are initialized and only necessary header files
are included.

External mode seems to not work anymore and will be fixed in near future
commits.

This commit refs #916 and #917.

9 years agoExcessive record removed from rpp_can_ctrl_config removed
Michal Horn [Thu, 9 Oct 2014 14:00:56 +0000 (16:00 +0200)]
Excessive record removed from rpp_can_ctrl_config removed

It is better to not have it here until it is used by the timing
computation algorithm.

9 years agoTunable parameter checked and fixed for all blocks
Michal Horn [Thu, 9 Oct 2014 12:43:28 +0000 (14:43 +0200)]
Tunable parameter checked and fixed for all blocks

Some FlexRay and CAN blocks had set tunable parameters in mask.
Setting a tunable parameter is nonsence since all the code is
generated and all the peripherals are configured only once, when
the program starts.

Fixes #1017

9 years agoCAN Setup block tlc file modified to reflect changes in rpp-lib
Michal Horn [Thu, 9 Oct 2014 11:56:34 +0000 (13:56 +0200)]
CAN Setup block tlc file modified to reflect changes in rpp-lib

The CAN Setup block have to initialize the new rpp_can_ctrl_config
structure records for right CAN bus initialisation.

9 years agoTwo others warnings fixed
Michal Horn [Mon, 6 Oct 2014 13:59:43 +0000 (15:59 +0200)]
Two others warnings fixed

Fixed warning "ert_main.c", line 46: warning #238-D: controlling expression is constant
Fixed warning Source 'can_ext_mode_demo/CAN Receive' specifies that its sample time

Signed-off-by: Michal Horn <hornmich@fel.cvut.cz>
9 years agoFixed warnings in flexray demos
Michal Horn [Mon, 6 Oct 2014 12:12:58 +0000 (14:12 +0200)]
Fixed warnings in flexray demos

Configure FlexRay node and Configure RX Buffer inherits sample
time from the model configuration. They have no input signals to
inherit the sample time from. So the warning has been disabled in
Model Configuration parameters
(Diagnostis->Sample Time->Source block specifies -1 sample time)

The second warning was caused by precission loss during a calculation.
The resulting value was set as the parameter instead of the whole equation
and the equation itself moved to the comment.

Fixes #982

9 years agoMerge branch 'master' of rtime.felk.cvut.cz:jenkicar/rpp-simulink
Michal Horn [Mon, 6 Oct 2014 11:33:09 +0000 (13:33 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:jenkicar/rpp-simulink

9 years agoFixed syntax error when extenal mode enabled for model with CAN blocks
Michal Horn [Mon, 6 Oct 2014 11:32:58 +0000 (13:32 +0200)]
Fixed syntax error when extenal mode enabled for model with CAN blocks

Compiler returned with undefined data types CAN_MESSAGE_EXTENDED and
CAN_MESSAGE_STANDARD errors when the external mode was enabled for
a model witch used RPP CAN blocks.
When CAN Pack or CAN Unpack block has been added to the model, the error disappeared.

Also a can_ext_mode_demo has been created for detection of similar error in the future.

Fixes #1015

9 years agoRemove (or reduce) README files
Michal Sojka [Sun, 5 Oct 2014 11:17:54 +0000 (13:17 +0200)]
Remove (or reduce) README files

The information in those files is already in .tex documentation. It makes
no sense to have it at two places.

9 years agodoc: Simplify CCS link and add TODO comment
Michal Sojka [Sun, 5 Oct 2014 11:06:27 +0000 (13:06 +0200)]
doc: Simplify CCS link and add TODO comment

9 years agoDocumentation updated, references updated
Michal Horn [Fri, 3 Oct 2014 15:17:05 +0000 (17:17 +0200)]
Documentation updated, references updated

Related to Feature #992

9 years agoTexas Instruments loading script fixed
Michal Horn [Fri, 3 Oct 2014 12:24:17 +0000 (14:24 +0200)]
Texas Instruments loading script fixed

Javascripts vere simplified by removing all features, which are not used inour use case.
More catch/try blocks added to solve exceptions when quitting the script.
AutoRun after program loaded fixed.

Solved some bug in JVM, which caused the VM to fall with error message:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x2acafeca, pid=29608, tid=3333421888
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C  0x2acafeca
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Fixes #1014

Signed-off-by: Michal Horn <hornmich@fel.cvut.cz>
9 years agoUpdate lib to the version with the new arm compiler
Michal Sojka [Thu, 2 Oct 2014 11:24:46 +0000 (13:24 +0200)]
Update lib to the version with the new arm compiler

9 years agoUpdate default compiler path in rpp_setup
Michal Sojka [Thu, 2 Oct 2014 11:22:38 +0000 (13:22 +0200)]
Update default compiler path in rpp_setup

9 years agodo_download function improved to be compatible with future releases of MATLAB
Michal Horn [Tue, 30 Sep 2014 08:48:11 +0000 (10:48 +0200)]
do_download function improved to be compatible with future releases of MATLAB

The internal functions definitions of the coder.internal.ModelCodegenMgr
class are still chaging, so it should be really better to use rtwprivate
for data access.

9 years agoCAN blocks icons tuned again
Michal Horn [Mon, 29 Sep 2014 14:27:32 +0000 (16:27 +0200)]
CAN blocks icons tuned again

Name of the target MCU removed,
Checkbox for showing the configuration information removed,
When the block is too small, only message ID is printed, when it is large enough, all of the fialds are printed.

To invoke the refresh of the icon, parameters dialog has to be opened and closed. I have found no way how to redraw the icon in MoveFcn Callback, which is the only one, which is invoked after resizing of the block.

9 years agocompilation errors fixed
Michal Horn [Mon, 29 Sep 2014 11:43:05 +0000 (13:43 +0200)]
compilation errors fixed

9 years agoCAN blocks masks icons changed
Michal Horn [Mon, 29 Sep 2014 11:20:51 +0000 (13:20 +0200)]
CAN blocks masks icons changed

Icons follows the same template as others.
The details of the block configuration can be shown or hidden by checking the 'Show details in icon' checkbox.

9 years agodoc: Don't use & in YAML doc
Michal Sojka [Thu, 18 Sep 2014 10:51:49 +0000 (12:51 +0200)]
doc: Don't use & in YAML doc

It is not properly escaped in LaTeX.

9 years agoIgnore generated images
Michal Sojka [Thu, 18 Sep 2014 10:48:39 +0000 (12:48 +0200)]
Ignore generated images

9 years agodoc: Do not build documentation in subdirectory - it's buggy
Michal Sojka [Thu, 18 Sep 2014 10:47:30 +0000 (12:47 +0200)]
doc: Do not build documentation in subdirectory - it's buggy

9 years agodoc: demo board image font changed
Karel Kočí [Thu, 18 Sep 2014 10:49:26 +0000 (12:49 +0200)]
doc: demo board image font changed

9 years agodoc: Update makefile and latexmk to better handle dependencies
Michal Sojka [Thu, 18 Sep 2014 10:28:42 +0000 (12:28 +0200)]
doc: Update makefile and latexmk to better handle dependencies

... and automatic generation of figures from sources.

9 years agoCorrect documentation formating of demo_boad
Karel Kočí [Thu, 18 Sep 2014 09:43:04 +0000 (11:43 +0200)]
Correct documentation formating of demo_boad

9 years agoUse the svg version of demo_board scheme
Karel Kočí [Thu, 18 Sep 2014 09:31:41 +0000 (11:31 +0200)]
Use the svg version of demo_board scheme

todo: add conversion from svg to pdf to makefile properly

9 years agoAdded irc_input demo documentation
Karel Kočí [Thu, 18 Sep 2014 06:24:12 +0000 (08:24 +0200)]
Added irc_input demo documentation

9 years agoUpdated some model images in documentation to fit with changes
Karel Kočí [Thu, 18 Sep 2014 06:23:47 +0000 (08:23 +0200)]
Updated some model images in documentation to fit with changes

9 years agoSmall change in DAC documentation to make it fit on one page
Karel Kočí [Thu, 18 Sep 2014 06:21:49 +0000 (08:21 +0200)]
Small change in DAC documentation to make it fit on one page

9 years agoAdd demo_board documentation
Karel Kočí [Thu, 18 Sep 2014 06:21:03 +0000 (08:21 +0200)]
Add demo_board documentation

Documentation contains new image. Both image and source for image are included.

9 years agoChanges in demo demo_board
Karel Kočí [Thu, 18 Sep 2014 06:19:43 +0000 (08:19 +0200)]
Changes in demo demo_board

Removed one of color music modes.
Correct error CAN messages from CAN1 to CAN2.

9 years agodoc: Add make rule for svg->pdf conversion
Michal Sojka [Thu, 18 Sep 2014 09:21:17 +0000 (11:21 +0200)]
doc: Add make rule for svg->pdf conversion

9 years agoUpdate library
Michal Sojka [Tue, 16 Sep 2014 17:49:28 +0000 (19:49 +0200)]
Update library

... to get rid of -dirty tag in documentation

9 years agoDoc updates
Michal Sojka [Tue, 16 Sep 2014 17:43:17 +0000 (19:43 +0200)]
Doc updates

9 years agoUpdate canreceive block to a change in CAN API
Michal Sojka [Sat, 13 Sep 2014 11:34:02 +0000 (13:34 +0200)]
Update canreceive block to a change in CAN API

Possible return values of rpp_can_read() have been changed.

Refs #971

9 years agoFix Simulink warnings in three_phase_freq demo
Michal Sojka [Fri, 12 Sep 2014 17:00:28 +0000 (19:00 +0200)]
Fix Simulink warnings in three_phase_freq demo

- add terminators to unconnected outputs
- move gain(0.1) after conversion from integer to double

9 years agobuildbot: Ignore demo_board warnings
Michal Sojka [Fri, 12 Sep 2014 16:55:48 +0000 (18:55 +0200)]
buildbot: Ignore demo_board warnings

9 years agoDo not generate dead code in ert_main.c
Michal Sojka [Fri, 12 Sep 2014 16:36:47 +0000 (18:36 +0200)]
Do not generate dead code in ert_main.c

This fixes a compiler warning.

9 years agoAdd demo_board to demos
Karel Kočí [Fri, 12 Sep 2014 15:03:42 +0000 (17:03 +0200)]
Add demo_board to demos

9 years agoChanged Overrun block shortcut to TROR and removing it from unimplemented list in...
Karel Kočí [Thu, 11 Sep 2014 16:14:00 +0000 (18:14 +0200)]
Changed Overrun block shortcut to TROR and removing it from unimplemented list in documentation

9 years agoMoved Overrun flag declaration to separated header rpp_simulink_runtime.h
Karel Kočí [Thu, 11 Sep 2014 16:04:32 +0000 (18:04 +0200)]
Moved Overrun flag declaration to separated header rpp_simulink_runtime.h

rpp_simulink_runtime.h is copied before build process is executed.

9 years agoFixed CAN blocks masks
Michal Horn [Thu, 11 Sep 2014 09:25:45 +0000 (11:25 +0200)]
Fixed CAN blocks masks

Bit rate range fixed to 1-1 mb/sec
Frame format mask fixed
Mailbox number range fixed to 1-64

Demos tuned to contain both, manualy and automaticaly specified mailboxes

9 years agodoc: Update Simulink Model Options section
Michal Sojka [Tue, 9 Sep 2014 22:25:09 +0000 (00:25 +0200)]
doc: Update Simulink Model Options section

- Make figures floating.
- Mention how to set custom C compiler flags.

9 years agoUpdate can_demo to use both manually and automatically assigned mailboxes
Michal Sojka [Tue, 9 Sep 2014 16:04:11 +0000 (18:04 +0200)]
Update can_demo to use both manually and automatically assigned mailboxes

This is useful for testing that both methods work.

9 years agoReworked CAN TLCs
Michal Sojka [Tue, 9 Sep 2014 15:13:14 +0000 (17:13 +0200)]
Reworked CAN TLCs

The code is now easier to understand (to me :-) and hopefully it fixes
one nasty bug in the previous implementation where the rpp_can_read/write()
functions were called with wrong hw_obj numbers.

9 years agoIndentation/whitespace/cleanup
Michal Sojka [Mon, 8 Sep 2014 16:07:03 +0000 (18:07 +0200)]
Indentation/whitespace/cleanup

9 years agoCAN TX: Generate error message for unsupported data types
Michal Sojka [Mon, 8 Sep 2014 16:00:23 +0000 (18:00 +0200)]
CAN TX: Generate error message for unsupported data types

9 years agocantransmit: Reindent and kill trailing whitespace
Michal Sojka [Mon, 8 Sep 2014 14:55:51 +0000 (16:55 +0200)]
cantransmit: Reindent and kill trailing whitespace

9 years agocan: Update rpp_can_write call site to handle correctly new return values
Michal Sojka [Mon, 8 Sep 2014 14:46:22 +0000 (16:46 +0200)]
can: Update rpp_can_write call site to handle correctly new return values

9 years agodoc: Change formatting of block description in YAML
Michal Sojka [Mon, 8 Sep 2014 13:00:08 +0000 (15:00 +0200)]
doc: Change formatting of block description in YAML

To keep multiple paraphrase separated, it is better to use YAML literals
that preserve new lines.

9 years agoImprove documentation of CAN blocks
Michal Sojka [Mon, 8 Sep 2014 11:41:18 +0000 (13:41 +0200)]
Improve documentation of CAN blocks

9 years agoStore generated html doc in files to allow their manual inspection
Michal Sojka [Mon, 8 Sep 2014 12:40:10 +0000 (14:40 +0200)]
Store generated html doc in files to allow their manual inspection

9 years agoReplace Ti for TI
Michal Sojka [Mon, 8 Sep 2014 11:28:36 +0000 (13:28 +0200)]
Replace Ti for TI

It is an acronym so all letters should be capital.

9 years agoRPP library update
Michal Horn [Wed, 3 Sep 2014 13:37:51 +0000 (15:37 +0200)]
RPP library update

9 years agoStupid message abou receiving message failure removed
Michal Horn [Wed, 3 Sep 2014 13:22:22 +0000 (15:22 +0200)]
Stupid message abou receiving message failure removed

This needs a fix in rpp-library to provide failure return value just in case of failure and some different value in case thet no message has been received.

9 years agoFixed bug with 1 second time granularity of the CAN RX blocks
Michal Horn [Wed, 3 Sep 2014 13:21:20 +0000 (15:21 +0200)]
Fixed bug with 1 second time granularity of the CAN RX blocks

9 years agoUndefined variable fixed
Michal Horn [Wed, 3 Sep 2014 12:37:40 +0000 (14:37 +0200)]
Undefined variable fixed

9 years agoOpenOCD loading script tuned
Michal Horn [Wed, 3 Sep 2014 08:46:36 +0000 (10:46 +0200)]
OpenOCD loading script tuned

Flash erasing is not needed, the program command does it automaticaly.

9 years agoOpenOCD support added, SDRAM support partialy prepared
Michal Horn [Tue, 2 Sep 2014 13:43:10 +0000 (15:43 +0200)]
OpenOCD support added, SDRAM support partialy prepared

New checkbox in RPP Options added to select OpenOCD loader instead of the Ti DSS
New checkbox in RPP Options added to select SDRAM as a target memory instead of Flash memory
Load script written for convenient program download by using an OpenOCD

9 years agoTypos in CAN documentation fixed, CAN Mask description fixed, CAN mask prompts fixed
Michal Horn [Fri, 29 Aug 2014 14:35:41 +0000 (16:35 +0200)]
Typos in CAN documentation fixed, CAN Mask description fixed, CAN mask prompts fixed

9 years agoMerge branch 'master' of rtime.felk.cvut.cz:jenkicar/rpp-simulink
Michal Horn [Fri, 29 Aug 2014 14:30:42 +0000 (16:30 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:jenkicar/rpp-simulink

Conflicts:
rpp/blocks/rpp_lib.slx
rpp/blocks/sfunction_canreceive.c
rpp/blocks/sfunction_cantransmit.c

9 years agoDocumentation for the CAN blocks improved to follow the latest changes
Michal Horn [Fri, 29 Aug 2014 14:14:31 +0000 (16:14 +0200)]
Documentation for the CAN blocks improved to follow the latest changes

9 years agoBuild error fixed, code tuned
Michal Horn [Fri, 29 Aug 2014 13:41:42 +0000 (15:41 +0200)]
Build error fixed, code tuned

Declarations of global CAN common variables moved to the common included file.
Only one Can Setup block control added.
Can common functions names changed to follow pattern of others blocks.

9 years agoDocumentation for CAN blocks improved and fixed to follow last changes
Michal Horn [Fri, 29 Aug 2014 12:16:40 +0000 (14:16 +0200)]
Documentation for CAN blocks improved and fixed to follow last changes

9 years agoConstant definition for maximal number of mailboxes added
Michal Horn [Fri, 29 Aug 2014 08:46:51 +0000 (10:46 +0200)]
Constant definition for maximal number of mailboxes added

9 years agoRPP_ prefix added to global variables and can common file
Michal Horn [Fri, 29 Aug 2014 08:30:13 +0000 (10:30 +0200)]
RPP_ prefix added to global variables and can common file

9 years agodoc: Use a more compact syntax to document input, outputs and parameters
Michal Sojka [Thu, 28 Aug 2014 17:21:07 +0000 (19:21 +0200)]
doc: Use a more compact syntax to document input, outputs and parameters

9 years agodoc: Specify baudate range under "range" key rather than in name
Michal Sojka [Thu, 28 Aug 2014 16:47:08 +0000 (18:47 +0200)]
doc: Specify baudate range under "range" key rather than in name

9 years agoUpdate DIN block documentation
Karel Kočí [Wed, 27 Aug 2014 15:23:55 +0000 (17:23 +0200)]
Update DIN block documentation

Added parameters description and mention about Input Configure Block.

9 years agoAdd Overrun detection block documentation
Karel Kočí [Wed, 27 Aug 2014 15:23:54 +0000 (17:23 +0200)]
Add Overrun detection block documentation

In rpp_lib:
Overrun Detection block is renamed from Overrun and its mask is changed
to contain only "Overrun", not full block name.
Help in Overrun Detection block is updated to be same as in documentation.

9 years agoUse "range" key for documenting choice values
Michal Sojka [Thu, 28 Aug 2014 16:33:36 +0000 (18:33 +0200)]
Use "range" key for documenting choice values

9 years agoEnhance parameters documentation of CAN Transmit block and Added missing parameters...
Karel Kočí [Wed, 27 Aug 2014 14:59:03 +0000 (16:59 +0200)]
Enhance parameters documentation of CAN Transmit block and Added missing parameters documentation of CAN Receive.

Parameters names are changed to be same as in block.
Type of parameters that are implemented in simulink as popup are documented as list of choices.

9 years agoOne more case change
Michal Sojka [Thu, 28 Aug 2014 16:18:04 +0000 (18:18 +0200)]
One more case change

9 years agoRename certain variables to lower case
Michal Sojka [Thu, 28 Aug 2014 16:11:29 +0000 (18:11 +0200)]
Rename certain variables to lower case

Upper case should only be used for preprocessor symbols.

9 years agoAdd Overrun simulink block
Karel Kočí [Mon, 25 Aug 2014 16:38:29 +0000 (18:38 +0200)]
Add Overrun simulink block

Added block for overrun detection.

Now overrun is not reported as error to model, but when is detected,
OVERRUN_FLAG is seted and Overrun block is executing connected
simulink function.

9 years agoAdd DIN setup parameters for pins 0-7 and buildtime prevent of multiple blocks for...
Karel Kočí [Mon, 25 Aug 2014 12:30:11 +0000 (14:30 +0200)]
Add DIN setup parameters for pins 0-7 and buildtime prevent of multiple blocks for same pin

Setup parameters are now only applyed for relevant DINs (0-7) and for those was also added buildtime
simulink error to prevent multiple blocks of same pin in one model.

Type of first parameter changed to int8 to prevent showing 'U' in error messages.

9 years agoWarning about unused variable removed
Michal Horn [Thu, 28 Aug 2014 15:23:43 +0000 (17:23 +0200)]
Warning about unused variable removed

9 years agoMerge branch 'mailbox_comb'
Michal Horn [Thu, 28 Aug 2014 15:08:23 +0000 (17:08 +0200)]
Merge branch 'mailbox_comb'

Conflicts:
rpp/demos/cantransmit.slx

Using the local version, no important changes in the remote.

9 years agoAlgorithm for Resolving combination of aut. and man. meilboxes numbering improved
Michal Horn [Thu, 28 Aug 2014 15:00:03 +0000 (17:00 +0200)]
Algorithm for Resolving combination of aut. and man. meilboxes numbering improved

Code of the algorithm was moved to a separated file, included by both CAN RX and TX blocks.
Functions were made more generic to be apliable for both CAN blocks without further changes.

9 years agoRemoved excessive variables and split code into functions for CAN TX block
Michal Horn [Thu, 28 Aug 2014 14:18:08 +0000 (16:18 +0200)]
Removed excessive variables and split code into functions for CAN TX block

9 years agoAlgorithm for resolving combination of automatic and manual mailbox numbering simplif...
Michal Horn [Thu, 28 Aug 2014 14:04:55 +0000 (16:04 +0200)]
Algorithm for resolving combination of automatic and manual mailbox numbering simplified for CAN TX block