]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/log
pes-rpp/rpp-lib.git
9 years agoAdd CCS project for helloworld for POSIX target
Michal Horn [Wed, 29 Apr 2015 08:16:15 +0000 (10:16 +0200)]
Add CCS project for helloworld for POSIX target

9 years agoAdd CCS project for helloworld for RM48 HDK target
Michal Horn [Wed, 29 Apr 2015 08:14:12 +0000 (10:14 +0200)]
Add CCS project for helloworld for RM48 HDK target

9 years agoAdd helloworld project for TMS570 HDK target
Michal Horn [Wed, 29 Apr 2015 08:11:57 +0000 (10:11 +0200)]
Add helloworld project for TMS570 HDK target

9 years agoRemove not needed CCS project files
Michal Horn [Wed, 29 Apr 2015 08:09:37 +0000 (10:09 +0200)]
Remove not needed CCS project files

9 years agoMakefile.rules: Always use linker script from build directory
Michal Sojka [Tue, 28 Apr 2015 21:32:44 +0000 (23:32 +0200)]
Makefile.rules: Always use linker script from build directory

This is to ensure that external applications like rpp-test-sw build even
when they include Makefile.config copied to the rpp-lib root directory.

9 years agoMakefile: Do not use variables with multi-line commands
Michal Sojka [Tue, 28 Apr 2015 19:23:48 +0000 (21:23 +0200)]
Makefile: Do not use variables with multi-line commands

Multi-line command variables do not work on Windows.

9 years agorpp-test-suite: Fix compilation for POSIX target
Michal Sojka [Tue, 28 Apr 2015 16:57:47 +0000 (18:57 +0200)]
rpp-test-suite: Fix compilation for POSIX target

9 years agoCompile rpp.c for POSIX target
Michal Sojka [Tue, 28 Apr 2015 16:49:21 +0000 (18:49 +0200)]
Compile rpp.c for POSIX target

Without this, we cannot compile helloworld.

9 years agoRemove unneeded variables from Makefile.var
Michal Sojka [Tue, 28 Apr 2015 16:32:55 +0000 (18:32 +0200)]
Remove unneeded variables from Makefile.var

9 years agoAdd apps Makefiles for all targets
Michal Sojka [Tue, 28 Apr 2015 16:30:48 +0000 (18:30 +0200)]
Add apps Makefiles for all targets

9 years agoUpdate Makefiles so that thay work for both POSIX and ARM targets
Michal Sojka [Tue, 28 Apr 2015 16:30:05 +0000 (18:30 +0200)]
Update Makefiles so that thay work for both POSIX and ARM targets

9 years agoUnify compilation for POSIX and ARM
Michal Sojka [Tue, 28 Apr 2015 16:05:13 +0000 (18:05 +0200)]
Unify compilation for POSIX and ARM

Now, it is not necessary to write different Makefiles for POSIX target.

9 years agorpp-test-suite: Remove various garbage files
Michal Sojka [Tue, 28 Apr 2015 15:31:00 +0000 (17:31 +0200)]
rpp-test-suite: Remove various garbage files

Again, CCS projects will be added later.

9 years agoAdd Makefiles for rpp-test-suite
Michal Sojka [Tue, 28 Apr 2015 15:23:06 +0000 (17:23 +0200)]
Add Makefiles for rpp-test-suite

Also simplify directory structure by moving all files to a single
directory.

9 years agorpp-test-suite: Unify main.c by adding #ifdefs
Michal Sojka [Tue, 28 Apr 2015 15:06:44 +0000 (17:06 +0200)]
rpp-test-suite: Unify main.c by adding #ifdefs

9 years agoAdd Makefiles for helloworld application and remove CCS projects
Michal Sojka [Tue, 28 Apr 2015 15:01:17 +0000 (17:01 +0200)]
Add Makefiles for helloworld application and remove CCS projects

Propoer CCS projects will be added later.

9 years agoRefactor Makefiles so that they can be used also for applications
Michal Sojka [Tue, 28 Apr 2015 14:39:31 +0000 (16:39 +0200)]
Refactor Makefiles so that they can be used also for applications

Also move linker scripts and ccxml files to build directories.

9 years agoAdd more to .gitignore
Michal Sojka [Tue, 28 Apr 2015 10:54:43 +0000 (12:54 +0200)]
Add more to .gitignore

9 years agoUpdate toplevel Makefiles to do reasonable things
Michal Sojka [Mon, 27 Apr 2015 18:02:54 +0000 (20:02 +0200)]
Update toplevel Makefiles to do reasonable things

This is still not finished - applications do not build yet.

9 years agoUpdate CCS projects to work
Michal Sojka [Mon, 27 Apr 2015 17:50:50 +0000 (19:50 +0200)]
Update CCS projects to work

Top-level source directories are added as linked resources (not virtual
folders). This way, new files and subdirectories appear automatically
and compiler error messages are clickable.

9 years agoMove CCS projects to build directories
Michal Sojka [Mon, 27 Apr 2015 17:01:30 +0000 (19:01 +0200)]
Move CCS projects to build directories

9 years agoCopy Makefile.config to the root directory together with the library
Michal Sojka [Mon, 27 Apr 2015 16:31:02 +0000 (18:31 +0200)]
Copy Makefile.config to the root directory together with the library

This way the user of the library will know how it was compiled.

9 years agoCreate build directories for different targets
Michal Sojka [Mon, 27 Apr 2015 14:59:21 +0000 (16:59 +0200)]
Create build directories for different targets

These directories contain the config files and Makefiles. Builds for ARM
share common Makefile.

9 years agoSimplify Makefile.var
Michal Sojka [Mon, 27 Apr 2015 14:51:15 +0000 (16:51 +0200)]
Simplify Makefile.var

and rename linux target to posix.

9 years agoSwitch to RM48 project
Michal Horn [Wed, 22 Apr 2015 18:42:47 +0000 (20:42 +0200)]
Switch to RM48 project

9 years agoAdd version for TMS570_HDK platform
Michal Horn [Tue, 21 Apr 2015 14:21:25 +0000 (16:21 +0200)]
Add version for TMS570_HDK platform

9 years agoAdd variable for target configuration file to the Makefile
Michal Horn [Tue, 21 Apr 2015 08:33:04 +0000 (10:33 +0200)]
Add variable for target configuration file to the Makefile

9 years agoAdd variable for target configuration file to the Makefile
Michal Horn [Tue, 21 Apr 2015 08:32:37 +0000 (10:32 +0200)]
Add variable for target configuration file to the Makefile

9 years agoAdd variable for linker script file to the Makefile
Michal Horn [Tue, 21 Apr 2015 07:40:51 +0000 (09:40 +0200)]
Add variable for linker script file to the Makefile

9 years agoAdd support for release basename print
Michal Horn [Tue, 21 Apr 2015 07:00:14 +0000 (09:00 +0200)]
Add support for release basename print

9 years agoAdd LD script variable to the Makefile
Michal Horn [Tue, 21 Apr 2015 06:56:45 +0000 (08:56 +0200)]
Add LD script variable to the Makefile

9 years agoAdd copy of CCS projects files to platform specific directories
Michal Horn [Mon, 20 Apr 2015 13:59:40 +0000 (15:59 +0200)]
Add copy of CCS projects files to platform specific directories

9 years agoUpdate CCS project file
Michal Horn [Mon, 20 Apr 2015 13:59:19 +0000 (15:59 +0200)]
Update CCS project file

9 years agoFix header comments in Makefiles
Michal Horn [Mon, 20 Apr 2015 13:58:54 +0000 (15:58 +0200)]
Fix header comments in Makefiles

9 years agoRemove forgotten line in the ADC test
Michal Horn [Mon, 20 Apr 2015 13:58:18 +0000 (15:58 +0200)]
Remove forgotten line in the ADC test

9 years agoAdd check for CCS utils directory variable
Michal Horn [Mon, 20 Apr 2015 13:57:36 +0000 (15:57 +0200)]
Add check for CCS utils directory variable

9 years agoRemove not needed and commented inclusions
Michal Horn [Mon, 20 Apr 2015 13:57:00 +0000 (15:57 +0200)]
Remove not needed and commented inclusions

9 years agoFix formating
Michal Horn [Mon, 20 Apr 2015 13:56:45 +0000 (15:56 +0200)]
Fix formating

9 years agoAdd copy of CCS files to platform specific directories
Michal Horn [Mon, 20 Apr 2015 13:55:31 +0000 (15:55 +0200)]
Add copy of CCS files to platform specific directories

9 years agoRemove not needed and commented inclusions
Michal Horn [Mon, 20 Apr 2015 13:54:37 +0000 (15:54 +0200)]
Remove not needed and commented inclusions

9 years agoTune test-suite Makefile to support several platforms
Michal Horn [Fri, 17 Apr 2015 11:21:53 +0000 (13:21 +0200)]
Tune test-suite Makefile to support several platforms

9 years agoChange test-suite makefile to support several platforms
Michal Horn [Fri, 17 Apr 2015 11:21:31 +0000 (13:21 +0200)]
Change test-suite makefile to support several platforms

9 years agoFix error in app
Michal Horn [Fri, 17 Apr 2015 11:05:23 +0000 (13:05 +0200)]
Fix error in app

9 years agoRework test-suite to be able to build for different platforms
Michal Horn [Fri, 17 Apr 2015 10:04:12 +0000 (12:04 +0200)]
Rework test-suite to be able to build for different platforms

9 years agoRework test-suite to be able to build for different platforms
Michal Horn [Fri, 17 Apr 2015 09:50:07 +0000 (11:50 +0200)]
Rework test-suite to be able to build for different platforms

9 years agoReformat rpp-test-suite files
Michal Horn [Fri, 17 Apr 2015 08:24:42 +0000 (10:24 +0200)]
Reformat rpp-test-suite files

9 years agoRemove the name of the platform from the OS folder name
Michal Horn [Fri, 17 Apr 2015 08:16:25 +0000 (10:16 +0200)]
Remove the name of the platform from the OS folder name

9 years agoFix warnings
Michal Horn [Thu, 16 Apr 2015 14:03:07 +0000 (16:03 +0200)]
Fix warnings

9 years agoReformat rpp-test-suite Makefile
Michal Horn [Thu, 16 Apr 2015 13:57:10 +0000 (15:57 +0200)]
Reformat rpp-test-suite Makefile

9 years agoRemove the name of the platform from the OS folder name
Michal Horn [Thu, 16 Apr 2015 13:56:02 +0000 (15:56 +0200)]
Remove the name of the platform from the OS folder name

9 years agoFix warnings whan building demo app
Michal Horn [Thu, 16 Apr 2015 07:48:28 +0000 (09:48 +0200)]
Fix warnings whan building demo app

9 years agoFix warnings when building demo app
Michal Horn [Thu, 16 Apr 2015 07:48:12 +0000 (09:48 +0200)]
Fix warnings when building demo app

9 years agoRemove not needed headers inclusions
Michal Horn [Wed, 15 Apr 2015 12:44:54 +0000 (14:44 +0200)]
Remove not needed headers inclusions

9 years agoFix compile errors
Michal Horn [Wed, 15 Apr 2015 12:44:43 +0000 (14:44 +0200)]
Fix compile errors

9 years agoRemove not needed headers inclusions
Michal Horn [Wed, 15 Apr 2015 11:21:12 +0000 (13:21 +0200)]
Remove not needed headers inclusions

9 years agoFix compilation errors
Michal Horn [Wed, 15 Apr 2015 11:16:44 +0000 (13:16 +0200)]
Fix compilation errors

9 years agoMove platform specific header files to platform specific directories
Michal Horn [Tue, 14 Apr 2015 18:43:51 +0000 (20:43 +0200)]
Move platform specific header files to platform specific directories

9 years agoMove platform specific source files to platform specific directories
Michal Horn [Tue, 14 Apr 2015 18:43:30 +0000 (20:43 +0200)]
Move platform specific source files to platform specific directories

9 years agoMove platform specific header files to platform specific directories
Michal Horn [Tue, 14 Apr 2015 18:40:34 +0000 (20:40 +0200)]
Move platform specific header files to platform specific directories

9 years agoMove platform specific source files to the platform specific directory
Michal Horn [Tue, 14 Apr 2015 17:09:48 +0000 (19:09 +0200)]
Move platform specific source files to the platform specific directory

9 years agoMove target specific compile flags to Makefile.config
Michal Sojka [Mon, 13 Apr 2015 15:57:41 +0000 (17:57 +0200)]
Move target specific compile flags to Makefile.config

9 years agoFirst step to unifying source code for different target platforms
Michal Sojka [Mon, 13 Apr 2015 15:34:24 +0000 (17:34 +0200)]
First step to unifying source code for different target platforms

9 years agoFix makefile for removed unused code for LIN eaton-0.3
Michal Horn [Mon, 23 Mar 2015 12:01:04 +0000 (13:01 +0100)]
Fix makefile for removed unused code for LIN

9 years agoRemove unused code for HOUT IFBK port
Michal Horn [Mon, 23 Mar 2015 11:58:58 +0000 (12:58 +0100)]
Remove unused code for HOUT IFBK port

9 years agoRemove unused code for LIN
Michal Horn [Mon, 23 Mar 2015 11:58:38 +0000 (12:58 +0100)]
Remove unused code for LIN

9 years agoMerge branch 'maint-rm48' into rm48/master eaton-0.2
Michal Sojka [Mon, 16 Feb 2015 10:55:23 +0000 (11:55 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agoIgnore release archive and directory
Michal Sojka [Mon, 16 Feb 2015 10:54:23 +0000 (11:54 +0100)]
Ignore release archive and directory

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Fri, 13 Feb 2015 16:32:04 +0000 (17:32 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
apps/rpp-test-suite/Debug/GNUmakefile
rpp/RM48L952FlashLnk.cmd
rpp/RM48L952SDRAMLnk.cmd

9 years agoFix errors in rpp-test-suite
Michal Sojka [Fri, 13 Feb 2015 16:27:01 +0000 (17:27 +0100)]
Fix errors in rpp-test-suite

- Link rpp-lib.lib before run-time support library

9 years agoEnsure that RPP startup code is always used
Michal Sojka [Fri, 13 Feb 2015 14:24:13 +0000 (15:24 +0100)]
Ensure that RPP startup code is always used

Without this change, if runtime support library is mentioned on the
linker command line before rpp-lib, the startup code is taken from
the runtime support library and the CPU is not initialized properly.

Now, linker produces the following error:

  error #10056: symbol "_c_int00" redefined

and the application can only be linked if the order of libraries is
correct.

9 years agoFix errors in applications
Michal Sojka [Fri, 13 Feb 2015 15:24:31 +0000 (16:24 +0100)]
Fix errors in applications

- Do not depend on rpp-test-sw
- Link rpp-lib.lib before run-time support library

9 years agoEnsure that RPP startup code is always used
Michal Sojka [Fri, 13 Feb 2015 14:24:13 +0000 (15:24 +0100)]
Ensure that RPP startup code is always used

Without this change, if runtime support library is mentioned on the
linker command line before rpp-lib, the startup code is taken from
the runtime support library and the CPU is not initialized properly.

Now, linker produces the following error:

  error #10056: symbol "_c_int00" redefined

and the application can only be linked if the order of libraries is
correct.

9 years agoAdd target connection configuration to the library
Michal Sojka [Thu, 12 Feb 2015 18:06:33 +0000 (19:06 +0100)]
Add target connection configuration to the library

9 years agoUpdate helloworld app configuration
Michal Sojka [Wed, 4 Feb 2015 16:25:23 +0000 (17:25 +0100)]
Update helloworld app configuration

- Remove absolute paths starting with /opt/ti
- Replace (some) references to TMS570 with RM48 equivalents

9 years agoFix include path in CCS project setup
Michal Horn [Wed, 4 Feb 2015 10:24:05 +0000 (11:24 +0100)]
Fix include path in CCS project setup

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Mon, 2 Feb 2015 15:23:03 +0000 (16:23 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agoGive users hint when CCS_UTILS_DIR does not exist
Michal Sojka [Mon, 2 Feb 2015 14:35:43 +0000 (15:35 +0100)]
Give users hint when CCS_UTILS_DIR does not exist

9 years agoemac: Rewrite EMAC LwIP driver tms570_emac
Rostislav Lisovy [Tue, 6 Jan 2015 09:53:26 +0000 (10:53 +0100)]
emac: Rewrite EMAC LwIP driver

RX + TX seem to work (tested).

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
9 years agoUpdate lwip submodule
Rostislav Lisovy [Mon, 5 Jan 2015 17:00:57 +0000 (18:00 +0100)]
Update lwip submodule

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
9 years agofreertos: Make it possible to determine name of task
Rostislav Lisovy [Mon, 5 Jan 2015 16:54:53 +0000 (17:54 +0100)]
freertos: Make it possible to determine name of task

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Fri, 12 Dec 2014 14:19:28 +0000 (15:19 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agocommon.mk: Add print-release-basename target
Michal Sojka [Fri, 12 Dec 2014 13:21:25 +0000 (14:21 +0100)]
common.mk: Add print-release-basename target

This will be used by superproject's release targets.

9 years agoRename os directories and linker script to rm48 from tms570
Michal Horn [Thu, 11 Dec 2014 13:56:04 +0000 (14:56 +0100)]
Rename os directories and linker script to rm48 from tms570

9 years agoRename header and source files to contain RM48 instead of TMS570 in their names
Michal Horn [Mon, 8 Dec 2014 10:07:03 +0000 (11:07 +0100)]
Rename header and source files to contain RM48 instead of TMS570 in their names

Fixes #1052

9 years agoRemove uLUt eaton-0.1-beta
Michal Sojka [Wed, 3 Dec 2014 18:06:37 +0000 (19:06 +0100)]
Remove uLUt

Not needed in rm48 branch.

9 years agoUpdate copyright headers
Michal Sojka [Wed, 3 Dec 2014 16:42:15 +0000 (17:42 +0100)]
Update copyright headers

9 years agoFix pinmux for NHET1 pins
Michal Horn [Tue, 25 Nov 2014 13:21:49 +0000 (14:21 +0100)]
Fix pinmux for NHET1 pins

NHET1 17, 19, 21, 23, 25, 27, 29, 31 can be muxed on two balls. Bad balls
have been selected, which led to malfunction of those pins as inputs.

9 years agoSet CAN clock source to PLL2 to have the same frequency as it has on TMS570
Michal Sojka [Thu, 27 Nov 2014 15:13:58 +0000 (16:13 +0100)]
Set CAN clock source to PLL2 to have the same frequency as it has on TMS570

This was the easiest fix of bit timing calculation, which was OK for HDK
kits, but was not compatible with other devices.

9 years agoFix bug in NHET1 initialization
Michal Horn [Mon, 10 Nov 2014 12:08:04 +0000 (13:08 +0100)]
Fix bug in NHET1 initialization

The HET port has not been initialized, bacause of typo in condition.

9 years agoFix pins multiplexing for RM48
Michal Horn [Mon, 10 Nov 2014 12:07:20 +0000 (13:07 +0100)]
Fix pins multiplexing for RM48

Used peripherals: ADC1, CAN1-3, GIOA, GIOB, HET1, EMIF, SCI
Some pins fron NHET1 port has been disabled, bacause they are shared
with SCI, which is also used.

9 years agoFix system clock configuration to use the constants from port.h
Michal Horn [Mon, 10 Nov 2014 12:02:23 +0000 (13:02 +0100)]
Fix system clock configuration to use the constants from port.h

9 years agoFix clock values for RM48, fix makefile and sci broken by the last merge
Michal Horn [Mon, 3 Nov 2014 16:27:50 +0000 (17:27 +0100)]
Fix clock values for RM48, fix makefile and sci broken by the last merge

9 years agoPort ADC driver to RM48 and HDK
Michal Horn [Fri, 31 Oct 2014 14:44:32 +0000 (15:44 +0100)]
Port ADC driver to RM48 and HDK

Refs #1024

9 years agoFix RTI clock source and FreeRTOS speed
Michal Horn [Fri, 31 Oct 2014 13:41:45 +0000 (14:41 +0100)]
Fix RTI clock source and FreeRTOS speed

The RTI clock was disabled, which caused the system to freeze in delays.

Refs: #1024

9 years agoFix GPIO pins definiton
Michal Horn [Thu, 30 Oct 2014 13:50:32 +0000 (14:50 +0100)]
Fix GPIO pins definiton

NHET pins renamed to be without underscore for right interpretation
in cmdproc.

Initial configuratio of all GPIO pins changed to use pull up resistors.

Right ranges into pin_map defined for GIOA, GIOB and NHET.

Refs #1024

9 years agoAdd GPIO RPP layer
Michal Horn [Thu, 30 Oct 2014 13:46:22 +0000 (14:46 +0100)]
Add GPIO RPP layer

Refs #1024

9 years agoFix compile warning for POSIX version
Michal Horn [Wed, 29 Oct 2014 15:02:04 +0000 (16:02 +0100)]
Fix compile warning for POSIX version

Refs #1024

9 years agoDefine ports and pins for RM48 HDK, remove old ports and pins
Michal Horn [Wed, 29 Oct 2014 15:01:19 +0000 (16:01 +0100)]
Define ports and pins for RM48 HDK, remove old ports and pins

This commit refs #1024

9 years agoRemove excessive lower layer files
Michal Horn [Wed, 29 Oct 2014 13:48:01 +0000 (14:48 +0100)]
Remove excessive lower layer files

The same as in previous commit, but for lower layers than the RPP.

This commit refs #1024

9 years agoRemove excessive rpp library files from the RM48 project
Michal Horn [Wed, 29 Oct 2014 13:31:07 +0000 (14:31 +0100)]
Remove excessive rpp library files from the RM48 project

The HDK with RM48 does not have some peripherals that the RPP board
does have and some peripherals that are present for both board are not
desired for the current project. Those files for high-level support have
been removed from the project. Lower layers functions are still present.

This commit refs #1024

Conflicts:
rpp/src/sys/notification.c