leozhang
-
Posts
8 -
Joined
-
Last visited
Content Type
Forums
Store
Downloads
Blogs
Posts posted by leozhang
-
-
It seems be stuck at the _gdispInit(); function.
-
Hardware : NUCLEO-F302R8
library: STM32-CUBEMX, uGFX 2.7
compiler:KEIL MDK 5.2
I try to interated to my board,it can pass compile, when I use oled own dirver,it can work, but the ugfx do not work, i think i have something wrong in the configuration.any boby help?
thx
-
57 minutes ago, Joel Bodenmann said:
What version of the µGFX library are you using? Make sure that you're using the latest master branch from the official repository.
Also make sure that you're using the gfxconf.h contents that were generated by the studio. But keep in mind that the studio doesn't generate the GOS part of that configuration file so you'll have to add that yourself. Don't forget to make a clean build.
oh,I make the mistake that I use the old version.then I trying the latest library.
thanks Joel
-
I use keil MDK 5.23 to build the project and my board is STM32F429 DISC.
I can build the demo successfully ,but when I try to make a "hello word " case ,I use uGFX-Studio to generate the code,and copy to my project,unfortunately I met the error "..\widgetstyles.h(30): error: #146: too many initializer values",why ?how can i work out?
-
1 hour ago, inmarket said:
Like most beta software there is no official documentation. Like most software these days the best way to learn is to play with it - it is not difficult to use.
There may be some wiki articles relating to studio at http://wiki.ugfx.io. There are also numerous forum posts about it so searching those will help too.
thank you for your help
-
I see,thank you!
Now I'm trying to use it
-
I'm new of uGFX,I have uGFX working in my STM32F429 DISCOVERY , and I want to use the uGFX-Studio to do something ?Are there some documents to help me learn to use it?
thx
Failing transplanting uGFX to OLED12864(SH1106)
in Support
Posted
it seems i have problem in “ RAM(g)[xyaddr(x, y)] &= ~xybit(y) ; ”
because when I use keil bebug and running at this code,the mcu will goto“ void HardFault_Handler(void)”
but I think the really problem is “ g->priv = gfxAlloc() ” yes that function.
my configuration are :
//#define GFX_USE_OS_WIN32 FALSE
//#define GFX_USE_OS_LINUX FALSE
//#define GFX_USE_OS_OSX FALSE
//#define GFX_USE_OS_ECOS FALSE
//#define GFX_USE_OS_RAWRTOS FALSE
//#define GFX_USE_OS_ARDUINO FALSE
//#define GFX_USE_OS_KEIL FALSE
//#define GFX_USE_OS_CMSIS FALSE
#define GFX_USE_OS_RAW32 TRUE
//#define GFX_USE_OS_NIOS FALSE
//#define GFX_USE_OS_QT FALSE
// #define INTERRUPTS_OFF() optional_co
// #define INTERRUPTS_ON() optional_co
// Options that (should where relevant) apply to all operating sys
// #define GFX_NO_INLINE FALSE
#define GFX_COMPILER GFX_COMPILER
// #define GFX_SHOW_COMPILER FALSE
// #define GFX_CPU GFX_CPU_UNK
// #define GFX_CPU_NO_ALIGNMENT_FAULTS FALSE
// #define GFX_CPU_ENDIAN GFX_CPU_END
// #define GFX_OS_HEAP_SIZE 0
// #define GFX_OS_NO_INIT FALSE
// #define GFX_OS_INIT_NO_WARNING FALSE
// #define GFX_OS_PRE_INIT_FUNCTION myHardwareI
// #define GFX_OS_EXTRA_INIT_FUNCTION myOSInitRou
// #define GFX_OS_EXTRA_DEINIT_FUNCTION myOSDeInitR
// #define GFX_EMULATE_MALLOC TRUE
so i dont know how to usb the gfxAlloc()