Skip to content

Commit

Permalink
add license for all source code
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsunyixiao committed Jun 10, 2018
1 parent 7e577fd commit 5f395cf
Show file tree
Hide file tree
Showing 102 changed files with 1,824 additions and 8 deletions.
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_adc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

#include "bsp_adc.h"

uint16_t adc1_buff[BSP_ADC1_CHANNEL_SIZE];
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_adc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

#ifndef _BSP_ADC_H_
#define _BSP_ADC_H_

Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_buzzer.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_buzzer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_can.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang
* @date 2018-04-12
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_can.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-12
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-16
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_error_handler.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-16
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_error_handler.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_gpio.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-12
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_imu.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-20
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_imu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-20
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_ist8310_reg.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_key.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-05-27
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_key.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_laser.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_laser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-15
Expand Down
18 changes: 18 additions & 0 deletions Applications/BSP/bsp_led.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright (C) 2018
* Illini RoboMaster @ University of Illinois at Urbana-Champaign.
*
* 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/>.
*************************************************************************/

/**
* @author Nickel_Liang <nickelliang>
* @date 2018-04-14
Expand Down
Loading

0 comments on commit 5f395cf

Please sign in to comment.