mikroC v.7.0.0.0 BETA

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

mikroC v.7.0.0.0 BETA

#1 Post by rajkovic » 29 Jun 2007 11:42

mikroC v.7.0.0.0 BETA is available for download.

You can download it here.

short list of changes is listed below:
mikroC version history

v.7.0.0.0 BETA (2006-06-27)
----------------------
- Additional chips supported:
P12F609 P18F1230 P18F63J11 P18F67J50 P18F86J55
P12F615 P18F1330 P18F63J90 P18F67J60 P18F86J60
P12HV609 P18F2458 P18F64J11 P18F83J11 P18F87J11
P12HV615 P18F24K20 P18F64J90 P18F83J90 P18F87J50
P16F610 P18F2553 P18F65J11 P18F84J11 P18F87J60
P16F616 P18F25K20 P18F65J50 P18F84J90 P18F96J60
P16F631 P18F2682 P18F65J90 P18F85J11 P18F96J65
P16F677 P18F2685 P18F66J11 P18F85J50 P18F97J60
P16F882 P18F26K20 P18F66J50 P18F85J90
P16HV610 P18F4458 P18F66J55 P18F86J11
P16HV616 P18F44K20 P18F66J60 P18F86J16
P16HV785 P18F46K20 P18F67J11 P18F86J50
- Added pragma for custom contex saving in interrupts (disablecontexsaving)
- Added project level define support (.pld files)
- Added built-in project level defines for MCU and clock
- Added low interrupt support for P18 familly
- Added disassembly debugging support (Simulator and ICD Debugger)
- Added posibilty to org library functions
- Added posibilty to absolute constant agregates (arrays, structs, unions...)
- Fixed USB HID LIbrary bug
- Fixed optimizing if bug
- Fixed Bug related to changing from BANK 1 to BANK 3 (PIC16 familly)
- Fixed Bug routines for floating point comparing (<, >, >=, <=, ==, !=) used in complex expressions
- Fixed Bug related to contex saving and optimization

WORK IN PROGRESS:
- revision of MMC, CFFAT library (adding Format function and ...)
- Ethernet library support for MCUs with built-in ethernet modul
- revision of help
- revision of mlk files
- full library support for new MCUs

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#2 Post by bruno » 30 Jun 2007 13:27

8) 8) 8)
8) :D 8)
8) 8) 8)
- Added project level define support (.pld files)
:D sounds promising ! can you tell us more about it ?
- Added built-in project level defines for MCU and clock
great ! is there a list somewhere ?
- Added disassembly debugging support (Simulator and ICD Debugger)
:shock: didn't find it ?

I'm still a little bit jealous of mP & mC :
:arrow: flags schemes
:arrow: interrupt button in watch window (I follow my turn Janni's suggestion about low priority int trigger)

:?: Do you think it will be possible to fill the gap ?

Thank you :wink: !

Bruno
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

#3 Post by rajkovic » 01 Jul 2007 17:39

bruno wrote:
- Added project level define support (.pld files)
:D sounds promising ! can you tell us more about it ?
pld is new type of file (*.pld) that can be added to project it contains
project level defines it should have form
in any single line it can contain

A = B

and any occurence of A will be replaced with B in all source files
rules are simmilar like for #define but it affects whole project
- Added built-in project level defines for MCU and clock
great ! is there a list somewhere ?
MCU name is defined as 1 and can be used for conditional compilation #ifdef P18F4520 when selected MCU is p18F4520 will be true
FOSC is defined in kHz
- Added disassembly debugging support (Simulator and ICD Debugger)
:shock: didn't find it ?
use CTRL+ALT+D when debugger is started to switch between views


to declare procedure as low priority interrupt procedure must been called

interrupt_low
I'm still a little bit jealous of mP & mC :
:arrow: flags schemes
:arrow: interrupt button in watch window (I follow my turn Janni's suggestion about low priority int trigger)

:?: Do you think it will be possible to fill the gap ?

Thank you :wink: !

Bruno
heh everything is possible we will see


8)

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#4 Post by bruno » 02 Jul 2007 08:45

Hi Ivan, thank you for the answers :D !

Don't hesitate to tell me if I'm insisting too heavily :cry:
but still following the idea to get a way to know as much as possible from the project definition :

:arrow: is it possible to have a constant-named .PLD file generated at build time, with the flags definition ?
for example, if my project is named 'test', the compiler would build a
test_flags.PLD
file with checked flags :

Code: Select all

_CONFIG1L = 0x300000
_CONFIG1H = 0x300001
...
_OSC_HSPLL_1H = 0x00F5
_WDT_OFF_2H = 0x00FE
...
and so on, so that we can do in program :

Code: Select all

#if _WDT_OFF_2H
... // do your stuff here
#endif
rajkovic wrote:heh everything is possible we will see
8)
:P I like to hear that !
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

#5 Post by rajkovic » 13 Jul 2007 07:58

bruno wrote:
I'm still a little bit jealous of mP & mC :
:arrow: flags schemes
:arrow: interrupt button in watch window (I follow my turn Janni's suggestion about low priority int trigger)

:?: Do you think it will be possible to fill the gap ?

Bruno

we have added this features to mikroC also. We will probably upload new beta soon.

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#6 Post by bruno » 13 Jul 2007 09:14

Code: Select all

                    #######
                ###############
              ###################
            ########        #######
          #####                  ###
          ###                      ##
          ##                        #
          #                         #
          #            #            #
          ###          #          ##
           #############        #####
             ###########        #####
                ########
          #              #
          ################
          ################
          ################
                      ##
                       ##
                     #####
                    ######
                    #####

               #####
            ###########
           ##############
          ##     #     ##
          #      #       #
          #      #       #
          #      #      ##
           #     ########
            ##   ######
                 ###
             ###
           #######    ##
          #########  ####
          ##     ##   # ##
          #      ##      #
          ##     #      ##
          ###############
          ##############
          #

                         #
             #################
          ####################
          ####################
          ##             #
          ##
            #











           ##               ######
          ####   ####################
          ####      ################
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

Re: mikroC v.7.0.0.0 BETA

#7 Post by bruno » 23 Jul 2007 15:00

rajkovic wrote:- Added posibilty to absolute constant agregates (arrays, structs, unions...)
Ivan, can you show us an example please ? I can't manage to get it work, neither with absolute nor with org :oops:

Thanks !

Edit :

Found by myself

Code: Select all

const   char    *myvar = { ... } org  0x410  ; // bad try
const   char    *myvar org  0x410 = { ... } ; // is good
correct ?
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

Post Reply

Return to “mikroC Beta testing”