Commit Graph

205 Commits

Author SHA1 Message Date
inmarket
06de6f1931 Updates to Keil RAW32 CPU specific scheduler.
Tested working on CortexM7 and CortexM7 with FP.
2016-12-23 08:56:16 +10:00
09eba89afd Revert "Remove some compiler warnings"
This reverts commit 76671249d6.
2016-12-14 15:00:43 +01:00
8e62912446 Adding missing __cpp() wrapper macro to inline assembly for Keil RAW32 threading functions 2016-12-12 20:03:17 +01:00
0ab0e28bdb Cleaning up raw32 thread context switching functions (use consistent coding style) 2016-12-12 20:02:34 +01:00
d80bd18157 Fixing typo in comment 2016-12-12 19:06:50 +01:00
inmarket
f495b49f53 Update the Raw32 heap allocator to remove a memory merging bug.
The new code has less allocation overhead but memory blocks are now not tracked while allocated.
2016-12-12 20:01:27 +10:00
inmarket
bc7a2b05c1 Update Raw32 threads CLIB support to work with modern versions of the MINGW compiler 2016-12-12 19:59:47 +10:00
inmarket
e927bff089 Fix GCC assembler broken during Keil port 2016-12-08 10:12:23 +10:00
inmarket
ad29f4fee0 Support for Keil compiler RAW32 CPU specific task switching for Cortex M0,1,3,4,7 2016-12-06 13:47:33 +10:00
inmarket
c1e2863078 Fix a bug in the Cortex M0 task switcher
Start of Keil compiler CPU specific switching
2016-12-06 12:16:19 +10:00
inmarket
76671249d6 Remove some compiler warnings 2016-12-06 12:14:06 +10:00
Oleg Gerasimov
09c5c31303 Fix clang build warnings 2016-08-20 17:52:09 +03:00
e5f69dbcf4 Adding Qt GOS port 2016-07-19 01:30:20 +02:00
Nicolas Reinecke
1d2c15ce81 add support for ChibiOS RT 4 kernel 2016-06-01 12:09:34 +02:00
Kimball Johnson
c82efc428f Fix preprocessor elif, GFX_CPU == duplicated 2016-05-22 16:07:45 +00:00
Joel Bodenmann
4797b7d1e2 Doxygen fix 2016-02-28 15:00:57 +01:00
Joel Bodenmann
3d78787b07 Adding missing default definitions of several macros 2016-02-21 13:32:32 +01:00
Joel Bodenmann
a76c176840 Revert "Setting the default heap size to 5120 bytes to avoid confusion due to linker errors when no malloc() / free() are available"
This reverts commit ed9a422d81.
2016-01-11 08:03:16 +01:00
Joel Bodenmann
ed9a422d81 Setting the default heap size to 5120 bytes to avoid confusion due to linker errors when no malloc() / free() are available 2016-01-08 21:42:12 +01:00
inmarket
1971d889dc Fix for using raw32 on a known but unsupported cpu 2015-12-24 09:54:33 +10:00
Joel Bodenmann
a517873148 Removing default operating system to avoid confusion 2015-12-13 11:40:59 +01:00
Joel Bodenmann
fca2766ed8 Removing debugging code from NIOS port 2015-12-04 22:33:40 +01:00
Joel Bodenmann
7d040805c7 Removing debugging code from NIOS port 2015-12-04 22:33:12 +01:00
Joel Bodenmann
5a99092b79 Merge branch 'master' of https://bitbucket.org/Tectu/ugfx 2015-11-27 20:39:28 +01:00
Joel Bodenmann
eaf0b19fb8 Adding support for NIOS-II platform 2015-11-27 20:39:23 +01:00
inmarket
0313756ea3 Add ability to emulate malloc() and free() to prevent nasty hard to find link errors from C library routines that need malloc 2015-11-27 10:15:46 +10:00
inmarket
3681542e24 Fix doco 2015-11-27 10:14:45 +10:00
inmarket
24ba58e612 Fix from crteensy for Arduino when compiling with a strict(er) compiler 2015-11-25 07:29:00 +10:00
inmarket
c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
Joel Bodenmann
10c047d0c0 Fixing typo in macros 2015-11-14 21:11:41 +01:00
inmarket
849369ccec Fix compiler detection for Keil uVision V5 2015-11-12 18:43:20 +10:00
inmarket
f2af4cf110 Add missing defines and move some config variables 2015-11-11 19:17:11 +10:00
inmarket
2efd207660 Revert the use of the new compiler defines as they are not autodetected correctly yet 2015-11-11 19:15:30 +10:00
Joel Bodenmann
15538841de Adding missing defines for GFX_COMPILER_ARMCC and GFX_COMPILER_KEIL in gos_options.h 2015-11-08 15:35:15 +01:00
Joel Bodenmann
ff01cc0212 Adding GFX_COMPILER_ARMCC and GFX_COMPILER_KEIL 2015-11-07 16:54:10 +01:00
Joel Bodenmann
659901a90d Adding missing default value for GFX_NO_INLINE 2015-11-04 15:58:54 +01:00
Joel Bodenmann
fcd6318153 Adding missing GFX_USE_OS_RAWRTOS default value 2015-10-29 11:20:22 +01:00
Joel Bodenmann
cac22ffe0f Documentation 2015-10-29 11:19:00 +01:00
inmarket
ed67f4832e Another CMSIS fix 2015-10-26 23:08:38 +10:00
inmarket
267178254d Another attempt to get CMSIS semaphores correct. 2015-10-26 23:04:51 +10:00
inmarket
bc32c99d1a CMSIS semaphore fix 2015-10-26 18:39:19 +10:00
inmarket
93c0ce25fe Remove superfluous file 2015-10-26 18:38:57 +10:00
Joel Bodenmann
ccd83187fa Fixing Mutex and Semaphores for CMSIS RTOS 2015-10-25 22:10:00 +01:00
Joel Bodenmann
96a912bbc0 Adding missing defines for CMSIS and Keil OS 2015-10-23 14:31:51 +02:00
inmarket
00aeab86eb Merge branch 'master' into Keil 2015-10-23 18:28:42 +10:00
inmarket
17c940423b More thread return fixes 2015-10-23 18:23:57 +10:00
Joel Bodenmann
83e51779ed Adding new THREAD_RETURN macro to other ports 2015-10-23 17:22:05 +10:00
Joel Bodenmann
46619f60cd Adding new THREAD_RETURN macro to other ports 2015-10-19 22:29:35 +02:00
Joel Bodenmann
32eae60422 Compiler warnings 2015-10-19 22:25:21 +02:00
Joel Bodenmann
16d1323d59 Fixing compiler warning "assignment in condition" (ARMCC) 2015-10-19 22:22:50 +02:00
Joel Bodenmann
4b31f87fc8 Adding dedicated support for generic CMSIS RTOS and specific KEIL RTX 2015-10-19 22:22:13 +02:00
Joel Bodenmann
73b39a7d36 Updating KEIL port 2015-10-19 22:07:34 +02:00
Joel Bodenmann
da2ee2d7ad Fixing compiler warning "assignment in condition" (ARMCC) 2015-10-19 22:04:30 +02:00
Joel Bodenmann
d4d9a1be98 Fixing compiler warning/error 2015-10-19 07:13:45 +02:00
Joel Bodenmann
1f8b5efc21 Fixing Keil RTOX port. Now compiling (untested) 2015-10-13 21:43:17 +02:00
inmarket
92b0002918 First attempt at Keil CMSIS support 2015-10-12 20:52:42 +10:00
inmarket
ed946e24ab Improve RAW32 compatibility with other libraries 2015-10-06 12:03:51 +10:00
inmarket
470868f51a More STM32F746-Discovery changes. 2015-10-06 01:13:11 +10:00
Joel Bodenmann
28a2d8ca79 Renaming GFX_NO_OS_INIT to GFX_OS_NO_INIT 2015-08-16 17:21:01 +02:00
inmarket
c1d239bbda Significant improvements in alternative scheduler.
Isolate the generic thread and heap code
Tidyup's.
Generic threading now working for x86, cortex-m0->m7.
2015-07-16 19:02:59 +10:00
Joel Bodenmann
73da22e110 Fixing syntax errors in order to be able to compile scheduler code (still not working but compiling) 2015-07-12 13:56:37 +02:00
Joel Bodenmann
185cb998e2 Some fixes in ASM code 2015-07-12 13:08:48 +02:00
inmarket
57156a3636 Merge branch 'master' into Alternate_Raw32_Scheduler 2015-07-08 13:57:00 +10:00
inmarket
8318e8dc29 Provide better access to compiler optimisations for the raw scheduler 2015-07-08 13:53:54 +10:00
inmarket
93e5235124 Merge branch 'master' into Alternate_Raw32_Scheduler 2015-07-08 13:22:58 +10:00
inmarket
0d54fae731 Correction of stackbase for mingw32 2015-07-08 13:14:42 +10:00
inmarket
f2ee56661c Alternate Raw32 scheduler.
Works for main thread + one other thread.
Currently fails with 2 other threads.
STM32M4 code tested and working.
2015-07-08 09:53:16 +10:00
inmarket
96bed0cd75 Fix single file make issues with GOS Raw32 on the Win32 platform. 2015-07-08 09:50:15 +10:00
inmarket
af2b0f29b5 Merge remote-tracking branch 'origin/master' 2015-07-08 09:31:22 +10:00
inmarket
d7624145b6 Spelling fixes. 2015-07-08 09:31:10 +10:00
Joel Bodenmann
e99cc3cd8b Fixing stack alignment issue in Arduino scheduler 2015-07-08 01:22:36 +02:00
Joel Bodenmann
6d329077bc Fixing stack alignment issue in RAW32 scheduler 2015-07-08 01:13:35 +02:00
Joel Bodenmann
81850ade15 Improving type definition inclusion in RAW32 port 2015-07-02 21:57:14 +02:00
Joel Bodenmann
3e021b9da3 Fixing ChibiOS/RT 3.x port 2015-06-19 19:55:40 +02:00
inmarket
ccde54722f Added ability to compile ugfx as a single file (excluding driver and board files).
Simply compile src/gfx_mk.c
2015-06-08 14:14:40 +10:00
inmarket
aa7ebf9c26 Add the license to the makefiles 2015-06-08 12:11:37 +10:00
inmarket
9c7dbd8d7e More GOS arduino files - oops missed them last commit. 2015-04-07 23:22:04 +10:00
inmarket
82cb03947c Add Arduino as a full GOS supported operating system (even though it is really just a special bare bones platform) 2015-04-07 23:21:19 +10:00
inmarket
a59327fbbf Fix misspelling of KEIL preprocessor directive. 2015-03-25 12:45:06 +10:00
inmarket
fe20965c3f More updates for Keil with raw32 GOS. 2015-03-18 10:26:35 +10:00
inmarket
1caabc3f75 Attempt to fix setjmp issues with the Kiel compiler. 2015-03-18 06:53:22 +10:00
inmarket
84ae564bfc Support ChibiOS V3 changes to the FileStream API 2015-03-11 00:16:09 +10:00
inmarket
07a63f7143 Compile error and emulation errors for GFILE_NEED_STDIO 2015-02-21 09:23:33 +10:00
inmarket
fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket
a5b80da207 Fix complaints with some ChibiOS versions and some compilers about TRUE/FALSE redefinition. 2014-12-31 12:27:04 +10:00
Joel Bodenmann
c2bf62ff19 More doxygen fixes 2014-11-28 20:01:34 +01:00
Joel Bodenmann
b799e16689 GOS doxygen fix 2014-11-28 11:37:07 +01:00
Joel Bodenmann
ba85d77dda Fixing doxygen for GOS module 2014-11-27 22:59:28 +01:00
Joel Bodenmann
af44bbc9d4 Fixing doxygen 2014-11-23 02:38:38 +01:00
inmarket
599a163181 Spacing, comments and spelling mistakes 2014-11-15 15:19:46 +10:00
inmarket
a61b4a7115 ChibiOS 3 error message update 2014-10-09 12:32:05 +10:00
inmarket
63fd8ab89b Update support for ChibiOS v3 to the current repository.
Update Make system to match.
Add ability to make to a library rather than a program
Stop ignoring objcode invalid format errors
Multiple make tidy ups
2014-10-06 15:50:43 +10:00
Joel Bodenmann
8efdd2c514 /src/gos/gfx_* -> /src/gos/gos_* 2014-09-29 16:22:35 +10:00
inmarket
b7a89b2ada doxygen updates 2014-09-29 16:09:08 +10:00
inmarket
3abbf8e1b2 Bug fixes for the OSX GOS layer 2014-09-29 15:46:08 +10:00
inmarket
e3545c55bf Bug fixes for the linux GOS layer. Also add POSIX semaphore implementation. 2014-09-29 15:45:44 +10:00
inmarket
2776d00e82 GOS updates to fix compile warnings on linux 2014-09-28 01:41:07 +10:00
Joel Bodenmann
e65b1db192 Adding prefix to port files to avoid file name conflicts on case insensitive systems 2014-08-08 10:46:42 +02:00
Joel Bodenmann
56f55af6ea FreeRTOS type definitions for versions older than 8 2014-08-08 09:47:41 +02:00
inmarket
9826378b96 Operating System initialisation can now be turned off in gfxconf.h 2014-07-29 12:00:47 +10:00