Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
afc-ipmi-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
xtca-projects
afc-ipmi-sw
Commits
fb072186
Commit
fb072186
authored
Mar 04, 2016
by
Henrique Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add license to missing files
parent
55e5f00a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
217 additions
and
2 deletions
+217
-2
lpc17_gpio.h
port/chip/nxp/lpc17xx/lpc17_gpio.h
+1
-1
lpc17_i2c.c
port/chip/nxp/lpc17xx/lpc17_i2c.c
+27
-0
lpc17_i2c.h
port/chip/nxp/lpc17xx/lpc17_i2c.h
+26
-1
lpc17_interruptions.h
port/chip/nxp/lpc17xx/lpc17_interruptions.h
+27
-0
lpc17_spi.c
port/chip/nxp/lpc17xx/lpc17_spi.c
+27
-0
lpc17_spi.h
port/chip/nxp/lpc17xx/lpc17_spi.h
+27
-0
lpc17_ssp.c
port/chip/nxp/lpc17xx/lpc17_ssp.c
+27
-0
lpc17_ssp.h
port/chip/nxp/lpc17xx/lpc17_ssp.h
+28
-0
port.h
port/chip/nxp/lpc17xx/port.h
+27
-0
No files found.
port/chip/nxp/lpc17xx/lpc17_gpio.h
View file @
fb072186
/*
*
AFCIPMI
--
*
openMMC
--
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
...
...
port/chip/nxp/lpc17xx/lpc17_i2c.c
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_i2c.c
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief I2C driver for LPC17xx
*/
#include "port.h"
#include "string.h"
#include "board_version.h"
...
...
port/chip/nxp/lpc17xx/lpc17_i2c.h
View file @
fb072186
#include "FreeRTOS.h"
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_i2c.h
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief I2C driver for LPC17xx
*/
/*! @brief Max message length (in bits) used in I2C */
#define i2cMAX_MSG_LENGTH 32
...
...
port/chip/nxp/lpc17xx/lpc17_interruptions.h
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_interruptions.h
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief Interruptions control
*/
#ifdef PORT_INTERRUPTIONS_H_
#error Interruption functions already defined somewhere else! Aborting...
#else
...
...
port/chip/nxp/lpc17xx/lpc17_spi.c
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_spi.c
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief Legacy SPI driver for LPC17xx
*/
#include "port.h"
#include "pin_mapping.h"
...
...
port/chip/nxp/lpc17xx/lpc17_spi.h
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_spi.h
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief Legacy SPI driver definitions for LPC17xx
*/
#ifndef LPC17xx_SPI_H_
#define LPC17xx_SPI_H_
...
...
port/chip/nxp/lpc17xx/lpc17_ssp.c
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_ssp.c
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief SSP driver for LPC17xx
*/
#include "port.h"
#include "string.h"
#include "pin_mapping.h"
...
...
port/chip/nxp/lpc17xx/lpc17_ssp.h
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file lpc17_ssp.c
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date March 2016
*
* @brief SSP driver definitions for LPC17xx
*/
#ifndef LPC17xx_SSP_H_
#define LPC17xx_SSP_H_
#include "chip_lpc175x_6x.h"
#include "ssp_17xx_40xx.h"
#include "FreeRTOS.h"
#include "task.h"
#define MAX_SSP_INTERFACES 3
...
...
port/chip/nxp/lpc17xx/port.h
View file @
fb072186
/*
* openMMC --
*
* Copyright (C) 2015 Henrique Silva <henrique.silva@lnls.br>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* @file port.h
* @author Henrique Silva <henrique.silva@lnls.br>, LNLS
* @date September 2015
*
* @brief Port layer (includes all portable functions headers)
*/
#ifndef PORT_H_
#define PORT_H_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment