That's great, thanks for letting me know.
Yes, that makes sense.
Just don't forget the ChangeBackground does not work until a ClearDispaly command is used.
ST7789 display
-
- Matrix Staff
- Posts: 1451
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: ST7789 display
So background color is global on the whole display, and changing it needs to be followed by a ClearDisplay.
In contrast, changes in foreground color can be defined even on a pixel or any shape construct basis and does not need a ClearDisplay.
But I don't see any possibility to reverse a character that when it is white on black, change it to say blue on red.
That is not possible because you can't change background color locally. Or can you?
Jan
In contrast, changes in foreground color can be defined even on a pixel or any shape construct basis and does not need a ClearDisplay.
But I don't see any possibility to reverse a character that when it is white on black, change it to say blue on red.
That is not possible because you can't change background color locally. Or can you?
Jan
Re: ST7789 display
Of course you can change background color locally: draw a rectangle or circle or ellipse and set transparancy and fill parameters appropriately.
So you can highlight a character in a soft keyboard by drawing a rectangle at the character position, printing the character in the drawn rectangle, giving it (the character) both a different background and forground color.
The original can later be restored to un-highlight it.
But when you have to highlight and un-highlight a string of characters (like when entering a password) you end up with a whole buch of different color rectangles all over the display, and I'm not sure what the impact of that is.
Probably need to reset the whole display to an initial layout after finishing the string selection procedure.
Jan
So you can highlight a character in a soft keyboard by drawing a rectangle at the character position, printing the character in the drawn rectangle, giving it (the character) both a different background and forground color.
The original can later be restored to un-highlight it.
But when you have to highlight and un-highlight a string of characters (like when entering a password) you end up with a whole buch of different color rectangles all over the display, and I'm not sure what the impact of that is.
Probably need to reset the whole display to an initial layout after finishing the string selection procedure.
Jan
- Attachments
-
- highlight.jpg (173.85 KiB) Viewed 1333 times
-
- Matrix Staff
- Posts: 1451
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: ST7789 display
Thinking about it, ClearDispaly is only required for the background.
Not required for the foreground.
What about the attached project?
Not required for the foreground.
What about the attached project?
- Attachments
-
- ESP32 wroom test medelec35 v2.fcfx
- (25.06 KiB) Downloaded 35 times
Martin
Re: ST7789 display
I leaned another trick: that 'Toggle' function is neat. Thanks for that.
The blinking is nice but I believe it isn't prominent enough, especially on the small display. Maybe blue would be better, but reversing the background/forground is really noticeable.
The blinking is nice but I believe it isn't prominent enough, especially on the small display. Maybe blue would be better, but reversing the background/forground is really noticeable.
-
- Matrix Staff
- Posts: 1451
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: ST7789 display
You're welcome.
Ah, I get what you are saying.
In that case what about the attached version?
Ah, I get what you are saying.
In that case what about the attached version?
- Attachments
-
- ESP32 wroom test medelec35 v3.fcfx
- (25.05 KiB) Downloaded 35 times
Martin
Re: ST7789 display
That looks great, and is very close to what I initially wanted to do.
One more step gets me there: a reversing character, see attached
So it looks that you can do a change of background color without a ClearDisplay and that then has only an effect on the next print (or plot?) command?
Which, in hindsight, does make sense.
Jan
One more step gets me there: a reversing character, see attached
So it looks that you can do a change of background color without a ClearDisplay and that then has only an effect on the next print (or plot?) command?
Which, in hindsight, does make sense.
Jan
- Attachments
-
- ESP32 wroom test medelec35 v3 JD.fcfx
- (24.96 KiB) Downloaded 41 times
-
- Matrix Staff
- Posts: 1451
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: ST7789 display
Yes, but to change the whole background is where the ClearDisplay is required.
You are correct.
When you change colour, it's the next print/plot that is affected.
At least you know now it's doable without adding shapes.
You are correct.
When you change colour, it's the next print/plot that is affected.
At least you know now it's doable without adding shapes.
Martin
-
- Posts: 82
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
Re: ST7789 display
Another brain-teaser (for me at least). I need to display an arrow-like element in the shape of a triangle.
Like for a down-pointing arrow I'd have a small triangle with a horizontal base and two slanted down-oriented sides, see attached. Not a big issue, but I want to be able to fill such an arrow with a color as additonal indication, like green for underflow and red for overflow of a signal.
How do I do that flooding of the triangle?? FC9, ST7789 gLCD.
Jan
Like for a down-pointing arrow I'd have a small triangle with a horizontal base and two slanted down-oriented sides, see attached. Not a big issue, but I want to be able to fill such an arrow with a color as additonal indication, like green for underflow and red for overflow of a signal.
How do I do that flooding of the triangle?? FC9, ST7789 gLCD.
Jan
- Attachments
-
- log scale rot.PNG (4.46 KiB) Viewed 1256 times
Re: ST7789 display
Well. It compiled Friday, it doesn't compile Saturday.
I went back to the version that compiled OK, that didn't compile either.
Since ghosts do not exist, or so I thought, why the failure now?
Can anyone please look at the compiler output? (BTW is there a way to save the compiler output without having to do a global highlight of the output and save it in a text file?
BTW the sim runs fine. The failure is about halfway, building the object file:
Here's the full compiler output.
BTW The fill for an arrow works fine: just draw vertical lines repeatedly with an X1 offset.
See attached. Wonder if there isn't a more intelligent way ...
I went back to the version that compiled OK, that didn't compile either.
Since ghosts do not exist, or so I thought, why the failure now?
Can anyone please look at the compiler output? (BTW is there a way to save the compiler output without having to do a global highlight of the output and save it in a text file?
BTW the sim runs fine. The failure is about halfway, building the object file:
Code: Select all
[3/8] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
Code: Select all
Target folder: C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt
Source name: C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt\ESP32 wroom log scale test.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.3.1.36
Date: Saturday, March 11, 2023 16:25:55
Users: 1
Registered to: jan.didden xxxxxxxx (erased - jd'
Licence key: xxxxxx (erased - jd)
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\esp-idf\" "ESP32 wroom log scale test" "C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt\" esp32s_sdkconfig
C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt>REM REVISION: 4.0
C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt>REM DATE: 29\03\2021
C:\Users\jandi\OneDrive - Linear Audio\2a - AR xt>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building ESP32 wroom log scale test ...
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\esp-idf-tools\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\esp-idf-tools\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\esp-idf-tools\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\esp-idf-tools\tools\cmake\3.13.4\bin
C:\esp-idf-tools\tools\openocd-esp32\v0.11.0-esp32-20220706\openocd-esp32\bin
C:\esp-idf-tools\tools\ninja\1.9.0\
C:\esp-idf-tools\tools\idf-exe\1.0.1\
C:\esp-idf-tools\tools\ccache\3.7\
C:\esp-idf-tools\python_env\idf4.1_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[1/10] cmd.exe /C "cd /D C:\Users\jandi\OneDrive_-_Linear_Audio\2a_-_AR_xt\ESP32_wroom_log_scale_test\build\esp-idf\partition_table && C:\esp-idf-tools\tools\cmake\3.13.4\bin\cmake.exe -E echo "Partition table binary generated. Contents:" && C:\esp-idf-tools\tools\cmake\3.13.4\bin\cmake.exe -E echo ******************************************************************************* && C:\esp-idf-tools\python_env\idf4.1_py3.7_env\Scripts\python.exe C:/esp-idf/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB C:/Users/jandi/OneDrive_-_Linear_Audio/2a_-_AR_xt/ESP32_wroom_log_scale_test/build/partition_table/partition-table.bin && C:\esp-idf-tools\tools\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[2/10] Performing build step for 'bootloader'
ninja: no work to do.
[3/8] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
ccache C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -IC:/esp-idf/components/newlib/platform_include -IC:/esp-idf/components/freertos/include -IC:/esp-idf/components/heap/include -IC:/esp-idf/components/log/include -IC:/esp-idf/components/lwip/include/apps -IC:/esp-idf/components/lwip/include/apps/sntp -IC:/esp-idf/components/lwip/lwip/src/include -IC:/esp-idf/components/lwip/port/esp32/include -IC:/esp-idf/components/lwip/port/esp32/include/arch -IC:/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/esp-idf/components/soc/esp32 -IC:/esp-idf/components/soc/esp32/include -IC:/esp-idf/components/soc/include -IC:/esp-idf/components/esp_rom/include -IC:/esp-idf/components/esp_rom/esp32 -IC:/esp-idf/components/esp_common/include -IC:/esp-idf/components/xtensa/include -IC:/esp-idf/components/xtensa/esp32/include -IC:/esp-idf/components/esp32/include -IC:/esp-idf/components/driver/include -IC:/esp-idf/components/driver/esp32/include -IC:/esp-idf/components/esp_ringbuf/include -IC:/esp-idf/components/efuse/include -IC:/esp-idf/components/efuse/esp32/include -IC:/esp-idf/components/vfs/include -IC:/esp-idf/components/esp_wifi/include -IC:/esp-idf/components/esp_wifi/esp32/include -IC:/esp-idf/components/esp_event/include -IC:/esp-idf/components/esp_netif/include -IC:/esp-idf/components/esp_eth/include -IC:/esp-idf/components/tcpip_adapter/include -IC:/esp-idf/components/app_trace/include -IC:/esp-idf/components/app_update/include -IC:/esp-idf/components/spi_flash/include -IC:/esp-idf/components/bootloader_support/include -IC:/esp-idf/components/mbedtls/port/include -IC:/esp-idf/components/mbedtls/mbedtls/include -IC:/esp-idf/components/nvs_flash/include -IC:/esp-idf/components/pthread/include -IC:/esp-idf/components/espcoredump/include -IC:/esp-idf/components/perfmon/include -IC:/esp-idf/components/wpa_supplicant/include -IC:/esp-idf/components/wpa_supplicant/port/include -IC:/esp-idf/components/wpa_supplicant/include/esp_supplicant -IC:/esp-idf/components/asio/asio/asio/include -IC:/esp-idf/components/asio/port/include -IC:/esp-idf/components/bt/include -IC:/esp-idf/components/bt/common/osi/include -IC:/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/esp-idf/components/cbor/port/include -IC:/esp-idf/components/coap/port/include -IC:/esp-idf/components/coap/port/include/coap -IC:/esp-idf/components/coap/libcoap/include -IC:/esp-idf/components/coap/libcoap/include/coap2 -IC:/esp-idf/components/console -IC:/esp-idf/components/nghttp/port/include -IC:/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/esp-idf/components/esp-tls -IC:/esp-idf/components/esp_adc_cal/include -IC:/esp-idf/components/esp_gdbstub/include -IC:/esp-idf/components/tcp_transport/include -IC:/esp-idf/components/esp_http_client/include -IC:/esp-idf/components/esp_http_server/include -IC:/esp-idf/components/esp_https_ota/include -IC:/esp-idf/components/protobuf-c/protobuf-c -IC:/esp-idf/components/protocomm/include/common -IC:/esp-idf/components/protocomm/include/security -IC:/esp-idf/components/protocomm/include/transports -IC:/esp-idf/components/mdns/include -IC:/esp-idf/components/esp_local_ctrl/include -IC:/esp-idf/components/sdmmc/include -IC:/esp-idf/components/esp_serial_slave_link/include -IC:/esp-idf/components/esp_websocket_client/include -IC:/esp-idf/components/expat/expat/expat/lib -IC:/esp-idf/components/expat/port/include -IC:/esp-idf/components/wear_levelling/include -IC:/esp-idf/components/fatfs/diskio -IC:/esp-idf/components/fatfs/vfs -IC:/esp-idf/components/fatfs/src -IC:/esp-idf/components/freemodbus/common/include -IC:/esp-idf/components/idf_test/include -IC:/esp-idf/components/jsmn/include -IC:/esp-idf/components/json/cJSON -IC:/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/esp-idf/components/libsodium/port_include -IC:/esp-idf/components/mqtt/esp-mqtt/include -IC:/esp-idf/components/openssl/include -IC:/esp-idf/components/spiffs/include -IC:/esp-idf/components/ulp/include -IC:/esp-idf/components/unity/include -IC:/esp-idf/components/unity/unity/src -IC:/esp-idf/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1.4-dirty\" -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\esp-project.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -c ../main/esp-project.c
In file included from ../main/esp-project.c:38:
C:/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:110,
from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Float.c:91:6: warning: conflicting types for built-in function '__builtin_isinf_sign' [-Wbuiltin-declaration-mismatch]
char isinf(float f)
^~~~~
../main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadWidth':
../main/esp-project.c:1014:11: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
../main/esp-project.c:1013:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadWidth':
../main/esp-project.c:1286:11: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
../main/esp-project.c:1285:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadWidth':
../main/esp-project.c:1558:11: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
../main/esp-project.c:1557:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__ReadWidth':
../main/esp-project.c:1830:11: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
MX_UINT8 FCL_PWIDTH;
^~~~~~~~~~
../main/esp-project.c:1829:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontStat':
../main/esp-project.c:2099:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontByte':
../main/esp-project.c:2190:12: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
MX_UINT16 FCL_POSITION;
^~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__FastBPlot':
../main/esp-project.c:2281:12: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
^
../main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__FastPlot':
../main/esp-project.c:2727:12: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
^
../main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__ClearDisplay':
../main/esp-project.c:3346:12: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
^
../main/esp-project.c: In function 'FCM_Init':
../main/esp-project.c:3944:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCI_SCOPY("uvwxyz?! ",11, FCV_SSOFTKB[3],FCVsz_SSOFTKB_1);
~~~~~~~~~~~^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3945:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCI_SCOPY("ABCDEFGHIJ",11, FCV_SSOFTKB[4],FCVsz_SSOFTKB_1);
~~~~~~~~~~~^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3946:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCI_SCOPY("KLMNOPQRST",11, FCV_SSOFTKB[5],FCVsz_SSOFTKB_1);
~~~~~~~~~~~^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3947:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCI_SCOPY("UVWXYZ!? ",11, FCV_SSOFTKB[6],FCVsz_SSOFTKB_1);
~~~~~~~~~~~^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3948:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3949:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
}
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c:3950:40: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
~~~~~~~~~~^~~~
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:4027:48: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCD_0e5b1_gLCD_ST7789V1__Print(FCV_SLOGX, FCVsz_SLOGX, 50, 50, 2, 1);
^~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
~~~~~~~~~~^~~~~~
../main/esp-project.c:4030:33: warning: passing argument 1 of 'FCD_0e5b1_gLCD_ST7789V1__Print' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
FCD_0e5b1_gLCD_ST7789V1__DrawLine(20, 180, 320, 180);
^~~~~~~~~
../main/esp-project.c:3093:46: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
MX_UINT8 FCL_BYTESPERCOLUMN;
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:569,
from ../main/esp-project.c:48:
../main/esp-project.c:4080:44: error: implicit declaration of function 'Log10'; did you mean 'log10'? [-Werror=implicit-function-declaration]
// Name: draw signal strenght pointer, Type: User Macro: FillPointer()
^~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Float.c:62:30: note: in definition of macro 'flt_toi'
#define flt_toi(a) ((long)(a)) //Assignment
^
../main/esp-project.c:4080:27: note: in expansion of macro 'flt_add'
// Name: draw signal strenght pointer, Type: User Macro: FillPointer()
^~~~~~~
../main/esp-project.c:4080:36: note: in expansion of macro 'flt_mul'
// Name: draw signal strenght pointer, Type: User Macro: FillPointer()
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:815:13: warning: 'FCI_SHEAD' defined but not used [-Wunused-function]
static void FCI_SHEAD(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:331:10: warning: 'FCI_TOSTRU32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:254:10: warning: 'FCI_TOSTRS32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_RIGHTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_MIDSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iStart, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
^~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running ninja in directory c:\users\jandi\onedrive_-_linear_audio\2a_-_ar_xt\esp32_wroom_log_scale_test\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
See attached. Wonder if there isn't a more intelligent way ...
- Attachments
-
- green arrow.PNG (6.97 KiB) Viewed 1244 times