Jump to content

Recommended Posts

Posted

There is a new skeleton release available in the http://www.ucapps.de/mios_download.html section .

Changes:

- enhancement of MIOS_LCD_PrintCString: now it can also print strings which are located in RAM

  The appr. function in mios_wrapper.asm and the declaration in cmios.h has been changed ("code" attribute removed)

- updated latest MIOS header files

- mkmk.pl enhancements (based on discussions with Ditier): source code can be located in subdirectories, and libraries can be created

SDCC compatibility:

I've tested my own applications with 2.7.0, and they are working fine. Therefore I recomment the usage of this SDCC release instead of 2.5.0 (reminder: 2.6.0 was too buggy)

Migration:

Since there are no bugfixes, a migration of your application is only required if you want to use the new features. However, due to consistency reasons it makes sense to release application updates with the new wrapper in future.

Following steps are required:

1) copy the files of the tool directory into the tool directory of your application

2) copy the files of the mios_wrapper directory into the mios_wrapper directory of your application.

   Beware: unfortunately mios_tables.inc is still located there (could change in future) - don't overwrite this file, or make a backup and copy over your customized version

3) copy the new cmios.h into your application directory

If you've added libsdcc.lib to your project, and want to use SDCC 2.7.0 in future, please update this library as well.

A precompiled version is available at http://www.ucapps.de/mios/mios_libsdcc_v2_7_0.zip

Creating a library

Nice usecase for the new mkmk.pl feature is libsdcc, which has to be rebuilt for MIOS due to the changed FSR pointer mapping.

Have a look into the README.txt and MAKEFILE.SPEC file of the library package mentioned above.

Best Regards, Thorsten.

Posted

Nice one TK :)

I've been using sdcc 2.7.0 also, and have found it to be very reliable (except some occasional bugs in nightly builds which is to be expected I guess)

Posted

An update is now available (-> sdcc_skeleton_v1_9c) with a minor change in the makefile generator (GPASM_DEFINES variable added to pass parameters to gpasm)

Migration

copy tools/mkmk.pl into your project.

Best Regards, Thorsten.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...