]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
2 years agoChange license to MIT master personal/sojka/for-master
Michal Sojka [Sun, 23 May 2021 23:05:58 +0000 (01:05 +0200)]
Change license to MIT

4 years agodoc: Use commonmark for documentation format
Michal Sojka [Thu, 17 Oct 2019 15:23:03 +0000 (17:23 +0200)]
doc: Use commonmark for documentation format

Markdown format behaves differently and the formatting of some headings
is wrong.

4 years agoUpdate rpp-lib
Michal Sojka [Sun, 8 Sep 2019 21:31:51 +0000 (23:31 +0200)]
Update rpp-lib

* rpp-lib 1361bde7...300b1934 (2):
  > Increase FreeRTOS heap and use it by LwIP
  > Increase stack memory of RX and TX thread

4 years agoAdd testing tool iperf
Jakub Nejedlý [Wed, 21 Aug 2019 08:09:32 +0000 (10:09 +0200)]
Add testing tool iperf

New debuging tool allows to test quality of ethernet connection. New function
works as iperf server. To test is nessesary connect from computer.

4 years agoGet rid of compiler warnings (variable was set but never used)
Michal Sojka [Sat, 31 Aug 2019 21:12:25 +0000 (23:12 +0200)]
Get rid of compiler warnings (variable was set but never used)

4 years agoAdd ping function to debug tools
Jakub Nejedlý [Wed, 21 Aug 2019 07:56:07 +0000 (09:56 +0200)]
Add ping function to debug tools

Ping command is now useable to test ethernet conection.
Main part of code was taken from
http://www.smallerapple.com/ZhangJianfei/rt-thread/blob/98fc1cb4cf0fd20a79f16b72fd72846c207702b5/components/net/lwip-1.3.2/apps/ping.c

4 years agoChange MAC address
Jakub Nejedlý [Wed, 21 Aug 2019 07:42:01 +0000 (09:42 +0200)]
Change MAC address

Unification of MAC addresses over project.
Emac address is used only in this debugging tool.
During emac_test is't called rpp_init().
MAC address defined in eth.h have no efect in this test file.

4 years agoGuard tms570_rpp-specific code with #ifdef
Jakub Nejedlý [Wed, 21 Aug 2019 07:26:57 +0000 (09:26 +0200)]
Guard tms570_rpp-specific code with #ifdef

Due migration ethernet to common board version is
nessesary to exclude this pin setup from non-RPP
builds.

4 years agoEnable Ethernet on all boards
Jakub Nejedlý [Wed, 21 Aug 2019 07:18:40 +0000 (09:18 +0200)]
Enable Ethernet on all boards

Migration of Ethernet debugging tools from RPP board to all versions.

Michal Sojka updated .gitattributes to distribute the enabled commands
to EATON.

4 years agoUpdate rpp-lib
Michal Sojka [Sat, 31 Aug 2019 20:38:29 +0000 (22:38 +0200)]
Update rpp-lib

* rpp-lib 7f10feaa...9cba59d8 (9):
  > Update LWIP
  > Set MDIO initial sequence
  > Change RMII comunication to MII
  > Makefile.var: Whitespace fixes
  > Enable ethernet interrupts for all platforms
  > Add content to release
  > Static IP configuration
  > Touch PIN_ETHRST only on TMS570_RPP
  > Enable ehternet for all platform
  > Heap change
  > Get rid of "last line of file ends without a newline" warning

7 years agoUpdate lib submodule
Michal Sojka [Wed, 4 May 2016 09:36:36 +0000 (11:36 +0200)]
Update lib submodule

Fixes #1608

7 years agocandump: Fix displaying of EFF frame IDs
Michal Sojka [Tue, 3 May 2016 11:22:55 +0000 (13:22 +0200)]
candump: Fix displaying of EFF frame IDs

7 years agocandump: Do not filter messages, show them all
Michal Sojka [Tue, 3 May 2016 11:21:05 +0000 (13:21 +0200)]
candump: Do not filter messages, show them all

Fixes #1606

7 years agocandump: Ensure than controller ID is not out of range
Michal Sojka [Tue, 3 May 2016 11:19:48 +0000 (13:19 +0200)]
candump: Ensure than controller ID is not out of range

7 years agoadc: Use board-dependent function for LSB-to-Volts conversion
Michal Sojka [Mon, 25 Apr 2016 15:19:27 +0000 (17:19 +0200)]
adc: Use board-dependent function for LSB-to-Volts conversion

Fixes #1605

8 years agocmdproc: Make backspace work even in sterm
Michal Sojka [Wed, 30 Mar 2016 12:21:17 +0000 (14:21 +0200)]
cmdproc: Make backspace work even in sterm

sterm sends chr(127) instead of backspace.

8 years agoUpdate/correct dinsetup documentation
Michal Sojka [Thu, 14 Apr 2016 15:03:57 +0000 (17:03 +0200)]
Update/correct dinsetup documentation

Fixes #1577

8 years agoAdd MOUT commands
Michal Sojka [Wed, 13 Apr 2016 15:32:51 +0000 (17:32 +0200)]
Add MOUT commands

The commands work, but the pin voltage does not change and diag signals
a fault. Probably, the pin driving EN signal is not set to 1. This needs
to be fixed later.

Fixes #1580

8 years agolout: Document command output
Michal Sojka [Wed, 13 Apr 2016 14:26:42 +0000 (16:26 +0200)]
lout: Document command output

Fixes #1581

8 years agolout: Add missing "\n"
Michal Sojka [Wed, 13 Apr 2016 14:24:40 +0000 (16:24 +0200)]
lout: Add missing "\n"

8 years agolout: Fix buffer overflow
Michal Sojka [Wed, 13 Apr 2016 14:24:02 +0000 (16:24 +0200)]
lout: Fix buffer overflow

8 years agoUpdate rpp-lib submodule
Michal Sojka [Wed, 13 Apr 2016 14:20:01 +0000 (16:20 +0200)]
Update rpp-lib submodule

8 years agohout: Do not use variably sized local array
Michal Sojka [Wed, 13 Apr 2016 14:16:23 +0000 (16:16 +0200)]
hout: Do not use variably sized local array

This uses dynamic allocation, which does not work and results in an
exception in libc code. Since, we don't have the libc source, I'm not sure
what is exactly the reason.

Fixes #1579

8 years agoMake houtpwm code and documentation match
Michal Sojka [Wed, 13 Apr 2016 13:46:10 +0000 (15:46 +0200)]
Make houtpwm code and documentation match

Fixes #1578

8 years agoFix buffer overflow
Michal Sojka [Wed, 13 Apr 2016 12:57:55 +0000 (14:57 +0200)]
Fix buffer overflow

8 years agoUpdate lib submodule
Michal Sojka [Tue, 27 Oct 2015 13:32:18 +0000 (14:32 +0100)]
Update lib submodule

8 years agoFixed indices in the FlexRay test procedures
Jan Dvořák [Mon, 19 Oct 2015 09:24:26 +0000 (11:24 +0200)]
Fixed indices in the FlexRay test procedures

8 years agoUpdate lib submodule personal/sojka/gio-spi5 eaton-0.7
Michal Sojka [Sun, 4 Oct 2015 14:36:17 +0000 (16:36 +0200)]
Update lib submodule

8 years agoUpdate lib submodule
Michal Sojka [Sun, 4 Oct 2015 07:32:44 +0000 (09:32 +0200)]
Update lib submodule

8 years agoUpdate lib submodule
Michal Sojka [Fri, 11 Sep 2015 14:07:25 +0000 (16:07 +0200)]
Update lib submodule

8 years agoUpdate lib submodule personal/sojka/spi eaton-0.6
Michal Sojka [Thu, 3 Sep 2015 08:31:17 +0000 (10:31 +0200)]
Update lib submodule

8 years agoUpdate port command documentation
Michal Sojka [Wed, 2 Sep 2015 16:38:43 +0000 (18:38 +0200)]
Update port command documentation

8 years agoadc: Support different number of channels depending on the target
Michal Sojka [Wed, 2 Sep 2015 16:38:29 +0000 (18:38 +0200)]
adc: Support different number of channels depending on the target

8 years agoRecommend Debug build of the library with rpp-test-sw
Michal Sojka [Wed, 2 Sep 2015 08:41:49 +0000 (10:41 +0200)]
Recommend Debug build of the library with rpp-test-sw

8 years agoDo not issue warning about unreachable code
Michal Sojka [Wed, 2 Sep 2015 05:48:57 +0000 (07:48 +0200)]
Do not issue warning about unreachable code

We keep the return statement here for the case that the function will
be modified and return will become reachable again.

8 years agoSupport more channels for 16 bit ports
Michal Sojka [Sat, 29 Aug 2015 11:21:33 +0000 (13:21 +0200)]
Support more channels for 16 bit ports

8 years agoFix endianing for 16bit port channels
Michal Sojka [Sat, 29 Aug 2015 11:13:08 +0000 (13:13 +0200)]
Fix endianing for 16bit port channels

8 years agoPrint SPI chip name in portlist output
Michal Sojka [Sat, 29 Aug 2015 08:48:42 +0000 (10:48 +0200)]
Print SPI chip name in portlist output

8 years agoUpdate to changes in SPI API
Michal Sojka [Fri, 28 Aug 2015 21:41:23 +0000 (23:41 +0200)]
Update to changes in SPI API

This needs to be tested!

8 years agoUpdate lib submodule
Michal Sojka [Fri, 28 Aug 2015 14:20:47 +0000 (16:20 +0200)]
Update lib submodule

8 years agoUpdate lib submodule eaton-0.5.5b
Michal Sojka [Thu, 27 Aug 2015 17:18:21 +0000 (19:18 +0200)]
Update lib submodule

8 years agoUpdate lib submodule
Michal Sojka [Thu, 27 Aug 2015 17:08:38 +0000 (19:08 +0200)]
Update lib submodule

8 years agoUpdate lib submodule eaton-0.5.5a
Michal Sojka [Thu, 27 Aug 2015 13:12:04 +0000 (15:12 +0200)]
Update lib submodule

8 years agoFix warnings personal/sojka/tmp
Michal Sojka [Thu, 27 Aug 2015 08:08:04 +0000 (10:08 +0200)]
Fix warnings

8 years agoUpdate lib submodule eaton-0.5.5
Michal Sojka [Thu, 27 Aug 2015 07:29:07 +0000 (09:29 +0200)]
Update lib submodule

8 years agoUpdate lib submodule
Michal Sojka [Thu, 27 Aug 2015 05:32:51 +0000 (07:32 +0200)]
Update lib submodule

8 years agoUpdate OS version (include path) in CCS projects
Michal Sojka [Thu, 27 Aug 2015 05:32:43 +0000 (07:32 +0200)]
Update OS version (include path) in CCS projects

8 years agoUpdate lib submodule personal/sojka/adc-fix
Michal Sojka [Wed, 26 Aug 2015 20:54:41 +0000 (22:54 +0200)]
Update lib submodule

8 years agoUpdate lib submodule
Michal Sojka [Wed, 26 Aug 2015 11:49:28 +0000 (13:49 +0200)]
Update lib submodule

8 years agoUpdate lib submodule personal/hornmich/for-master
Michal Horn [Wed, 19 Aug 2015 08:19:16 +0000 (10:19 +0200)]
Update lib submodule

8 years agoRework portval command
Michal Sojka [Fri, 7 Aug 2015 10:03:33 +0000 (12:03 +0200)]
Rework portval command

- Show R/W status
- Remove support for (currently) non-existent bits-per-channel values
- Responses are always prefixed by the original command

8 years agoUpdate to the reworked gio and port in the rpp-lib
Michal Sojka [Sun, 26 Jul 2015 21:31:19 +0000 (23:31 +0200)]
Update to the reworked gio and port in the rpp-lib

Also simplify spi_resp_transl.

8 years agoUpdate library
Michal Horn [Wed, 22 Jul 2015 07:29:57 +0000 (09:29 +0200)]
Update library

8 years agoUpdate library personal/vajnamar/for-master
Martin Vajnar [Thu, 30 Jul 2015 12:48:41 +0000 (14:48 +0200)]
Update library

8 years agoMerge branch 'master' into personal/vajnamar/merge-fixes
Martin Vajnar [Thu, 30 Jul 2015 12:26:59 +0000 (14:26 +0200)]
Merge branch 'master' into personal/vajnamar/merge-fixes

8 years agoAdd the possibility to break echoserver running in foreground
Martin Vajnar [Thu, 30 Jul 2015 12:03:45 +0000 (14:03 +0200)]
Add the possibility to break echoserver running in foreground

Echoserver is capable of running in the foreground, but there was no
possibility to break it. Now it is possible by pressing any key in the RPP
terminal, followed by issuing EOF and closing the connection from the PC.

8 years agoFix echoserver's foreground mode
Martin Vajnar [Thu, 30 Jul 2015 11:54:58 +0000 (13:54 +0200)]
Fix echoserver's foreground mode

es_logic() requires pointer to valid thread_context, but the pointer was
only assigned properly when running echoserver as a background thread.

Now the pointer is assigned in both cases, that is for running in
background and foreground.

8 years agoUpdate library
Martin Vajnar [Fri, 24 Jul 2015 16:35:56 +0000 (18:35 +0200)]
Update library

8 years agoCompile TCP echoserver for TMS570_RPP
Martin Vajnar [Fri, 24 Jul 2015 15:33:05 +0000 (17:33 +0200)]
Compile TCP echoserver for TMS570_RPP

8 years agoMerge branch 'cmd_echoserver' of git@rtime.felk.cvut.cz:rpp-test-sw into personal...
Martin Vajnar [Fri, 24 Jul 2015 11:34:19 +0000 (13:34 +0200)]
Merge branch 'cmd_echoserver' of git@rtime.felk.cvut.cz:rpp-test-sw into personal/vajnamar/merge-fixes

8 years agoMerged Ethernet driver into library
Martin Vajnar [Fri, 24 Jul 2015 11:34:04 +0000 (13:34 +0200)]
Merged Ethernet driver into library

8 years agoMerge branch 'master' of git@rtime.felk.cvut.cz:rpp-test-sw into personal/vajnamar...
Martin Vajnar [Fri, 24 Jul 2015 11:06:26 +0000 (13:06 +0200)]
Merge branch 'master' of git@rtime.felk.cvut.cz:rpp-test-sw into personal/vajnamar/for-master

8 years agoUpdate library
Martin Vajnar [Thu, 23 Jul 2015 15:02:00 +0000 (17:02 +0200)]
Update library

8 years agoCall rpp_init() to initialize all available peripherals
Martin Vajnar [Thu, 23 Jul 2015 14:38:53 +0000 (16:38 +0200)]
Call rpp_init() to initialize all available peripherals

Call rpp_init() in main() to initialize all available peripherals.

8 years agodoc: Improve Emacs macros for editing command help texts
Michal Sojka [Thu, 16 Jul 2015 16:44:38 +0000 (18:44 +0200)]
doc: Improve Emacs macros for editing command help texts

8 years agoUpdate library
Michal Sojka [Wed, 15 Jul 2015 20:25:08 +0000 (22:25 +0200)]
Update library

8 years agoFix HDK ADC voltage conversion personal/hornmich/tmp
Michal Horn [Mon, 13 Jul 2015 14:39:15 +0000 (16:39 +0200)]
Fix HDK ADC voltage conversion

8 years agoFix adcwatch string layout
Michal Horn [Mon, 13 Jul 2015 12:32:35 +0000 (14:32 +0200)]
Fix adcwatch string layout

8 years agoMake attribute "eaton" to match only files in current directory
Michal Sojka [Sat, 11 Jul 2015 18:08:39 +0000 (20:08 +0200)]
Make attribute "eaton" to match only files in current directory

8 years agoSetup ignored files in lib before including lib in release
Michal Sojka [Fri, 10 Jul 2015 16:42:49 +0000 (18:42 +0200)]
Setup ignored files in lib before including lib in release

8 years agoUpdate lib
Michal Sojka [Thu, 9 Jul 2015 10:59:26 +0000 (12:59 +0200)]
Update lib

8 years agoUpdate rpp-lib
Michal Sojka [Wed, 8 Jul 2015 23:40:51 +0000 (01:40 +0200)]
Update rpp-lib

8 years agoInclude lwip in the release
Michal Sojka [Wed, 8 Jul 2015 19:41:37 +0000 (21:41 +0200)]
Include lwip in the release

8 years agoInclude Makefile.var in the release
Michal Sojka [Wed, 8 Jul 2015 19:21:25 +0000 (21:21 +0200)]
Include Makefile.var in the release

Otherwise the release cannot be compiled.

8 years agoAdd eaton attribute to files distributed to Eaton
Michal Sojka [Wed, 8 Jul 2015 17:34:22 +0000 (19:34 +0200)]
Add eaton attribute to files distributed to Eaton

8 years agoGenerate documentation correctly depending on the selected target
Michal Sojka [Wed, 8 Jul 2015 17:13:10 +0000 (19:13 +0200)]
Generate documentation correctly depending on the selected target

8 years agoMerge branches 'master' and 'rm48/master'
Michal Sojka [Wed, 8 Jul 2015 15:48:14 +0000 (17:48 +0200)]
Merge branches 'master' and 'rm48/master'

Conflicts:
Makefile
rpp-lib
rpp-test-sw/.ccsproject
rpp-test-sw/.cproject
rpp-test-sw/commands/_tms570_rpp/cmd.c
rpp-test-sw/commands/_tms570_rpp/main.c
rpp-test-sw/commands/cmd_fr_basic_test.c

8 years agoMakefile: Always include release rules eaton
Michal Sojka [Sat, 4 Jul 2015 15:50:51 +0000 (17:50 +0200)]
Makefile: Always include release rules

Conditional inclusion broke release procedure of rpp-simulink.

8 years agoMakefile: Rework release target
Michal Sojka [Sat, 4 Jul 2015 15:33:37 +0000 (17:33 +0200)]
Makefile: Rework release target

8 years agoMakefile: Allow building and releasing for multiple targets
Michal Sojka [Sat, 4 Jul 2015 12:43:44 +0000 (14:43 +0200)]
Makefile: Allow building and releasing for multiple targets

8 years agoFix compile error for new targets
Michal Sojka [Sat, 4 Jul 2015 12:41:09 +0000 (14:41 +0200)]
Fix compile error for new targets

8 years agoUpdate rpp-lib eaton-0.5-beta
Michal Sojka [Fri, 3 Jul 2015 15:03:22 +0000 (17:03 +0200)]
Update rpp-lib

8 years agoOne more rpp-lib update
Michal Sojka [Fri, 3 Jul 2015 14:28:15 +0000 (16:28 +0200)]
One more rpp-lib update

8 years agoUpdate rpp-lib submodules
Michal Sojka [Fri, 3 Jul 2015 14:25:30 +0000 (16:25 +0200)]
Update rpp-lib submodules

8 years agoModify flexray commands to reflect changes in RPP library
Michal Horn [Wed, 24 Jun 2015 15:55:42 +0000 (17:55 +0200)]
Modify flexray commands to reflect changes in RPP library

8 years agoFix clean target eaton-0.4
Michal Sojka [Thu, 30 Apr 2015 13:25:47 +0000 (15:25 +0200)]
Fix clean target

8 years agoUse debug build of library in the release package
Michal Sojka [Wed, 29 Apr 2015 15:54:19 +0000 (17:54 +0200)]
Use debug build of library in the release package

This fixes error in release target of rpp-simulink.

8 years agoLibrary update
Michal Horn [Wed, 29 Apr 2015 15:24:00 +0000 (17:24 +0200)]
Library update

8 years agoAdd .out suffix to generated binary
Michal Horn [Wed, 29 Apr 2015 15:23:17 +0000 (17:23 +0200)]
Add .out suffix to generated binary

8 years agoLibrary update
Michal Horn [Wed, 29 Apr 2015 13:15:53 +0000 (15:15 +0200)]
Library update

8 years agoUpdate lib
Michal Sojka [Wed, 29 Apr 2015 12:00:33 +0000 (14:00 +0200)]
Update lib

8 years agoUpdate rpp-lib
Michal Sojka [Wed, 29 Apr 2015 11:12:39 +0000 (13:12 +0200)]
Update rpp-lib

8 years agoAdd missing files to release tarball
Michal Sojka [Wed, 29 Apr 2015 09:46:11 +0000 (11:46 +0200)]
Add missing files to release tarball

Also, release target is simplified and made less error prone, by not
copying library files from worktree, but by using 'git archive'.

8 years agoRemove target specific stuff from doc build
Michal Sojka [Wed, 29 Apr 2015 07:40:32 +0000 (09:40 +0200)]
Remove target specific stuff from doc build

Later we will need to include ../Makefile.inc (or similar) to get list of
commands.

8 years agoFix make release
Michal Sojka [Wed, 29 Apr 2015 05:43:17 +0000 (07:43 +0200)]
Fix make release

8 years agoAdd dependency on rpp-lib to CCS project
Michal Sojka [Tue, 28 Apr 2015 22:37:32 +0000 (00:37 +0200)]
Add dependency on rpp-lib to CCS project

This ensures that rpp-lib is built before rpp-test-sw (which is useful
at least for buildbot)

8 years agoRename Makefile to GNUmakefile
Michal Sojka [Tue, 28 Apr 2015 22:29:52 +0000 (00:29 +0200)]
Rename Makefile to GNUmakefile

Having Makefile in build directory confuses CCS and it generates their
own Makefiles even when it is configured to not generate them.

8 years agoUpdate CCS project to somehow work
Michal Sojka [Tue, 28 Apr 2015 22:06:12 +0000 (00:06 +0200)]
Update CCS project to somehow work

8 years agoCompile with Makefile instead of CSS
Michal Sojka [Tue, 28 Apr 2015 21:48:26 +0000 (23:48 +0200)]
Compile with Makefile instead of CSS

Also remove target specific compies. The differences are not so big to
deserve that. We will probably use another approach to merge tms570_rpp
target.

8 years agoUpdate Makefile so that Eclipse does not blow up the buildbot server
Michal Sojka [Tue, 28 Apr 2015 20:21:00 +0000 (22:21 +0200)]
Update Makefile so that Eclipse does not blow up the buildbot server

Without this, it seams that Eclipse was somehow invoked recursively and eat
up the whole memory.