I currently have a very big problem with the link between my stm32 project and a static library that can display different barcodes (QRCode, Datamatrix...) Indeed, I need this library to display different barcodes on an Epaper screen.
Unfortunately I can't find a simple source code to implement in my project. I have to go through a static library...
I managed to compile this one for the good architecture of my board but my project displays a storage error. I don't know how to do it anymore! If someone has a solution, I'll be delighted!
The best for me would be to simply use the sources of this library but these sources need to be precompiled to work together...
On the net I had managed to find just a .c and a .h for QRCodes (which works perfectly in my project), but for other types of code I can't find anything (Datamatrix, Code128, Aztec Code...).
Library link: https://github.com/woo-j/zint
Console log :
Building target: Peson_2.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -static -L"C:\libs\zint\build\backend" -specs=nosys.specs -specs=nano.specs -T"../STM32F401RCTx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "Peson_2.elf" @"objects.list" -lzint-static -lm
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: Peson_2.elf section `.rodata' will not fit in region `FLASH'
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 153928 bytes
collect2.exe: error: ld returned 1 exit status
makefile:38: recipe for target 'Peson_2.elf' failed
make: *** [Peson_2.elf] Error 1
14:02:01 Build Finished (took 18s.724ms)