cowkerop.blogg.se

Codevisionavr 1.25
Codevisionavr 1.25








#Codevisionavr 1.25 code#

Improved status reporting during programming for the AVRISP MkII programmerįixed: the declaration for the gets function was missing from the stdio.h header file for the MEDIUM and LARGE memory modelsįixed a bug in the common block packing optimizer which in very rare cases could produce assembly errors when optimization for Size was selected in the project configurationįixed a bug in the peephole optimizer which produced incorrect code if the result of a hardware MUL instruction was used as the second or third operand in the ? : operatorįixed: the CodeWizardAVR produced incorrect values for the ADC_VREF_TYPE macro for internal 2.56V voltage reference with or without external bypass capacitor for the ATtiny25, ATtiny45 and ATtiny85 chipsĪdded support for the Atmel AVRISP MkII USB programmer Improved reliability when programming chips, running at clock frequencies above 12MHz, with Atmel STK500, AVRISP and AVRISP MkII Newly created projects, without using the CodeWizardAVR, now default to the Maximal optimization levelįixed: the AVRISP MkII programmer failed to operate if the CodeVisionAVR project path contained spaces The Reset Chip button in the Programmer can now also be used with STK500, AVRISP, AVRISP MkII and AVR910 programmersįixed: the arrays of pointers to functions were incorectly indexed in the MEDIUM memory model (the pointer to function size was considered to be 4 bytes, as for the LARGE memory model, instead of 2 bytes) The setting from ProjectConfigure|C Compiler|Code Generation|char is unsigned was used insteadįixed: the scanf and sscanf functions (stdio.h) didn抰 parse correctly the ?:? characterįixed: in the MEDIUM memory model only, passing a pointer to a function as a function argument resulted in a data stack unbalanceįixed: conversion of floating point numbers in the 2147483647.4294967295 range to unsigned long now produces correct resultsįixed: the command line for the user programs executed after Make and for those included in the Tools menu, can now contain the ? characterĪdded the definition for the PCMSK3 register in the header files for the ATmega164, ATmega324 and ATmega644 chipsĪdded the option to execute an user specified program before the make process (Project|Configure|Before Make menu)Īdded the option, in the Settings|Editor menu, to discard trailing spaces and tabs when loading or saving files in the editorĪdded support in the CodeWizardAVR for ATmega1280, ATmega1281, ATmega2560, ATmega2561 and ATmega640 chipsįixed: the CodeWizardAVR generated incorrect settings for the EICRA register, for the AT90USB chips, when using external edge triggered interrupts 0 to 3 The ftoa, ftoe (stdlib.h), sprintf and printf (stdio.h) functions now display floating point numbers with 6 decimals instead of 5įixed: using #pragma uchar+ or #pragma uchar- in the source didn抰 affect the 8 bit enumerations. Improved the floating point library for multiplication and division for all AVR chip typesįloating point multiplication now uses the hardware multiplier if present in the chip Added support for the ATtiny 261, ATtiny461 and ATtiny861 chips in the compiler, CodeWizardAVR and programmer








Codevisionavr 1.25