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

4 years agoIncrease FreeRTOS heap and use it by LwIP
Jakub [Sun, 1 Sep 2019 19:19:34 +0000 (21:19 +0200)]
Increase FreeRTOS heap and use it by LwIP

FreeRTOS heap is increased by capacity of LwIP heap.
LwIP heap configured to use FreeRTOS
heap. LwIP functions malloc functions redefined to
FreeRTOS malloc.

4 years agoIncrease stack memory of RX and TX thread
Jakub [Sun, 1 Sep 2019 19:14:23 +0000 (21:14 +0200)]
Increase stack memory of RX and TX thread

To prevent stack overflow during receiving a lot
of data. With external mode is required to allocate
more memory.

4 years agoGet rid of "last line of file ends without a newline" warning
Michal Sojka [Sat, 31 Aug 2019 21:14:20 +0000 (23:14 +0200)]
Get rid of "last line of file ends without a newline" warning

4 years agoUpdate LWIP
Michal Sojka [Sat, 31 Aug 2019 21:00:01 +0000 (23:00 +0200)]
Update LWIP

> Enable LWIP socket functionality
> FIQ and protection control

4 years agoSet MDIO initial sequence
Jakub Nejedlý [Mon, 19 Aug 2019 13:56:19 +0000 (15:56 +0200)]
Set MDIO initial sequence

Initial sequence taken from Texas Instruments connectivity test.
Created for kit TMS570.
http://processors.wiki.ti.com/index.php/TMS570LS31x_HDK_Kit#Example_Programs

[MS: Added #else and fixed indentation]

4 years agoChange RMII comunication to MII
Jakub Nejedlý [Mon, 19 Aug 2019 13:32:55 +0000 (15:32 +0200)]
Change RMII comunication to MII

MII uses 4 wires instead of 2 used by RMII. But wiring allow to use
comunication 25MB frequenci. Platforms TSM570_HDK and HYDCTR
requires this setup.

4 years agoMakefile.var: Whitespace fixes
Michal Sojka [Thu, 29 Aug 2019 14:37:36 +0000 (16:37 +0200)]
Makefile.var: Whitespace fixes

4 years agoEnable ethernet interrupts for all platforms
Jakub Nejedlý [Mon, 19 Aug 2019 12:53:30 +0000 (14:53 +0200)]
Enable ethernet interrupts for all platforms

Due code multiplication was notification
file moved to folder common for all platforms.

To notification was copyed code providing
ethernet interrupts.
Interrupts vector was updated for all platforms.

4 years agoAdd content to release
Jakub Nejedlý [Mon, 19 Aug 2019 12:07:04 +0000 (14:07 +0200)]
Add content to release

Add ethernet driver to eaton distribution

4 years agoStatic IP configuration
Jakub Nejedlý [Mon, 19 Aug 2019 12:05:55 +0000 (14:05 +0200)]
Static IP configuration

Values workcing on Ciirc network configured to
IP 10.35.95.25
Mask 255.255.255.0
GW 10.35.95.1

4 years agoTouch PIN_ETHRST only on TMS570_RPP
Jakub Nejedlý [Mon, 19 Aug 2019 11:58:57 +0000 (13:58 +0200)]
Touch PIN_ETHRST only on TMS570_RPP

Other boards do not have this pin.

4 years agoEnable ehternet for all platform
Jakub Nejedlý [Mon, 19 Aug 2019 11:46:33 +0000 (13:46 +0200)]
Enable ehternet for all platform

Enable compilation of Ethernet driver and LWIP stack for all
supported boards. Previously, it was enabled only for tms570_rpp.

4 years agoHeap change
Jakub [Tue, 13 Aug 2019 09:16:29 +0000 (11:16 +0200)]
Heap change

Heap have to be changed to allow free memory used by ethernet
driver. Selected heap is heap_4. Heap posibilities are at
https://www.freertos.org/a00111.html.

7 years agoFix settings of HBR pins
Michal Sojka [Wed, 4 May 2016 09:35:48 +0000 (11:35 +0200)]
Fix settings of HBR pins

The pins were defined as open-collector, which could not work. This
happened probably because previously pin initialization was implemented
inconsistently at several places and the definition with open collector
was not effective. After unification of pin initialization, this become
effective and HBR stopped workinf.

Fixes #1608

8 years agohbr: Check and simplify watchdog code
Michal Sojka [Tue, 3 May 2016 13:57:26 +0000 (15:57 +0200)]
hbr: Check and simplify watchdog code

HBR doesn't work. I checked the functionality of watchdog code and it works
correctly. So the problem is somewhere else, but I still simplified
the watchdog code and made it endian independent.

Refs #1608

8 years agomout: Remove stupid waiting in rpp_mout_set()
Michal Sojka [Thu, 14 Apr 2016 14:56:08 +0000 (16:56 +0200)]
mout: Remove stupid waiting in rpp_mout_set()

Test the diag pin immediately. This function will probably be called
periodically, so the fault (if any) will be detected next period.

8 years agodin: Update documentation
Michal Sojka [Thu, 14 Apr 2016 14:53:17 +0000 (16:53 +0200)]
din: Update documentation

- clarification
- typos

8 years agomout: Fix missing unlock + unify the code
Michal Sojka [Wed, 13 Apr 2016 15:08:55 +0000 (17:08 +0200)]
mout: Fix missing unlock + unify the code

8 years agomout: Make return value of rpp_mout_diag more consistent with other functions
Michal Sojka [Wed, 13 Apr 2016 15:03:36 +0000 (17:03 +0200)]
mout: Make return value of rpp_mout_diag more consistent with other functions

I checked that this change does affect neither the Simulink block nor
rpp-test-sw.

8 years agoAdd F021 API library (in binary form)
Martin Vajnar [Fri, 9 Oct 2015 08:54:18 +0000 (10:54 +0200)]
Add F021 API library (in binary form)

8 years agoMake types.h compilable by newer TI compilers
Martin Vajnar [Wed, 23 Sep 2015 08:00:10 +0000 (10:00 +0200)]
Make types.h compilable by newer TI compilers

Currently used TI compiler version includes integer types definitions.

8 years agoAdd static declarations to some Ethernet driver functions
Martin Vajnar [Wed, 23 Sep 2015 07:58:52 +0000 (09:58 +0200)]
Add static declarations to some Ethernet driver functions

8 years agoFix for memory barrier assembly code
Martin Vajnar [Wed, 23 Sep 2015 07:58:02 +0000 (09:58 +0200)]
Fix for memory barrier assembly code

Without the leading space the instruction was treated as a label.

8 years agoRemoved the artificial constraints on the number of message buffers personal/dvoraj57/flexray-line
Jan Dvořák [Mon, 19 Oct 2015 10:17:09 +0000 (12:17 +0200)]
Removed the artificial constraints on the number of message buffers

8 years agoExport also GIO pin configuration to Matlab personal/sojka/gio-spi5 eaton-0.7
Michal Sojka [Sun, 4 Oct 2015 14:33:16 +0000 (16:33 +0200)]
Export also GIO pin configuration to Matlab

8 years agoAdd support for GIO port on SPI5
Michal Sojka [Sun, 4 Oct 2015 13:38:59 +0000 (15:38 +0200)]
Add support for GIO port on SPI5

8 years agoMakefile: Generate dependencies for gio_names.txt
Michal Sojka [Sun, 4 Oct 2015 10:33:53 +0000 (12:33 +0200)]
Makefile: Generate dependencies for gio_names.txt

This ensures that this file gets rebuilt when gio_def.h changes. We must
work around a TI compiler bug for this to work.

8 years agoMakefile: Fix path to git-ls-files-attr
Michal Sojka [Sun, 4 Oct 2015 07:23:24 +0000 (09:23 +0200)]
Makefile: Fix path to git-ls-files-attr

When git-ls-files-attr was called as part of release target from other
respoitories (e.g. simulink), the command was called with wrong path. This
is now fixed.

8 years agoGenerate list of GIO pin names
Michal Sojka [Sat, 3 Oct 2015 10:42:54 +0000 (12:42 +0200)]
Generate list of GIO pin names

This list will be used by Simulink GIO blocks to offer the user a list
of valid pin names for the active target.

8 years agoAdd git-ls-files-attr script
Michal Sojka [Fri, 11 Sep 2015 13:57:26 +0000 (15:57 +0200)]
Add git-ls-files-attr script

Use this script  in makefiles where we used custom shell code before.

8 years agoModify port_spi_set to support multi-channel ports personal/sojka/spi eaton-0.6
Michal Sojka [Wed, 2 Sep 2015 16:37:15 +0000 (18:37 +0200)]
Modify port_spi_set to support multi-channel ports

8 years agoSPI fixes for tms570_hydctr
Michal Sojka [Wed, 2 Sep 2015 16:35:49 +0000 (18:35 +0200)]
SPI fixes for tms570_hydctr

With these changes SPI started to work.

8 years agoport_adc_get: Do not leak data
Michal Sojka [Wed, 2 Sep 2015 15:59:46 +0000 (17:59 +0200)]
port_adc_get: Do not leak data

If the caller requested more data than what ADC actually returns
zero the fields not filled by ADC.

8 years agotms570_hydctr: Reconfigure ADC to 24 channels
Michal Sojka [Wed, 2 Sep 2015 15:57:18 +0000 (17:57 +0200)]
tms570_hydctr: Reconfigure ADC to 24 channels

8 years agotms570_hydctr: Add TARGET_HAS_SPI symbol to CCS project
Michal Sojka [Wed, 2 Sep 2015 08:57:17 +0000 (10:57 +0200)]
tms570_hydctr: Add TARGET_HAS_SPI symbol to CCS project

8 years agoReplace pinmux code for hydctr by halcogen generated one
Michal Sojka [Wed, 2 Sep 2015 05:22:11 +0000 (07:22 +0200)]
Replace pinmux code for hydctr by halcogen generated one

See the last but one commit for scripts that automatically generated
this.

8 years agoRename PINMUX to PINMMR
Michal Sojka [Tue, 1 Sep 2015 22:57:46 +0000 (00:57 +0200)]
Rename PINMUX to PINMMR

This commit cannot be compiled. Its purpose is to make the diff against
next commit more understandable. Unfortunately, git's diff is not that
clever, but kdiff3 or meld (see git difftool) can produce more
meaningful diffs.

8 years agoUpdate/add files for automatic conversion of HalCoGen output to RPP structure
Michal Sojka [Tue, 1 Sep 2015 23:20:32 +0000 (01:20 +0200)]
Update/add files for automatic conversion of HalCoGen output to RPP structure

8 years agoAdd comments to pinmux.h
Michal Sojka [Tue, 1 Sep 2015 22:06:38 +0000 (00:06 +0200)]
Add comments to pinmux.h

When comparing two pinmux files, the comments help diff to synchronize
at the right places and show more meaningful output.

8 years agoAdd halcogen project for hydctr board
Michal Sojka [Tue, 1 Sep 2015 16:03:50 +0000 (18:03 +0200)]
Add halcogen project for hydctr board

Currently, only pinmux is configured manually, other configurations are
at default state.

8 years agoRevert "Change pins and ports definition for TMS570_HYDCTR"
Michal Sojka [Sat, 29 Aug 2015 17:43:46 +0000 (19:43 +0200)]
Revert "Change pins and ports definition for TMS570_HYDCTR"

This reverts commit 422f99757ba8fb074bfc6701ae6b56289c4f0860.

In order to use HDK demos with hydctr board, we need to have definitions
of all pins.

8 years agoIgnore GNU Global files
Michal Sojka [Sat, 29 Aug 2015 14:18:16 +0000 (16:18 +0200)]
Ignore GNU Global files

8 years agoAdd SPI into RPP layer
Michal Sojka [Sat, 29 Aug 2015 11:04:01 +0000 (13:04 +0200)]
Add SPI into RPP layer

8 years agoAdd drv/endian.h
Michal Sojka [Sat, 29 Aug 2015 11:02:37 +0000 (13:02 +0200)]
Add drv/endian.h

8 years agoAdd SPI chip name to port configuration
Michal Sojka [Sat, 29 Aug 2015 08:43:13 +0000 (10:43 +0200)]
Add SPI chip name to port configuration

It wil help users of rpp-test-sw to figure out what data to send with
portval* command.

8 years agoChange pins and ports definition for TMS570_HYDCTR
Michal Horn [Thu, 27 Aug 2015 15:43:32 +0000 (17:43 +0200)]
Change pins and ports definition for TMS570_HYDCTR

8 years agoAdd target specific pinmux for TMS570_HYDCTR
Michal Horn [Thu, 27 Aug 2015 15:43:04 +0000 (17:43 +0200)]
Add target specific pinmux for TMS570_HYDCTR

8 years agoSpecify SPI ports for HYDCTR target
Michal Horn [Wed, 26 Aug 2015 06:39:05 +0000 (08:39 +0200)]
Specify SPI ports for HYDCTR target

Now SPI ports for thermistors, ADCs and power supply are specified.

8 years agoAdd SPI devices available on hydctr board
Michal Sojka [Sat, 29 Aug 2015 07:41:48 +0000 (09:41 +0200)]
Add SPI devices available on hydctr board

8 years agoFix wrong predefined target symbol in HYDCTR project file
Michal Horn [Wed, 26 Aug 2015 06:38:01 +0000 (08:38 +0200)]
Fix wrong predefined target symbol in HYDCTR project file

8 years agospi: Rework the SPI interface personal/sojka/spi-rework
Michal Sojka [Fri, 28 Aug 2015 21:30:53 +0000 (23:30 +0200)]
spi: Rework the SPI interface

Previous SPI API required the caller to know the SPI interface and index
of the device on this interface. This was because the interface data
structure had links to devices. Now, this is reversed - an SPI device
has a link to SPI interface it is connected to. Therefore, the user of
SPI API needs to specify only the device to communicate with. The SPI
interface is determined from the device internally.

Also some refactoring was done. Things than does not need to be public
were moved from .h to .c and declarations needed in spi.h were moved
there from spi_tms570.h.

8 years agoTreat implicitly declared functions as an error
Michal Sojka [Fri, 28 Aug 2015 20:41:27 +0000 (22:41 +0200)]
Treat implicitly declared functions as an error

This is more safe.

8 years agospi: Rename spi_msg_head to spi_msg
Michal Sojka [Fri, 28 Aug 2015 18:11:39 +0000 (20:11 +0200)]
spi: Rename spi_msg_head to spi_msg

This new name makes more sense.

8 years agospi: Fix/add comments
Michal Sojka [Fri, 28 Aug 2015 15:15:57 +0000 (17:15 +0200)]
spi: Fix/add comments

8 years agoRename spi_tms570_drv to spi_tms570_iface
Michal Sojka [Fri, 28 Aug 2015 14:38:12 +0000 (16:38 +0200)]
Rename spi_tms570_drv to spi_tms570_iface

8 years agoRename .spi to .reg
Michal Sojka [Fri, 28 Aug 2015 14:34:12 +0000 (16:34 +0200)]
Rename .spi to .reg

This makes the code more understandable.

8 years agoMake configuration of SPI devices target dependent
Michal Sojka [Fri, 28 Aug 2015 12:20:13 +0000 (14:20 +0200)]
Make configuration of SPI devices target dependent

i.e. move it from driver to a separate, target-specific file.

8 years agoMake the RPP layer thread safe
Michal Horn [Tue, 11 Aug 2015 13:28:31 +0000 (15:28 +0200)]
Make the RPP layer thread safe

8 years agoImprove baudrate testing
Michal Horn [Tue, 11 Aug 2015 12:02:41 +0000 (14:02 +0200)]
Improve baudrate testing

The huge switch has been replaced by more effective and nicer array
and for cycle.

8 years agoModify IRC enable code
Michal Horn [Tue, 11 Aug 2015 10:11:28 +0000 (12:11 +0200)]
Modify IRC enable code

The switch statements have been replaced by more effective lookup table,
The extern variables declaration has been removed as it would cause
problems with threadsave code later.

The lookup table array is not exported now and for getting the IRC status
the rpp_irc_status function is used instead of accessing the exported
variables.

There also was an error in rpp_irc_disable function, which was returning
FAILURE in case of success.

8 years agoDocument rpp/gio.h
Michal Sojka [Wed, 26 Aug 2015 06:09:34 +0000 (08:09 +0200)]
Document rpp/gio.h

8 years agoInitially, all GIOs are configured as inputs on HDKs eaton-0.5.5b
Michal Sojka [Thu, 27 Aug 2015 17:17:53 +0000 (19:17 +0200)]
Initially, all GIOs are configured as inputs on HDKs

8 years agoAllow using GIOs NHET106 and NHET116 on HDK-like boards
Michal Sojka [Thu, 27 Aug 2015 17:07:38 +0000 (19:07 +0200)]
Allow using GIOs NHET106 and NHET116 on HDK-like boards

8 years agoFix FreeRTOS for all target eaton-0.5.5a
Michal Sojka [Thu, 27 Aug 2015 13:00:26 +0000 (15:00 +0200)]
Fix FreeRTOS for all target

In commit eebbf4597df1f1a8274af90e5b9bcaa97d14f0ad, I forgot to modify
other targets than rm48_hdk. This adds the missing (and needed)
modification to other targets.

8 years agoMakefile: Centralize and update Debug/Release compile flags
Michal Sojka [Wed, 26 Aug 2015 08:58:44 +0000 (10:58 +0200)]
Makefile: Centralize and update Debug/Release compile flags

Release build should be compiled without asserts, hence NDEBUG.

8 years agoTrigger context switch after ADC interrupts - simpler version eaton-0.5.5
Michal Sojka [Thu, 27 Aug 2015 07:17:00 +0000 (09:17 +0200)]
Trigger context switch after ADC interrupts - simpler version

Given the implementation of portYIELD_FROM_ISR() in FreeRTOS 8.2.2, it is
not necessary to call this macro at the end of the interrupt handler. This
allows us to centralize the call of this macro and keep target specific
files unmodified.

8 years agoRevert "Trigger context switch after ADC interrupts"
Michal Sojka [Thu, 27 Aug 2015 07:08:06 +0000 (09:08 +0200)]
Revert "Trigger context switch after ADC interrupts"

This reverts commit f346e5add4155fadb70948fa5af608483fd86627.

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 agohelloworld: Suppress linker warning personal/sojka/adc-fix
Michal Sojka [Wed, 26 Aug 2015 20:47:01 +0000 (22:47 +0200)]
helloworld: Suppress linker warning

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.