changed the license of all demos to BSD

ugfx_release_2.6
Joel Bodenmann 2013-04-08 21:55:13 +02:00
parent 9e798ddb69
commit 1946749578
39 changed files with 782 additions and 18821 deletions

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
/** /**

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** /**
* --------------------------- Our Custom GWIN Oscilloscope --------------- * --------------------------- Our Custom GWIN Oscilloscope ---------------

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _GWINOSC_H #ifndef _GWINOSC_H
#define _GWINOSC_H #define _GWINOSC_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** /**
* This demo demonstrates the use of the GADC module using it read both a microphone, * This demo demonstrates the use of the GADC module using it read both a microphone,

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
/** /**

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** /**
* --------------------------- Our Custom GWIN Oscilloscope --------------- * --------------------------- Our Custom GWIN Oscilloscope ---------------

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _GWINOSC_H #ifndef _GWINOSC_H
#define _GWINOSC_H #define _GWINOSC_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** /**
* This demo demonstrates the use of the GAUDIN module to read audio channel 0. * This demo demonstrates the use of the GAUDIN module to read audio channel 0.

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

View File

@ -1,43 +0,0 @@
/**
* This file has a different license to the rest of the GFX system.
* You can copy, modify and distribute this file as you see fit.
* You do not need to publish your source modifications to this file.
* The only thing you are not permitted to do is to relicense it
* under a different license.
*/
#ifndef _GFXCONF_H
#define _GFXCONF_H
/* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE
#define GFX_USE_GWIN FALSE
#define GFX_USE_GEVENT FALSE
#define GFX_USE_GTIMER FALSE
#define GFX_USE_GINPUT FALSE
/* Features for the GDISP sub-system. */
#define GDISP_NEED_VALIDATION TRUE
#define GDISP_NEED_CLIP TRUE
#define GDISP_NEED_TEXT TRUE
#define GDISP_NEED_CIRCLE TRUE
#define GDISP_NEED_ELLIPSE FALSE
#define GDISP_NEED_ARC FALSE
#define GDISP_NEED_SCROLL FALSE
#define GDISP_NEED_PIXELREAD FALSE
#define GDISP_NEED_CONTROL TRUE
#define GDISP_NEED_MULTITHREAD TRUE
#define GDISP_NEED_ASYNC FALSE
#define GDISP_NEED_MSGAPI FALSE
/* Builtin Fonts */
#define GDISP_INCLUDE_FONT_SMALL FALSE
#define GDISP_INCLUDE_FONT_LARGER FALSE
#define GDISP_INCLUDE_FONT_UI1 FALSE
#define GDISP_INCLUDE_FONT_UI2 TRUE
#define GDISP_INCLUDE_FONT_LARGENUMBERS TRUE
/* Features for the GINPUT sub-system. */
#define GINPUT_NEED_MOUSE FALSE
#endif /* _GFXCONF_H */

View File

@ -1,26 +0,0 @@
#include "ch.h"
#include "hal.h"
#include "gfx.h"
#include "matterhorn1.h"
#include "matterhorn2.h"
#include "fruits1.h"
int main(void) {
halInit();
chSysInit();
gdispInit();
gdispSetOrientation(GDISP_ROTATE_90);
while(1) {
gdispBlitArea(0, 0, fruits1.width, fruits1.height, (const pixel_t*)fruits1.pixel_data);
chThdSleepMilliseconds(3000);
gdispBlitArea(0, 0, matterhorn1.width, matterhorn1.height, (const pixel_t*)matterhorn1.pixel_data);
chThdSleepMilliseconds(3000);
gdispBlitArea(0, 0, matterhorn2.width, matterhorn2.height, (const pixel_t*)matterhorn2.pixel_data);
chThdSleepMilliseconds(3000);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,3 +1,30 @@
/*
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"
#include "gfx.h" #include "gfx.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -1,9 +1,28 @@
/** /*
* This file has a different license to the rest of the GFX system. * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* You can copy, modify and distribute this file as you see fit. * All rights reserved.
* You do not need to publish your source modifications to this file. *
* The only thing you are not permitted to do is to relicense it * Redistribution and use in source and binary forms, with or without
* under a different license. * modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _GFXCONF_H #ifndef _GFXCONF_H

View File

@ -1,22 +1,29 @@
/* /*
ChibiOS/GFX - Copyright (C) 2012, 2013 * Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
Joel Bodenmann aka Tectu <joel@unormal.org> * All rights reserved.
*
This file is part of ChibiOS/GFX. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
ChibiOS/GFX is free software; you can redistribute it and/or modify * * Redistributions of source code must retain the above copyright
it under the terms of the GNU General Public License as published by * notice, this list of conditions and the following disclaimer.
the Free Software Foundation; either version 3 of the License, or * * Redistributions in binary form must reproduce the above copyright
(at your option) any later version. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
ChibiOS/GFX is distributed in the hope that it will be useful, * * Neither the name of the <organization> nor the
but WITHOUT ANY WARRANTY; without even the implied warranty of * names of its contributors may be used to endorse or promote products
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * derived from this software without specific prior written permission.
GNU General Public License for more details. *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
You should have received a copy of the GNU General Public License * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
along with this program. If not, see <http://www.gnu.org/licenses/>. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
*/ * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "ch.h" #include "ch.h"
#include "hal.h" #include "hal.h"

View File

@ -2,3 +2,33 @@ This folder contains a few demos which explain how to use the library.
Only the main files are contained. No compile-able projects Only the main files are contained. No compile-able projects
All demos and examples stand under the BSD license as declared below and
within each file:
/*
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/