Activity for deves

  • deves deves posted a comment on ticket #3603

    This is very good news. But I'm a newbie and I've never patched or compiled from sources before. If there was a non-public nightbuild, I would test it. Some time ago I did a lot of searching for alternative code notations to get the shortest result. I fought for every byte. Much improved in 4.3. I am glad that sdcc is so intensely alive. Thanks.

  • deves deves posted a comment on ticket #3603

    How to get the compilation's typecasting to work properly. ((uint8_t)address) = ((uint8_t)(&data));

  • deves deves posted a comment on ticket #3603

    I have msg main.c main.c:19: error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/stm8/peep.c' line number '93' : readint() got non-integer argument: Contact Author with source code iTemp1+0 make: *** [Makefile:63: build/main.rel] Chyba 1

  • deves deves posted a comment on ticket #3603

    I use System: Kernel: 6.2.16-060216-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy

  • deves deves posted a comment on ticket #3603

    To stm8s.h add #define disableInterrupts() {__asm sim __endasm;} #define enableInterrupts() {__asm rim __endasm;} #define FLASH_IAPSR *(volatile uint8_t*)0x505F #define FLASH_IAPSR_DUL ((uint8_t)0x08) #define FLASH_IAPSR_EOP ((uint8_t)0x04) #define FLASH_PUKR_PUK ((uint8_t)0xFF) #define FLASH_DUKR_DUK ((uint8_t)0xFF) In main.c all "->" change to "_".

  • deves deves posted a comment on ticket #3603

    This is a regular stm8s.h with a patch for sdcc and I don't know how it is with copyright.

  • deves deves created ticket #3603

    stm8 and 4.3.0 #14110 (Linux)

  • deves deves posted a comment on discussion Help

    Oops, I'm a newbie, I can't do these things.

  • deves deves modified a comment on discussion Help

    CFLAGS= -lstm8 -mstm8 --opt-code-size --std-sdcc99 --max-allocs-per-node 10000 I just tried CFLAGS= -lstm8 -mstm8 --opt-code-size --std-sdcc99 --out-fmt-elf --model-medium --max-allocs-per-node 10000 and no change

  • deves deves posted a comment on discussion Help

    CFLAGS= -lstm8 -mstm8 --opt-code-size --std-sdcc99 --max-allocs-per-node 10000

  • deves deves posted a comment on discussion Help

    I updated from 4.0 to 4.3.0 #14110. Saving code space is excellent, but I have a function for writing to the eeprom void EEPROMdata8(uint16_t address, uint8_t data) { disableInterrupts(); EEPROMunlock(); ((uint8_t)(uint16_t)address) = ((uint8_t*)(&(uint8_t)data)); EEPROMlock(); enableInterrupts(); } and now Make will display ?ASlink-Warning-Undefined Global 'iTemp1' referenced by module 'eeprom' In eeprom.lst is now 137; eeprom.c: 51: ((uint8_t)(uint16_t)address) = ((uint8_t)(&(uint8_t)data)); 000052...

1