]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/log
pes-rpp/rpp-lib.git
8 years agoRemove useless FreeRTOS versions
Michal Sojka [Wed, 26 Aug 2015 20:34:07 +0000 (22:34 +0200)]
Remove useless FreeRTOS versions

7.0.2 is buggy (portYIELD_FROM_ISR) and 7.4.2 cannot be compiled with
currently used CCS.

8 years agoTrigger context switch after ADC interrupts
Michal Horn [Mon, 24 Aug 2015 12:51:29 +0000 (14:51 +0200)]
Trigger context switch after ADC interrupts

The previous behavior caused the ADC update function to wait until
context switch caused by the system timer. Now the scheduler is forced
to switch tasks immediately.

[Patch and this message modified by Michal Sojka]

8 years agoSwitch to FreeRTOS 8.2.2
Michal Sojka [Wed, 26 Aug 2015 16:41:03 +0000 (18:41 +0200)]
Switch to FreeRTOS 8.2.2

This is needed for fixing ADC overrun bug (see next commit).

8 years agoAdd FreeRTOS 8.2.2
Michal Sojka [Wed, 26 Aug 2015 15:43:26 +0000 (17:43 +0200)]
Add FreeRTOS 8.2.2

8 years agoUpdate the RPP library software layers diagram personal/hornmich/for-master
Michal Horn [Mon, 17 Aug 2015 15:18:51 +0000 (17:18 +0200)]
Update the RPP library software layers diagram

8 years agoUncrustify
Michal Sojka [Sat, 8 Aug 2015 15:57:43 +0000 (17:57 +0200)]
Uncrustify

8 years agoInitialize GIO for all targets
Michal Sojka [Fri, 7 Aug 2015 17:38:19 +0000 (19:38 +0200)]
Initialize GIO for all targets

For RPP, it is needed at least by sleep command in test-sw.

8 years agodin: Remove unused function
Michal Sojka [Fri, 7 Aug 2015 15:50:47 +0000 (17:50 +0200)]
din: Remove unused function

8 years agoRemove unconnected N2HET pins
Michal Horn [Fri, 7 Aug 2015 11:52:43 +0000 (13:52 +0200)]
Remove unconnected N2HET pins

8 years agoUpdate .gitattributes of renamed files
Michal Sojka [Sun, 2 Aug 2015 08:32:36 +0000 (10:32 +0200)]
Update .gitattributes of renamed files

8 years agoIntroduce TARGET_HAS_SPI macro
Michal Sojka [Sun, 2 Aug 2015 08:10:12 +0000 (10:10 +0200)]
Introduce TARGET_HAS_SPI macro

This is needed for rpp-test-sw.

8 years agoUnify ADC among targets
Michal Sojka [Sun, 2 Aug 2015 07:21:20 +0000 (09:21 +0200)]
Unify ADC among targets

There was little need to have ADC files different for each board. This
way it is simpler. The only difference is the number of pins and we now
keep this difference in port_def.h.

8 years agoUpdate remaining files to the changed interface
Michal Sojka [Sat, 1 Aug 2015 14:55:27 +0000 (16:55 +0200)]
Update remaining files to the changed interface

8 years agoUpdate rpp/gio.* to the new drv/gio interface and remove crap from it
Michal Sojka [Sun, 2 Aug 2015 16:56:22 +0000 (18:56 +0200)]
Update rpp/gio.* to the new drv/gio interface and remove crap from it

8 years agoUpdate adc and spi to the new port interface
Michal Sojka [Sat, 1 Aug 2015 14:53:29 +0000 (16:53 +0200)]
Update adc and spi to the new port interface

8 years agoChange target-specific pin and port definitions to match the new interface
Michal Sojka [Sat, 1 Aug 2015 14:50:44 +0000 (16:50 +0200)]
Change target-specific pin and port definitions to match the new interface

8 years agoSplit drv/digital_io.h to drv/gio*.h and drv/port.h
Michal Sojka [Sun, 2 Aug 2015 16:56:15 +0000 (18:56 +0200)]
Split drv/digital_io.h to drv/gio*.h and drv/port.h

File digital_io.h mixed two concepts - digital IOs and so called ports.
Ports can be used to access digital IOs but also SPI and ADC. We
therefore spit this file into two independent one.

File gio.h defines access to digital IO on the MCU. The definition of
pins will be provided per target. Applications do not access this
definition directly but via two files: pin names are accessed via
gio_pin_names.h and the definition and related functions via
gio_pin_tab.h.

File port.h defines access to ports.

This commit only changes the interface (.h files). Target specific port
and pin definitions and changes in other files are in subsequent
commits.

8 years agoRemove the rest of the HAL layer
Michal Horn [Wed, 22 Jul 2015 10:43:45 +0000 (12:43 +0200)]
Remove the rest of the HAL layer

Move POM from HAL to SYS layer
Move SPI translator to the test-sw application

8 years agoAdd RPP interface for Digital IO
Michal Horn [Tue, 21 Jul 2015 13:08:45 +0000 (15:08 +0200)]
Add RPP interface for Digital IO

8 years agoMerge port and gpio definitions into one file in the DRV layer
Michal Horn [Fri, 17 Jul 2015 08:07:23 +0000 (10:07 +0200)]
Merge port and gpio definitions into one file in the DRV layer

The idea is to have the pin and port names in a separated target specific
header files, the pin and port definitions in a target specific source files and
the target independent functions and data types in a common header and source
files.

The application than should include only one header file digital_io_def.h,
where are defined the names of the pins, and digital_io.h where is defined the
driver interface.

8 years agoRemove indirect port definition and the related macros
Michal Horn [Thu, 16 Jul 2015 13:16:21 +0000 (15:16 +0200)]
Remove indirect port definition and the related macros

8 years agoGive the HAL functions better names
Michal Horn [Thu, 16 Jul 2015 11:10:26 +0000 (13:10 +0200)]
Give the HAL functions better names

8 years agoMerge all GPIO and Digital IO functions into the hal.c and hal.h file
Michal Horn [Thu, 16 Jul 2015 10:53:32 +0000 (12:53 +0200)]
Merge all GPIO and Digital IO functions into the hal.c and hal.h file

8 years agoRemove extern variable declarations in the HAL header file
Michal Horn [Thu, 16 Jul 2015 10:44:20 +0000 (12:44 +0200)]
Remove extern variable declarations in the HAL header file

8 years agoSeparate target independent code
Michal Horn [Thu, 16 Jul 2015 08:59:02 +0000 (10:59 +0200)]
Separate target independent code

The target dependent code (pin and port definitions) is in the target specific files in
rpp/hal/_target directory.

The target independent code 9structures and code) has been moved to files in rpp/hal directory.

8 years agoMove SPI driver from HAL layer to DRV layer
Michal Horn [Thu, 16 Jul 2015 08:35:08 +0000 (10:35 +0200)]
Move SPI driver from HAL layer to DRV layer

8 years agoSeparate GPIO HAL interface from the code
Michal Horn [Thu, 16 Jul 2015 07:41:00 +0000 (09:41 +0200)]
Separate GPIO HAL interface from the code

The implementation of the functions is moved to the source file, leaving only commented
function prototypes of the interface functions in the header and hiding the internal
functions in the source file.

Move GPIO HAL functions definitions from the header file fo the source file

Move functions comments from the source files to the header files

8 years agoDo not compile pom_vect_remap.c for non-RPP targets
Michal Sojka [Sun, 2 Aug 2015 17:49:07 +0000 (19:49 +0200)]
Do not compile pom_vect_remap.c for non-RPP targets

This file is not present in release zips.

8 years agoAdd missing file to the release zip
Michal Sojka [Sun, 2 Aug 2015 17:40:22 +0000 (19:40 +0200)]
Add missing file to the release zip

8 years agoMerge target-specific drv/adc.h to a single file
Michal Sojka [Sat, 1 Aug 2015 13:10:40 +0000 (15:10 +0200)]
Merge target-specific drv/adc.h to a single file

There was not many differences and one file will be easier to maintain.

8 years agoSimplify dac.c
Michal Sojka [Sat, 1 Aug 2015 14:19:09 +0000 (16:19 +0200)]
Simplify dac.c

... and rename ambiguous "stat" to status.

8 years agoeth: Get rid of volatile warnings
Michal Sojka [Sat, 1 Aug 2015 12:01:56 +0000 (14:01 +0200)]
eth: Get rid of volatile warnings

Pbuf is never modified by hardware and the code which uses it seems to
be safe even when the structure is not volatile. So remove the volatile
qualifier and get rid of the warnings.

8 years agoeth: Fix unused variable warning
Michal Sojka [Sat, 1 Aug 2015 11:50:12 +0000 (13:50 +0200)]
eth: Fix unused variable warning

8 years agodoc: Get rid of doxygen warnings about missing documentation
Michal Sojka [Sat, 1 Aug 2015 09:24:15 +0000 (11:24 +0200)]
doc: Get rid of doxygen warnings about missing documentation

8 years agoAllow target-specific API documentation
Michal Sojka [Sat, 1 Aug 2015 09:08:13 +0000 (11:08 +0200)]
Allow target-specific API documentation

Now, it is not necessary to have separate header file for each target if
the only difference is the documentation (as it was the case for adc.h).
Now, Doxygen knows about the target being compiled and processes only
documentation comments for the given target (as specified via #ifdefs).

The adc.h is merged to a single file here.

8 years agoMerge branch 'master' of git@rtime.felk.cvut.cz:pes-rpp/rpp-lib into personal/vajnama... personal/vajnamar/for-master
Martin Vajnar [Thu, 30 Jul 2015 12:28:38 +0000 (14:28 +0200)]
Merge branch 'master' of git@rtime.felk.cvut.cz:pes-rpp/rpp-lib into personal/vajnamar/merge-fixes

8 years agoMakefile: Fix dependency handling
Michal Sojka [Tue, 28 Jul 2015 08:17:54 +0000 (10:17 +0200)]
Makefile: Fix dependency handling

Due to a mistake, we ignored compiler generated dependencies. When
a header was changed, the library was not recompiled.

8 years agoMakefile: Put ARM compiler flags to variables
Michal Sojka [Sat, 25 Jul 2015 21:50:40 +0000 (23:50 +0200)]
Makefile: Put ARM compiler flags to variables

This is to allow using different compiler by redefining
CC, TARGET_CFLAGS, ARM_COMPILER_CFLAGS and RPP_MAKE_CFLAGS variables.
I use this if ARM compiler error message is not informative enough
to find the source of the error. Setting CC to gcc or clang and adding
a few other options to TARGET_CFLAGS allows using other compilers.

8 years agoAdd STATIC_ASSERT macro
Michal Sojka [Sat, 25 Jul 2015 21:46:19 +0000 (23:46 +0200)]
Add STATIC_ASSERT macro

8 years agoAdd ARRAY_SIZE() macro
Michal Sojka [Fri, 24 Jul 2015 16:31:48 +0000 (18:31 +0200)]
Add ARRAY_SIZE() macro

8 years agoDeclare locally used functions as static in Ethernet driver
Martin Vajnar [Fri, 24 Jul 2015 16:26:23 +0000 (18:26 +0200)]
Declare locally used functions as static in Ethernet driver

8 years agoUpdate header of Ethernet driver
Martin Vajnar [Fri, 24 Jul 2015 15:55:37 +0000 (17:55 +0200)]
Update header of Ethernet driver

8 years agoMerge branch 'tms570_emac' of git@rtime.felk.cvut.cz:pes-rpp/rpp-lib into personal...
Martin Vajnar [Fri, 24 Jul 2015 11:32:26 +0000 (13:32 +0200)]
Merge branch 'tms570_emac' of git@rtime.felk.cvut.cz:pes-rpp/rpp-lib into personal/vajnamar/merge-fixes

8 years agoInitialize all peripherals on TMS570_RPP used in test-sw
Martin Vajnar [Thu, 23 Jul 2015 14:52:38 +0000 (16:52 +0200)]
Initialize all peripherals on TMS570_RPP used in test-sw

8 years agoProperly define base register for serial line on TMS570_RPP
Martin Vajnar [Thu, 23 Jul 2015 13:47:57 +0000 (15:47 +0200)]
Properly define base register for serial line on TMS570_RPP

8 years agoAdd comment about relation of CAN bus driver and sleep mode
Michal Sojka [Wed, 15 Jul 2015 18:34:51 +0000 (20:34 +0200)]
Add comment about relation of CAN bus driver and sleep mode

8 years agoDo not include empty directories in releases
Michal Sojka [Fri, 10 Jul 2015 16:17:56 +0000 (18:17 +0200)]
Do not include empty directories in releases

8 years agoDistribute Doxygen.tmpl to Eaton
Michal Sojka [Fri, 10 Jul 2015 16:17:32 +0000 (18:17 +0200)]
Distribute Doxygen.tmpl to Eaton

The file was renamed so it had not the needed attribute.

8 years agoMake attribute "eaton" to match only files in current directory
Michal Sojka [Fri, 10 Jul 2015 15:31:44 +0000 (17:31 +0200)]
Make attribute "eaton" to match only files in current directory

Previously, the attribute was set also for files, where it was not
desired because a file in the subdirectory had the same name a file with
eaton attribute in current directory. An example is
apps/rpp-test-suite/main.c and
apps/rpp-test-suite/src/_tms570_rpp/main.c, where only the former file
should be a part of release.

8 years agoMake the command used for determining ignored files visible in make output
Michal Sojka [Fri, 10 Jul 2015 15:36:00 +0000 (17:36 +0200)]
Make the command used for determining ignored files visible in make output

This way, it is easier to debug problems with (not) released files.

8 years agoMakefile: Report errors about CCS_UTILS_DIR only if it is actually used
Michal Sojka [Thu, 9 Jul 2015 09:03:43 +0000 (11:03 +0200)]
Makefile: Report errors about CCS_UTILS_DIR only if it is actually used

8 years agoMakefile: Update rules to be able to includ them by Simulink
Michal Sojka [Wed, 8 Jul 2015 22:17:19 +0000 (00:17 +0200)]
Makefile: Update rules to be able to includ them by Simulink

We don't have to define any rules, because this rule will become default
goal and we don't want this.

8 years agoMakefile: Construct -DTARGET_<NAME> automatically
Michal Sojka [Wed, 8 Jul 2015 17:01:58 +0000 (19:01 +0200)]
Makefile: Construct -DTARGET_<NAME> automatically

This will help us when compiling documentation for rpp-test-sw commands.

8 years agoAdd forgotten files to Makefile
Michal Sojka [Wed, 8 Jul 2015 16:02:14 +0000 (18:02 +0200)]
Add forgotten files to Makefile

I forgot to include these files in the Makefiles after merge
refactoring. I cannot compile rpp-test-sw without them.

8 years agoInclude gio.h for tms570_rpp target
Michal Sojka [Wed, 8 Jul 2015 15:41:07 +0000 (17:41 +0200)]
Include gio.h for tms570_rpp target

8 years agoDo not uncrustify target-specific halcogen-generated files
Michal Sojka [Wed, 8 Jul 2015 14:23:32 +0000 (16:23 +0200)]
Do not uncrustify target-specific halcogen-generated files

8 years agodoc: Rename Doxygen to Doxygen.tmpl
Michal Sojka [Wed, 8 Jul 2015 09:34:56 +0000 (11:34 +0200)]
doc: Rename Doxygen to Doxygen.tmpl

This is to better express how the files is used by Makefile.

8 years agoGenerate API reference only for release files
Michal Sojka [Tue, 7 Jul 2015 13:50:11 +0000 (15:50 +0200)]
Generate API reference only for release files

When releasing the library, documentation is automatically generated.
This changes modifies the documentation so that documentation is only
generated from the files that are part of the release.

8 years agoModify release target to allow including only a subset of files
Michal Sojka [Tue, 7 Jul 2015 13:20:48 +0000 (15:20 +0200)]
Modify release target to allow including only a subset of files

Which files are that is determined by gitattributes and RELEASE_ATTR
make variable.

8 years agoMark files that are part of Eaton releases
Michal Sojka [Tue, 7 Jul 2015 13:19:25 +0000 (15:19 +0200)]
Mark files that are part of Eaton releases

8 years agoRename files to not contain spaces in their names
Michal Sojka [Tue, 7 Jul 2015 11:47:28 +0000 (13:47 +0200)]
Rename files to not contain spaces in their names

8 years agoRemove obsolete Doxygen tags
Michal Sojka [Tue, 7 Jul 2015 10:26:35 +0000 (12:26 +0200)]
Remove obsolete Doxygen tags

This removes doxygen warnings.

8 years agoFix implicit declaration warnings
Michal Sojka [Tue, 7 Jul 2015 10:18:51 +0000 (12:18 +0200)]
Fix implicit declaration warnings

8 years agoCleanup cyclic include dependencies in hal.h
Michal Sojka [Tue, 7 Jul 2015 10:12:48 +0000 (12:12 +0200)]
Cleanup cyclic include dependencies in hal.h

8 years agoMakefile: Initialize rpp_lib_SOURCES_y
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

8 years agoMerge branches 'master' and 'rm48/master'
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

8 years agoMakefile: Rework release rules eaton
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.

8 years agoChange default build target eaton-0.5-beta
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.

8 years agoCleanup port definition
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.

8 years agoMake DMM code in can.c conditional
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.

8 years agoRework rpp_gio initialization
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.

8 years agoCompile DMM in only if the target has it
Michal Sojka [Thu, 2 Jul 2015 13:52:41 +0000 (15:52 +0200)]
Compile DMM in only if the target has it

8 years agoMakefile: Add checks for proper use of TARGET_HAS_* variables
Michal Sojka [Thu, 2 Jul 2015 13:51:32 +0000 (15:51 +0200)]
Makefile: Add checks for proper use of TARGET_HAS_* variables

8 years agoMakefile: Introduce 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.

8 years agoFix clean target for helloworld app
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.

8 years agoAdd HalCoGen cleanup script
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.

8 years agoRename _memoryInit_() to memoryInit()
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.

8 years agoMakefile: Fix print-release-basename target
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.

8 years agoIgnore .out files
Michal Sojka [Tue, 30 Jun 2015 18:04:04 +0000 (20:04 +0200)]
Ignore .out files

8 years agoAdd support for tms570_hydctr board
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.

8 years agoSignal compilation error when no known is defined
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.

8 years agoUpdate build configuration for hydctr
Michal Sojka [Tue, 30 Jun 2015 15:16:29 +0000 (17:16 +0200)]
Update build configuration for hydctr

8 years agoCopy build/tms570_hdk to build/tms570_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.

8 years agoAutomatically build all available targets
Michal Sojka [Tue, 30 Jun 2015 16:36:27 +0000 (18:36 +0200)]
Automatically build all available targets

8 years agoSimplify Makefile.var
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.

8 years agoSimplify sys include files
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.

8 years agoAdd note about disabled test
Michal Horn [Wed, 24 Jun 2015 15:50:28 +0000 (17:50 +0200)]
Add note about disabled test

8 years agoFix bug with sending messages on one slot from more than one buffer with different...
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

8 years agoMakefile: Always use cmd.exe as SHELL on Windows
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.

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

9 years agoAdd be32 flag for linker fot TMS570
Michal Horn [Wed, 29 Apr 2015 14:55:49 +0000 (16:55 +0200)]
Add be32 flag for linker fot TMS570

9 years agoMerge branch 'rm48/master' of rtime.felk.cvut.cz:pes-rpp/rpp-lib into rm48/master
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

9 years agoAdd TARGET_CCXML to Makefile.config
Michal Sojka [Wed, 29 Apr 2015 12:13:41 +0000 (14:13 +0200)]
Add TARGET_CCXML to Makefile.config

9 years agoDon't include common.mk in Makefile.rules
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.

9 years agoIgnore some garbage generated by CCS
Michal Sojka [Wed, 29 Apr 2015 11:11:19 +0000 (13:11 +0200)]
Ignore some garbage generated by CCS

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.