BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: BT81x: OPT_FILL is not defined  (Read 16414 times)

Rudolph

  • Sr. Member
  • ****
  • Posts: 440
    • View Profile
BT81x: OPT_FILL is not defined
« on: March 25, 2019, 03:18:34 PM »

I implemented a bunch of commands for BT81x and I am in the process of testing them.

There is this new OPT_FILL for CMD_TEXT and CMD_BUTTON and the pixel-value for is setup with CMD_FILLWIDTH.
There is however no value for it given in the table 5.10 of the BT81x Series Programming Guide.
The EVE Screen Editor v3.1.2 is also of no help because it ignores the option and when I exported a simple test-project
I could not find OPT_FILL in there either.

As far as I can tell there are also no BT81x examples available to the public.

Fortunately I have been given the source code for one of the examples that were shown
at the Embedded World in Nürnberg, so here you go:

#define OPT_FILL 8192UL

I have tested it with this define and at least for CMD_TEXT it works just fine.
Logged

nico

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: BT81x: OPT_FILL is not defined
« Reply #1 on: April 05, 2019, 08:04:21 AM »

I don't know if you already saw it: In the main folder of the EVE Screen Editor you can find the updated lib for BT81x (EVE_Hal_Library). In line 926 of EVE_Hal_Library/Hdr/Gpu.h I saw the definition:
#define OPT_FILL             8192UL

There is also a directory with examples in "EVE Screen Editor/Examples/BT81X/".

Best regards
Logged