]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/log
Michal Sojka [Tue, 7 Jul 2015 13:19:25 +0000 (15:19 +0200)]
Mark files that are part of Eaton releases
Michal Sojka [Tue, 7 Jul 2015 11:47:28 +0000 (13:47 +0200)]
Rename files to not contain spaces in their names
Michal Sojka [Tue, 7 Jul 2015 10:26:35 +0000 (12:26 +0200)]
Remove obsolete Doxygen tags
This removes doxygen warnings.
Michal Sojka [Tue, 7 Jul 2015 10:18:51 +0000 (12:18 +0200)]
Fix implicit declaration warnings
Michal Sojka [Tue, 7 Jul 2015 10:12:48 +0000 (12:12 +0200)]
Cleanup cyclic include dependencies in hal.h
Michal Sojka [Tue, 7 Jul 2015 09:43:26 +0000 (11:43 +0200)]
Makefile: Initialize rpp_lib_SOURCES_y
Since Makefile.var is included twice (for good reasons), we should
initialize all variables defined here before using += operator. This
prevents make warnings such as:
../../Makefile.lib.inc:48: target 'rpp/src/sys/ti_drv_dmm.obj' given more than once in the same rule
Michal Sojka [Mon, 6 Jul 2015 14:31:30 +0000 (16:31 +0200)]
Merge branches 'master' and 'rm48/master'
I.e. merge RPP target with all Eaton targets.
Conflicts:
Debug/GNUmakefile
Makefile
Makefile.var
POSIX/GNUmakefile
apps/rpp-test-suite/Debug/GNUmakefile
apps/rpp-test-suite/Makefile.var
apps/rpp-test-suite/POSIX/GNUmakefile
apps/rpp-test-suite/main.c
apps/rpp-test-suite/src/_tms570_rpp/main.c
apps/rpp-test-suite/src/aout.c
apps/rpp-test-suite/src/din.c
apps/rpp-test-suite/src/hbr.c
apps/rpp-test-suite/src/lout.c
apps/rpp-test-suite/src/main.c
apps/rpp-test-suite/src/mout.c
apps/rpp-test-suite/src/sdr.c
common.mk
rpp/include/drv/_rm48_hdk/adc.h
rpp/include/drv/_tms570_rpp/adc.h
rpp/include/drv/adc.h
rpp/include/drv/drv.h
rpp/include/drv/fr_tms570.h
rpp/include/hal/_tms570_rpp/gpio_def.h
rpp/include/hal/_tms570_rpp/port_def.h
rpp/include/hal/hal.h
rpp/include/rpp/_rm48_hdk/adc.h
rpp/include/rpp/_tms570_rpp/adc.h
rpp/include/rpp/adc.h
rpp/include/rpp/rpp.h
rpp/include/sys/sys.h
rpp/src/drv/_rm48_hdk/adc.c
rpp/src/drv/_tms570_rpp/adc.c
rpp/src/drv/adc.c
rpp/src/drv/fr_tms570.c
rpp/src/hal/_tms570_rpp/gpio_def.c
rpp/src/hal/_tms570_rpp/port_def.c
rpp/src/rpp/_rm48_hdk/adc.c
rpp/src/rpp/_tms570_rpp/adc.c
rpp/src/rpp/adc.c
rpp/src/rpp/irc.c
rpp/src/sys/_rm48_hdk/ti_drv_adc.c
rpp/src/sys/_tms570_hdk/sys_startup.c
rpp/src/sys/_tms570_rpp/notification.c
rpp/src/sys/_tms570_rpp/sys_startup.c
rpp/src/sys/_tms570_rpp/ti_drv_adc.c
rpp/src/sys/sys_startup.c
rpp/src/sys/ti_drv_adc.c
Michal Sojka [Sat, 4 Jul 2015 15:19:43 +0000 (17:19 +0200)]
Makefile: Rework release rules
The goal is that common.mk does not define make rules on its own.
Michal Sojka [Fri, 3 Jul 2015 14:44:25 +0000 (16:44 +0200)]
Change default build target
This is only a temporary change before we recofigure our buildbot to
properly build versions for all targets.
Michal Sojka [Fri, 3 Jul 2015 12:51:42 +0000 (14:51 +0200)]
Cleanup port definition
- Remove DMM port from hydctr
- Make sure that defined indexes match to the real indexes.
Michal Sojka [Fri, 3 Jul 2015 12:50:28 +0000 (14:50 +0200)]
Make DMM code in can.c conditional
The reason is that tms570_hydctr does not have DMM.
Michal Sojka [Fri, 3 Jul 2015 11:13:39 +0000 (13:13 +0200)]
Rework rpp_gio initialization
Previously, it was necessary to define indexes of various ports in
pin_map. This was error prone and some targets were buggy due to wrong
indexes specified. The new initialization procedure does not require
these indexes and hence works more reliably.
This patch also changes the IDs of ports at RPP layer to correspond to
IDs in the HAL layer. This is now needed for proper initialization and
reduces confusion.
Michal Sojka [Thu, 2 Jul 2015 13:52:41 +0000 (15:52 +0200)]
Compile DMM in only if the target has it
Michal Sojka [Thu, 2 Jul 2015 13:51:32 +0000 (15:51 +0200)]
Makefile: Add checks for proper use of TARGET_HAS_* variables
Michal Sojka [Thu, 2 Jul 2015 13:26:54 +0000 (15:26 +0200)]
Makefile: Introduce TARGET_HAS_* variables
These variables allow to specify which target has which properties and
this information will be used for conditional compilation of various
components.
Michal Sojka [Thu, 2 Jul 2015 12:25:17 +0000 (14:25 +0200)]
Fix clean target for helloworld app
Previously, it did nothing, because rm was not defined.
We also fixed the names of files that must be cleaned.
Michal Sojka [Thu, 2 Jul 2015 11:16:53 +0000 (13:16 +0200)]
Add HalCoGen cleanup script
When we initially imported halcogen-generated files, they were modified
manually. This script attempts to do the same modifications
automatically in order to make it easier to import files from newer
halcogen versions or for newly supported hardware.
Michal Sojka [Thu, 2 Jul 2015 09:57:12 +0000 (11:57 +0200)]
Rename _memoryInit_() to memoryInit()
Current halcogen does not use the underscores so make our code more
compatible with it.
Michal Sojka [Tue, 30 Jun 2015 18:21:47 +0000 (20:21 +0200)]
Makefile: Fix print-release-basename target
We cannot print arbitrary garbage from the Makefile, because it breaks
"make print-release-basename" command. Therefore, we print built targets
only when we are actually building something.
Michal Sojka [Tue, 30 Jun 2015 18:04:04 +0000 (20:04 +0200)]
Ignore .out files
Michal Sojka [Tue, 30 Jun 2015 17:25:15 +0000 (19:25 +0200)]
Add support for tms570_hydctr board
For now, most of the files are just a copy of tms570_hdk files.
Michal Sojka [Tue, 30 Jun 2015 17:23:52 +0000 (19:23 +0200)]
Signal compilation error when no known is defined
Files that include target specific header files should fail to compile
if no known target is selected. This makes it easier to add new targets,
because all places where a modification is needed are reprted by the
compiler.
Michal Sojka [Tue, 30 Jun 2015 15:16:29 +0000 (17:16 +0200)]
Update build configuration for hydctr
Michal Sojka [Tue, 30 Jun 2015 14:49:05 +0000 (16:49 +0200)]
Copy build/tms570_hdk to build/tms570_hydctr
Hydctr is the Eaton's board.
Michal Sojka [Tue, 30 Jun 2015 16:36:27 +0000 (18:36 +0200)]
Automatically build all available targets
Michal Sojka [Tue, 30 Jun 2015 17:24:28 +0000 (19:24 +0200)]
Simplify Makefile.var
Now, it is not necessary to list all targets.
Michal Sojka [Tue, 30 Jun 2015 16:19:00 +0000 (18:19 +0200)]
Simplify sys include files
Instead of having a chain of #if/#else/#endif in every file that
includes target specific files such as port.h and sys_pinmux.h, move
this chain into sys/*.h and include this file from everywhere. The new
files includes the right target specific files.
Michal Horn [Wed, 24 Jun 2015 15:50:28 +0000 (17:50 +0200)]
Add note about disabled test
Michal Horn [Wed, 24 Jun 2015 15:49:58 +0000 (17:49 +0200)]
Fix bug with sending messages on one slot from more than one buffer with different cycle or channel filters
Michal Sojka [Fri, 19 Jun 2015 16:24:08 +0000 (18:24 +0200)]
Makefile: Always use cmd.exe as SHELL on Windows
Without this, people having sh.exe in their path get various errors such
as:
process_begin: CreateProcess(NULL, copy rpp-lib.lib ..\..\..\rpp-lib.lib, ...) failed.
Michal Horn [Wed, 29 Apr 2015 15:23:43 +0000 (17:23 +0200)]
Add .out suffix to generated binary
Michal Horn [Wed, 29 Apr 2015 14:55:49 +0000 (16:55 +0200)]
Add be32 flag for linker fot TMS570
Michal Horn [Wed, 29 Apr 2015 13:15:14 +0000 (15:15 +0200)]
Merge branch 'rm48/master' of rtime.felk.cvut.cz:pes-rpp/rpp-lib into rm48/master
Michal Sojka [Wed, 29 Apr 2015 12:13:41 +0000 (14:13 +0200)]
Add TARGET_CCXML to Makefile.config
Michal Sojka [Wed, 29 Apr 2015 11:49:55 +0000 (13:49 +0200)]
Don't include common.mk in Makefile.rules
It is not needed there. And if we want to include the rules somewhere
else (e.g. Simulink-generated code), it is an extra dependency.
Michal Sojka [Wed, 29 Apr 2015 11:11:19 +0000 (13:11 +0200)]
Ignore some garbage generated by CCS
Michal Horn [Wed, 29 Apr 2015 08:16:15 +0000 (10:16 +0200)]
Add CCS project for helloworld for POSIX target
Michal Horn [Wed, 29 Apr 2015 08:14:12 +0000 (10:14 +0200)]
Add CCS project for helloworld for RM48 HDK target
Michal Horn [Wed, 29 Apr 2015 08:11:57 +0000 (10:11 +0200)]
Add helloworld project for TMS570 HDK target
Michal Horn [Wed, 29 Apr 2015 08:09:37 +0000 (10:09 +0200)]
Remove not needed CCS project files
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.
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.
Michal Sojka [Tue, 28 Apr 2015 16:57:47 +0000 (18:57 +0200)]
rpp-test-suite: Fix compilation 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.
Michal Sojka [Tue, 28 Apr 2015 16:32:55 +0000 (18:32 +0200)]
Remove unneeded variables from Makefile.var
Michal Sojka [Tue, 28 Apr 2015 16:30:48 +0000 (18:30 +0200)]
Add apps Makefiles for all 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
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.
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.
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.
Michal Sojka [Tue, 28 Apr 2015 15:06:44 +0000 (17:06 +0200)]
rpp-test-suite: Unify main.c by adding #ifdefs
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.
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.
Michal Sojka [Tue, 28 Apr 2015 10:54:43 +0000 (12:54 +0200)]
Add more to .gitignore
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.
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.
Michal Sojka [Mon, 27 Apr 2015 17:01:30 +0000 (19:01 +0200)]
Move CCS projects to build directories
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.
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.
Michal Sojka [Mon, 27 Apr 2015 14:51:15 +0000 (16:51 +0200)]
Simplify Makefile.var
and rename linux target to posix.
Michal Horn [Wed, 22 Apr 2015 18:42:47 +0000 (20:42 +0200)]
Switch to RM48 project
Michal Horn [Tue, 21 Apr 2015 14:21:25 +0000 (16:21 +0200)]
Add version for TMS570_HDK platform
Michal Horn [Tue, 21 Apr 2015 08:33:04 +0000 (10:33 +0200)]
Add 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
Michal Horn [Tue, 21 Apr 2015 07:40:51 +0000 (09:40 +0200)]
Add variable for linker script file to the Makefile
Michal Horn [Tue, 21 Apr 2015 07:00:14 +0000 (09:00 +0200)]
Add support for release basename print
Michal Horn [Tue, 21 Apr 2015 06:56:45 +0000 (08:56 +0200)]
Add LD script variable to the Makefile
Michal Horn [Mon, 20 Apr 2015 13:59:40 +0000 (15:59 +0200)]
Add copy of CCS projects files to platform specific directories
Michal Horn [Mon, 20 Apr 2015 13:59:19 +0000 (15:59 +0200)]
Update CCS project file
Michal Horn [Mon, 20 Apr 2015 13:58:54 +0000 (15:58 +0200)]
Fix header comments in Makefiles
Michal Horn [Mon, 20 Apr 2015 13:58:18 +0000 (15:58 +0200)]
Remove forgotten line in the ADC test
Michal Horn [Mon, 20 Apr 2015 13:57:36 +0000 (15:57 +0200)]
Add check for CCS utils directory variable
Michal Horn [Mon, 20 Apr 2015 13:57:00 +0000 (15:57 +0200)]
Remove not needed and commented inclusions
Michal Horn [Mon, 20 Apr 2015 13:56:45 +0000 (15:56 +0200)]
Fix formating
Michal Horn [Mon, 20 Apr 2015 13:55:31 +0000 (15:55 +0200)]
Add copy of CCS files to platform specific directories
Michal Horn [Mon, 20 Apr 2015 13:54:37 +0000 (15:54 +0200)]
Remove not needed and commented inclusions
Michal Horn [Fri, 17 Apr 2015 11:21:53 +0000 (13:21 +0200)]
Tune 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
Michal Horn [Fri, 17 Apr 2015 11:05:23 +0000 (13:05 +0200)]
Fix error in app
Michal Horn [Fri, 17 Apr 2015 10:04:12 +0000 (12:04 +0200)]
Rework 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
Michal Horn [Fri, 17 Apr 2015 08:24:42 +0000 (10:24 +0200)]
Reformat rpp-test-suite files
Michal Horn [Fri, 17 Apr 2015 08:16:25 +0000 (10:16 +0200)]
Remove the name of the platform from the OS folder name
Michal Horn [Thu, 16 Apr 2015 14:03:07 +0000 (16:03 +0200)]
Fix warnings
Michal Horn [Thu, 16 Apr 2015 13:57:10 +0000 (15:57 +0200)]
Reformat rpp-test-suite Makefile
Michal Horn [Thu, 16 Apr 2015 13:56:02 +0000 (15:56 +0200)]
Remove the name of the platform from the OS folder name
Michal Horn [Thu, 16 Apr 2015 07:48:28 +0000 (09:48 +0200)]
Fix warnings whan building demo app
Michal Horn [Thu, 16 Apr 2015 07:48:12 +0000 (09:48 +0200)]
Fix warnings when building demo app
Michal Horn [Wed, 15 Apr 2015 12:44:54 +0000 (14:44 +0200)]
Remove not needed headers inclusions
Michal Horn [Wed, 15 Apr 2015 12:44:43 +0000 (14:44 +0200)]
Fix compile errors
Michal Horn [Wed, 15 Apr 2015 11:21:12 +0000 (13:21 +0200)]
Remove not needed headers inclusions
Michal Horn [Wed, 15 Apr 2015 11:16:44 +0000 (13:16 +0200)]
Fix compilation errors
Michal Horn [Tue, 14 Apr 2015 18:43:51 +0000 (20:43 +0200)]
Move platform specific header 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
Michal Horn [Tue, 14 Apr 2015 18:40:34 +0000 (20:40 +0200)]
Move platform specific header files to platform specific directories
Michal Horn [Tue, 14 Apr 2015 17:09:48 +0000 (19:09 +0200)]
Move platform specific source files to the platform specific directory
Michal Sojka [Mon, 13 Apr 2015 15:57:41 +0000 (17:57 +0200)]
Move target specific compile flags to Makefile.config
Michal Sojka [Mon, 13 Apr 2015 15:34:24 +0000 (17:34 +0200)]
First step to unifying source code for different target platforms
Michal Horn [Mon, 23 Mar 2015 12:01:04 +0000 (13:01 +0100)]
Fix makefile for removed unused code for LIN
Michal Horn [Mon, 23 Mar 2015 11:58:58 +0000 (12:58 +0100)]
Remove unused code for HOUT IFBK port