Commit 983eda9f authored by ryukoposting's avatar ryukoposting

add GPL header

parent fff1bf9e
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#if defined(PCGPIO_TARGET_ARCHITECTURE_ARDUINO_DUE)
#include "../pcgpio_mcu.h"
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#if defined(PCGPIO_TARGET_ARCHITECTURE_ARDUINO_UNO)
#include "../pcgpio_mcu.h"
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_MCU_H_
#define PCGPIO_MCU_H_
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#include "pcgpio_host.h"
enum PCGPIO_Status PCGPIO_IOConfig(struct PCGPIO_Properties *const properties, uint8_t pin, enum PCGPIO_PinConfig config) {
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#include "pcgpio_host.h"
#include <termios.h>
#include <fcntl.h>
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#include "pcgpio_host.h"
/*
* The host API itself is platform-independent. Only the implementation
* of the below functions will change between platforms.
*/
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_HOST_H_
#define PCGPIO_HOST_H_
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_CALLBACK_H_
#define PCGPIO_CALLBACK_H_
......
/*
* Any time the PCGPIO library is used, whether it's on the microcontroller
* side or the PC-side, this is the file the user should import. This file
* will make sure the correct things are imported based on the target platform.
*
* Operating System Compatibility:
* Linux: tested, working (tested on KDE Neon User Edition 5.13)
* MacOS: should work, not tested
* Windows: framework is already there, just need to write the code
* *BSD: should work, not tested
*
* Microcontroller Compatibility (sorted by platform):
* Arduino
* DUE: in progress (DUEs can also be programmed in atmel studio, where
* the Atmel SAM3X_E version of PCGPIO would be used)
* UNO: planned, not yet in progress
* Mega: don't want to buy one of these myself, it has a defined
* MCU_ID. hoping someone in the community will want to do this one
* PIC
* PIC24FJ__GA002: in progress
* PIC24FJ__GA004: planned, not yet in progress
* ARM
* Atmel SAM3X_E: planned, not yet in progress
* Infineon XMC140_: planned, not yet in progress
*/
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_GLOBAL_H_
#define PCGPIO_GLOBAL_H_
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_METHOD_H_
#define PCGPIO_METHOD_H_
......
// PC-GPIO
// Copyright (C) 2018 ryukoposting
//
// 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/>.
//
// Contact:
// email: epg@tfwno.gf
#ifndef PCGPIO_PACKET_H_
#define PCGPIO_PACKET_H_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment