vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
403 stars 183 forks source link

Fix srec issue #164

Closed schneidersoft closed 1 year ago

schneidersoft commented 1 year ago

Fixes #162 as well as some other older issues

spth commented 1 year ago

I get the same error as @konstz43:

srec.c: In function ‘load_srec’:
srec.c:92:38: error: ‘addrmin’ undeclared (first use in this function); did you mean ‘addrmax’?
   92 |         const unsigned int addrmax = addrmin + data_len;
      |                                      ^~~~~~~
      |                                      addrmax