ESP32 Bitmap drawer is broken

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Chadb
Posts: 63
http://meble-kuchenne.info.pl
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Flowcode v10 ESP32 Bitmap drawer is broken

Post by Chadb »

I have the chip programming and a st7789v up and running ok, but the bitmap drawer is not working. I have tried the fast and the regular and neither of them work. I have had this running on the rp pico before, so I know it works there.

Thanks,

Chad

Code: Select all

  idf.py build

Target: esp32 ...
[1/9] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\bob\Documents\flowfiles\testesp32\build\bootloader\esp-idf\esptool_py && C:\esp-idf-tools\python_env\idf5.1_py3.7_env\Scripts\python.exe C:/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/bob/Documents/flowfiles/testesp32/build/bootloader/bootloader.bin"
Bootloader binary size 0x6810 bytes. 0x7f0 bytes (7%) free.
.

[2/7] 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-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"-128-NOTFOUND\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/Users/bob/Documents/flowfiles/testesp32/build/config -IC:/esp-idf/components/newlib/platform_include -IC:/esp-idf/components/freertos/FreeRTOS-Kernel/include -IC:/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/esp-idf/components/freertos/esp_additions/include/freertos -IC:/esp-idf/components/freertos/esp_additions/include -IC:/esp-idf/components/freertos/esp_additions/arch/xtensa/include -IC:/esp-idf/components/esp_hw_support/include -IC:/esp-idf/components/esp_hw_support/include/soc -IC:/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/esp-idf/components/esp_hw_support/port/esp32/. -IC:/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/esp-idf/components/heap/include -IC:/esp-idf/components/log/include -IC:/esp-idf/components/soc/include -IC:/esp-idf/components/soc/esp32 -IC:/esp-idf/components/soc/esp32/include -IC:/esp-idf/components/hal/esp32/include -IC:/esp-idf/components/hal/include -IC:/esp-idf/components/hal/platform_port/include -IC:/esp-idf/components/esp_rom/include -IC:/esp-idf/components/esp_rom/include/esp32 -IC:/esp-idf/components/esp_rom/esp32 -IC:/esp-idf/components/esp_common/include -IC:/esp-idf/components/esp_system/include -IC:/esp-idf/components/esp_system/port/soc -IC:/esp-idf/components/esp_system/port/include/private -IC:/esp-idf/components/xtensa/include -IC:/esp-idf/components/xtensa/esp32/include -IC:/esp-idf/components/lwip/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/include -IC:/esp-idf/components/lwip/port/freertos/include -IC:/esp-idf/components/lwip/port/esp32xx/include -IC:/esp-idf/components/lwip/port/esp32xx/include/arch -IC:/esp-idf/components/esp_ringbuf/include -IC:/esp-idf/components/efuse/include -IC:/esp-idf/components/efuse/esp32/include -IC:/esp-idf/components/driver/include -IC:/esp-idf/components/driver/deprecated -IC:/esp-idf/components/driver/analog_comparator/include -IC:/esp-idf/components/driver/dac/include -IC:/esp-idf/components/driver/gpio/include -IC:/esp-idf/components/driver/gptimer/include -IC:/esp-idf/components/driver/i2c/include -IC:/esp-idf/components/driver/i2s/include -IC:/esp-idf/components/driver/ledc/include -IC:/esp-idf/components/driver/mcpwm/include -IC:/esp-idf/components/driver/parlio/include -IC:/esp-idf/components/driver/pcnt/include -IC:/esp-idf/components/driver/rmt/include -IC:/esp-idf/components/driver/sdio_slave/include -IC:/esp-idf/components/driver/sdmmc/include -IC:/esp-idf/components/driver/sigma_delta/include -IC:/esp-idf/components/driver/spi/include -IC:/esp-idf/components/driver/temperature_sensor/include -IC:/esp-idf/components/driver/touch_sensor/include -IC:/esp-idf/components/driver/twai/include -IC:/esp-idf/components/driver/uart/include -IC:/esp-idf/components/driver/usb_serial_jtag/include -IC:/esp-idf/components/driver/touch_sensor/esp32/include -IC:/esp-idf/components/esp_pm/include -IC:/esp-idf/components/mbedtls/port/include -IC:/esp-idf/components/mbedtls/mbedtls/include -IC:/esp-idf/components/mbedtls/mbedtls/library -IC:/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/esp-idf/components/esp_app_format/include -IC:/esp-idf/components/bootloader_support/include -IC:/esp-idf/components/bootloader_support/bootloader_flash/include -IC:/esp-idf/components/esp_partition/include -IC:/esp-idf/components/app_update/include -IC:/esp-idf/components/esp_mm/include -IC:/esp-idf/components/spi_flash/include -IC:/esp-idf/components/pthread/include -IC:/esp-idf/components/esp_timer/include -IC:/esp-idf/components/app_trace/include -IC:/esp-idf/components/esp_event/include -IC:/esp-idf/components/nvs_flash/include -IC:/esp-idf/components/esp_phy/include -IC:/esp-idf/components/esp_phy/esp32/include -IC:/esp-idf/components/vfs/include -IC:/esp-idf/components/esp_netif/include -IC:/esp-idf/components/wpa_supplicant/include -IC:/esp-idf/components/wpa_supplicant/port/include -IC:/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/esp-idf/components/esp_coex/include -IC:/esp-idf/components/esp_wifi/include -IC:/esp-idf/components/esp_wifi/wifi_apps/include -IC:/esp-idf/components/bt/include/esp32/include -IC:/esp-idf/components/bt/common/osi/include -IC:/esp-idf/components/bt/common/api/include/api -IC:/esp-idf/components/bt/common/btc/profile/esp/blufi/include -IC:/esp-idf/components/bt/common/btc/profile/esp/include -IC:/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/esp-idf/components/bt/porting/ext/tinycrypt/include -IC:/esp-idf/components/un
ity/include -IC:/esp-idf/components/unity/unity/src -IC:/esp-idf/components/cmock/CMock/src -IC:/esp-idf/components/console -IC:/esp-idf/components/http_parser -IC:/esp-idf/components/esp-tls -IC:/esp-idf/components/esp-tls/esp-tls-crypto -IC:/esp-idf/components/esp_adc/include -IC:/esp-idf/components/esp_adc/interface -IC:/esp-idf/components/esp_adc/esp32/include -IC:/esp-idf/components/esp_adc/deprecated/include -IC:/esp-idf/components/esp_eth/include -IC:/esp-idf/components/esp_gdbstub/include -IC:/esp-idf/components/esp_hid/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/esp_psram/include -IC:/esp-idf/components/esp_lcd/include -IC:/esp-idf/components/esp_lcd/interface -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/esp_local_ctrl/include -IC:/esp-idf/components/espcoredump/include -IC:/esp-idf/components/espcoredump/include/port/xtensa -IC:/esp-idf/components/wear_levelling/include -IC:/esp-idf/components/sdmmc/include -IC:/esp-idf/components/fatfs/diskio -IC:/esp-idf/components/fatfs/vfs -IC:/esp-idf/components/fatfs/src -IC:/esp-idf/components/idf_test/include -IC:/esp-idf/components/idf_test/include/esp32 -IC:/esp-idf/components/ieee802154/include -IC:/esp-idf/components/json/cJSON -IC:/esp-idf/components/mqtt/esp-mqtt/include -IC:/esp-idf/components/perfmon/include -IC:/esp-idf/components/spiffs/include -IC:/esp-idf/components/wifi_provisioning/include -mlongcalls -Wno-frame-address  -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=C:/Users/bob/Documents/flowfiles/testesp32=. -fmacro-prefix-map=C:/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -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 C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c
In file included from C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:40:
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]
    2 | #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
      |  ^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_Delay.c:150,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:567,
                 from C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:49:
C:/esp-idf/components/driver/deprecated/driver/timer.h:16:2: warning: #warning "legacy timer group driver is deprecated, please migrate to driver/gptimer.h" [-Wcpp]
   16 | #warning "legacy timer group driver is deprecated, please migrate to driver/gptimer.h"
      |  ^~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__DisplayString':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:574:12: warning: unused variable 'FCL_DBYTE' [-Wunused-variable]
  574 |   MX_UINT8 FCL_DBYTE;
      |            ^~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:573:12: warning: unused variable 'FCL_COUNT' [-Wunused-variable]
  573 |   MX_UINT8 FCL_COUNT;
      |            ^~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:572:12: warning: unused variable 'FCL_POS_STR' [-Wunused-variable]
  572 |   MX_UINT8 FCL_POS_STR;
      |            ^~~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:571:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
  571 |   MX_UINT8 FCL_IDX = (0x0);
      |            ^~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:570:12: warning: unused variable 'FCL_LEN_STR' [-Wunused-variable]
  570 |   MX_UINT8 FCL_LEN_STR;
      |            ^~~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__ShiftColumns':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:600:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
  600 | 
      |            ^       
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:599:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
  599 |   MX_UINT8 FCL_TEMP;
      |            ^~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__ClearLEDs':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:610:12: warning: unused variable 'FCL_COL_IDX' [-Wunused-variable]
  610 | 
      |            ^          
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__WriteLED':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:627:12: warning: unused variable 'FCL_ROW_IDX' [-Wunused-variable]
  627 | }
      |            ^          
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__WriteColumn':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:667:12: warning: unused variable 'FCL_ROW_IDX' [-Wunused-variable]
  667 | /*=----------------------------------------------------------------------=*\
      |            ^~~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_08901_LEDMatrixHT16K33_Dummy1__Initialise':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:688:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
  688 | 
      |            ^      
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_05451_Glcd_MIAC_Dummy1__PrintString':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:1048:13: warning: unused variable 'FCL_LEN' [-Wunused-variable]
 1048 | /*=----------------------------------------------------------------------=*\
      |             ^~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:1047:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 1047 | 
      |            ^      
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0b9c1_BitmapDrawer1__Display_BMP':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:1842:26: warning: unsigned conversion from 'int' to 'MX_UINT16' {aka 'short unsigned int'} changes value from '67800' to '2264' [-Woverflow]
 1842 | 
      |                          ^    
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:1684:13: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
 1684 |   MX_UINT16 FCL_FILELENGTH;
      |             ^~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:1683:12: warning: unused variable 'FCL_MONO' [-Wunused-variable]
 1683 |   MX_UINT16 FCL_COUNT = (0x0);
      |            ^~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0b9c1_BitmapDrawer1__Display_BMP_Fast':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2416:26: warning: unsigned conversion from 'int' to 'MX_UINT16' {aka 'short unsigned int'} changes value from '67800' to '2264' [-Woverflow]
 2416 |     }
      |                          ^    
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2649:7: error: label 'FCC_Display_BMP_Fast_A' defined but not used [-Werror=unused-label]
 2649 |           if ((FCL_COUNT & 0x01) == 0)
      |       ^   ~~~~~~~~~~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2260:12: warning: unused variable 'FCL_MONO' [-Wunused-variable]
 2260 |   MX_UINT16 FCL_FILEWIDTH;
      |            ^~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_01531_cal_spi1__Master_Enable_CS':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2748:11: warning: unused variable 'FCL_STR' [-Wunused-variable]
 2748 |     #endif
      |           ^      
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_01531_cal_spi1__Prv_TextConsole':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2783:11: warning: unused variable 'FCL_TSTR' [-Wunused-variable]
 2783 |    Use :Parameters for macro Prv_SimShowWaveform:
      |           ^~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_01531_cal_spi1__Master_Disable_CS':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2815:11: warning: unused variable 'FCL_STR' [-Wunused-variable]
 2815 | 
      |           ^      
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__SumWidths':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2918:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
 2918 | 
      |            ^        
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadWidth':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2945:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
 2945 | 
      |            ^         
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:2944:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 2944 |   return (FCR_RETVAL);
      |             ^~~~~~~~~~  
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadASCIILUT':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3000:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3000 | 
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__SumWidths':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3097:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
 3097 | 
      |            ^        
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadWidth':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3124:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
 3124 | 
      |            ^         
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3123:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3123 |   return (FCR_RETVAL);
      |             ^~~~~~~~~~  
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadASCIILUT':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3179:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3179 | 
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__SumWidths':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3276:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
 3276 | 
      |            ^        
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadWidth':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3303:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
 3303 | 
      |            ^         
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3302:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3302 |   return (FCR_RETVAL);
      |             ^~~~~~~~~~  
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadASCIILUT':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3358:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3358 | 
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__ReadWidth':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3503:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
 3503 |       if ((FCL_CHARACTER < 33) || (FCL_CHARACTER >= (33 + 95)))
      |            ^~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3502:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3502 |     #else
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontStat':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3725:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3725 |   }
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontByte':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3778:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
 3778 |   }
      |             ^           
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__FastBPlot':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3859:32: warning: passing argument 1 of 'FC_CAL_SPI_Transaction_1' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3859 |     // } else {
      |                                ^                                   
In file included from C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:546:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_SPI.c:599:61: note: expected 'MX_UINT8 *' {aka 'unsigned char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
  599 | CALFUNCTION(MX_UINT8, FC_CAL_SPI_Transaction_,   (MX_UINT8* Buffer, MX_UINT16 Size, MX_UINT16 Length))
      |                                                   ~~~~~~~~~~^~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:1279:73: note: in definition of macro 'CALFUNCTION'
 1279 | #define CALFUNCTION(type, name, args) type CAL_APPEND(name, MX_SPI_NUM) args
      |                                                                         ^~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:3835:13: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
 3835 | 
      |             ^         
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__FastPlot':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:4365:32: warning: passing argument 1 of 'FC_CAL_SPI_Transaction_1' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4365 |     }
      |                                ^                                   
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_SPI.c:599:61: note: expected 'MX_UINT8 *' {aka 'unsigned char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
  599 | CALFUNCTION(MX_UINT8, FC_CAL_SPI_Transaction_,   (MX_UINT8* Buffer, MX_UINT16 Size, MX_UINT16 Length))
      |                                                   ~~~~~~~~~~^~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:1279:73: note: in definition of macro 'CALFUNCTION'
 1279 | #define CALFUNCTION(type, name, args) type CAL_APPEND(name, MX_SPI_NUM) args
      |                                                                         ^~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:4341:13: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
 4341 |     if ((FCV_0e5b1_gLCD_ST7789V1__PIXELCOUNT == 0) || (FCV_0e5b1_gLCD_ST7789V1__PIXELPOINTER == (240 * 2)))
      |             ^~~~~~~~~~
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__Write':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:4807:12: warning: unused variable 'FCL_CNT' [-Wunused-variable]
 4807 |   // #else
      |            ^      
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c: In function 'FCD_0e5b1_gLCD_ST7789V1__ClearDisplay':
C:/Users/bob/Documents/flowfiles/testesp32/main/esp-project.c:5130:13: warning: unused variable 'FCL_COLOUR' [-Wunused-variable]
 5130 |     while (FCL_X < 240)
      |             ^~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c: At top level:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:876:13: warning: 'FCI_SCOPY' defined but not used [-Wunused-function]
  876 | static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
      |             ^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:815:13: warning: 'FCI_SHEAD' defined but not used [-Wunused-function]
  815 | 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\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
  795 | static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
      |                  ^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
  771 | static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
      |                  ^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
  701 | static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
      |                 ^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
  598 | static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
      |                  ^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:531:18: warning: 'FCI_FLOAT_TO_STRING' defined but not used [-Wunused-function]
  531 | static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
      |                  ^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
  476 | 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\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
  450 | static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
      |             ^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
  424 | static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
      |             ^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:331:10: warning: 'FCI_TOSTRU32' defined but not used [-Wunused-function]
  331 | MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
      |          ^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
  297 | MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
      |          ^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:254:10: warning: 'FCI_TOSTRS32' defined but not used [-Wunused-function]
  254 | MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
      |          ^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
  211 | MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
      |          ^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
  182 | 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\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
  159 | static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
      |                  ^~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
  129 | 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\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
  113 | 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.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory C:\Users\bob\Documents\flowfiles\testesp32\build
Executing "ninja all"...

Build Failed
.

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: ESP32 Bitmap drawer is broken

Post by medelec35 »

Can you post your .fcfx project file, please?
Martin

Chadb
Posts: 63
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Re: ESP32 Bitmap drawer is broken

Post by Chadb »

Sure. This is just a first test of the ESP so nothing fancy. I also noticed that hardware I2C doesn't work. I have to use software. I am running 4 io expanders.

Thanks,
Chad
testesp32.fcfx
(24.76 KiB) Downloaded 325 times
Edit: I tried to attach the .bmp, But it seems to be prohibited from upload. It is just a 150x150 test bmp. It has worked before.

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: ESP32 Bitmap drawer is broken

Post by medelec35 »

Hello.
bmp and other types can be zipped.
Many thanks for the bug report, I can replicate both issues.
If you are happy with the fix, the component modification will be pushed onto the update system ASAP.
If would you like to test before then, browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV10\Components
Replace the existing file with the attached file.
If Flowcode is already open, then you will need to reload your project for the new components to work
If you run any component updates, then the components you added will be overwritten.

The Expander I2C issue requires further investigation
Attachments
BitmapDrawer.fcpx
(17.88 KiB) Downloaded 325 times
Martin

Chadb
Posts: 63
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Re: ESP32 Bitmap drawer is broken

Post by Chadb »

Hi Martin, thanks for getting into this for me. I will give it a try right now.
Is there a possibility to get more than 10 bmps? I think I might need more not sure just yet.

i2c: There seems to be some issue with using over 400k. If you set to hardware and choose 1mb there is some overflow issue. It seems to work at 400k. Might not be an issue as I don't need high speed on the io expanders, just lots of pins. So far in testing I have all 4 of them addressed, and they seem to be behaving correctly.

Also, are there any plans to implement the S3 variants? The wroom 32 is end of life and not recommended for new designs. Edit* just looked, and it seems that there is a (S) version in the paid version. I am using the freebee v10. I have 8 and 9 but haven't bought 10 yet.

Wishlist: There is a pwm LED module to handle led dimming in hardware. This would make a great component.
https://embeddedexplorer.com/esp32-pwm- ... eripheral/

I am going to give the bitmap a shot right now. I will let you know how it goes.

Thank you.

Chad

Chadb
Posts: 63
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Re: ESP32 Bitmap drawer is broken

Post by Chadb »

Ok gave it a try.

It doesn't simulate correctly:
Capture sim.PNG
Capture sim.PNG (25.56 KiB) Viewed 11331 times
This is what it looks like on the display. The dark spots are in the image on the display and are not in the original image. Also, there is something going on the top and bottom of the image. Ironically, the parts that do get simulated. This is using the fast version. The regular is so slow it is useless, 3 seconds to display.

chad
IMG_0881.jpg
IMG_0881.jpg (66.7 KiB) Viewed 11331 times

Chadb
Posts: 63
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Re: ESP32 Bitmap drawer is broken

Post by Chadb »

EDIT* The blotches are only present in the slow version. The fast doesn't have them, but the weird top and bottom of the image are there.

Chadb
Posts: 63
Joined: Fri Dec 18, 2020 1:15 pm
Has thanked: 23 times

Re: ESP32 Bitmap drawer is broken

Post by Chadb »

Hey, any news on the display issue?

mnfisher
Valued Contributor
Posts: 956
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 509 times

Re: ESP32 Bitmap drawer is broken

Post by mnfisher »

The LEDC peripheral looks interesting - have had a play.. Initial testing at viewtopic.php?f=6&t=2237

Martin

Post Reply