HY-STM32 files

Sunnary

Files to use HY-STM32_100P & HY-280_262k with Leaflabs Maple:
Maple files (put it under "Maplepath"/Contents/Resources/Java/hardware/leaflabs/)
LCD Code example

Hints

The present TFT modul HY-280_262k uses a LGDP4532 (successor of LGDP4531) instead of ILI9325 - the init code is different

Todo

lots ...
- clean up fsmc_hy_stm32.c
- port definitions HardwareSerial.cpp

Andy Brown STM32PLUS 1.2.0

STM32PLUS 1.2.0 + LGDP453x V1
- first working version
- fxed gcc optimization bug: GCC optimization error
--- a/stm32plus-1.2.0/stm32plus/fwlib/f1/cmsis/CM3/CoreSupport/core_cm3.c       2012-09-04 21:25:31.000000000 +0200
+++ b/stm32plus-1.2.0/stm32plus/fwlib/f1/cmsis/CM3/CoreSupport/core_cm3.c       2013-01-10 16:16:55.000000000 +0100
@@ -735,7 +735,7 @@
 {
    uint32_t result=0;

-   __ASM volatile ("strexb %0, %2, [%1]" : "=r" (result) : "r" (addr), "r" (value) );
+   __ASM volatile ("strexb %0, %2, [%1]" : "=&r" (result) : "r" (addr), "r" (value) );
    return(result);
 }

@@ -752,7 +752,7 @@
 {
    uint32_t result=0;

-   __ASM volatile ("strexh %0, %2, [%1]" : "=r" (result) : "r" (addr), "r" (value) );
+   __ASM volatile ("strexh %0, %2, [%1]" : "=&r" (result) : "r" (addr), "r" (value) );
    return(result);
 }

STM32PLUS 1.2.0 + LGDP453x V2
Version 2:
- init code improved
- hard scroll fixed
- PictureFrame example LGDP453x -> working
STM32PLUS 1.2.0 + LGDP453x V3
Version 3:
- init code cleanup
- touch screen example with LGDP453x

Binary for HY-STM32_100P with LGDP4532 Demo Code - FAST FSMC (use xz)
Binary for HY-STM32_100P with ADS7843 Demo Code (use xz)

STM32PLUS 2.0.0 + LGDP453x V4
Version 4:
- adapted to STM32PLUS V2.0.0

Reduced to the max

Impressum: