2.4.x stable branch

Stable and Unstable release events. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

2.4.x stable branch

Postby Giovanni » Sun Feb 05, 2012 10:28 am

Hi,

ChibiOS/RT 2.4.0 has been released and it is even Harder, Better, Faster, Stronger.

See release notes:

Code: Select all

*** 2.4.0 ***
- NEW: Implemented new makefile system for ARM GCC ports, now objects,
  listings and output files are generated into a "build" directory and not
  together with sources, also implemented a simplified output log mode.
  Now makefiles and load script files are requirements and trigger a
  rebuild if touched.
- NEW: Improved Cortex-Mx port, now the Cortex-M4 are Cortex-M4F are also
  supported. Improved startup files.
- NEW: Added a new hook THREAD_CONTEXT_SWITCH_HOOK() that allows to insert
  code just before a context switch. For example this hook could be used
  in oder to implement advanced power management schemes.
- NEW: Improved Event Flags subsystems in the kernel.
- NEW: Added a macro THD_STATE_NAMES to chthreads.h. This macro is an
  initializer for string arrays containing thread state names.
- NEW: Added a new debug option CH_DBG_SYSTEM_STATE_CHECK that ensures the
  correct API call protocol. If an API is invoked out of the correct context
  then the kernel panics with a debug message.
- NEW: Added the new CMSIS 2.1 headers, now CMSIS resides into a shared
  location: ./os/ports/common/ARMCMx/CMSIS. Old CMSIS files have been
  removed from the various platforms.
- NEW: Removed all the ch.ld files from the ARMCMx demos, now the makefiles
  point to common ld files under the various ports. Less duplication and
  easier maintenance.
- NEW: Improved stack checking and reorganized memory map for the Cortex-Mx
  demos. Now stacks are allocated at the start of the RAM, an overflow of the
  exception stack now triggers an exception (it could go unnoticed before).
  The process stack is organized to be checked on context switch like other
  threads. Now all threads have an explicit stack boundary pointer.
- NEW: Now the port layer exports info regarding the compiler and the port
  options. The info are printed into the test reports. Date and time also
  added.
- NEW: Added initialization of the NVIC VTOR register to all Cortex-Mx (v7M)
  ports. Also added a port option CORTEX_VTOR_INIT to enforce a different
  default value into the register.
- NEW: Added "IRQ_STORM" test applications to those platforms supporting
  ISR preemption.
- NEW: Added a chprintf() function to ./os/various, it can print on any
  BaseChannel interface.
- NEW: Improved the mini shell, enhanced info command, optimizations and
  removed the shellPrint() and shellPrintLine() functions, now it uses
  chprintf() for output.
- NEW: USB driver model and USB implementation for STM32F1xx and STM32L1xx.
- NEW: USB CDC abstract driver.
- NEW: New driver models EXT, GPT, I2C, ICU, RTC, SDC, TM.
- NEW: Improved PWM and MAC driver models.
- NEW: Added support for STM32L1xx, STM32F2xx and STM32F4xx.
- NEW: Updated the STM32F1xx header file to the latest version 3.5.0 and fixed
  it in order to correct several bugs related to the XL family.
- NEW: Added an unified registers file for STM32: stm32.h. This file includes
  the appropriate vendor files then adds its own additional definitions.
- NEW: Added TIM8 support to the STM32 GPT, ICU and PWM drivers.
- NEW: DMA sharing in the STM32 HAL.
- NEW: ADC specific drivers for STM32L1xx, STM32F2xx and STM32F4xx.
- NEW: EXT driver AT91SAM7x and STM32(all).
- NEW: PAL driver for AVR.
- NEW: GPT driver for LPC11xx, LPC13xx and STM32(all).
- NEW: I2C driver for STM32(all).
- NEW: ICU driver for STM32(all).
- NEW: RTC driver for STM32F1xx.
- NEW: SDC driver for STM32F1xx.
- NEW: Added handling of USART6 to the STM32 serial driver.
- NEW: Added demos for the ST STM32F4-Discovery and STM32L1-Discovery kits.
- NEW: Updated AVR demos to use the new PAL driver.
- NEW: Now an error is generated at compile time when trying to enable the
  options CH_DBG_ENABLE_STACK_CHECK on ports that do not support it.
- NEW: Added a kernel-only Cortex-Mx demo as reference project for users not
  interested in the HAL but just want to use the ChibiOS/RT kernel.
  The demo is named ARMCM3-GENERIC-KERNEL and is defaulted to the STM32, in
  order to use it on other families or on the ARM Cortex-M0 just change the
  inclusion paths in the makefile.
- NEW: Integrated new FatFs version 0.8b.
- NEW: lwIP 1.4.0 has been integrated, this new version does not require
  custom hooks into the Thread structure and is thus much lighter.
- CHANGE: Now the callback associated to input queues is invoked before
  reading each character. Previously it was invoked only before going
  to sleep into the THD_STATE_WTQUEUE state.
- CHANGE: Removed the option CH_USE_NESTED_LOCK, lwIP no more requires it and
  it would have conflicted with CH_DBG_SYSTEM_STATE_CHECK which is far more
  useful.
- CHANGE: Renamed the scheduler functions chSchIsRescRequiredExI() to
  chSchIsPreemptionRequired(), chSchDoRescheduleI() to chSchDoReschedule(),
  chSysSwitchI() to chSysSwitch(). All those functions were special cases
  and not regular I-class APIs.
- CHANGE: Renamed the macros IDLE_THREAD_STACK_SIZE and INT_REQUIRED_STACK
  to PORT_IDLE_THREAD_STACK_SIZE and PORT_INT_REQUIRED_STACK for consistency.
- CHANGE: Removed the "old" Cortex-M3 port from the code, the current port
  has no drawbacks and the old port is now just a maintenance cost.
- CHANGE: Removed the CH_CURRP_REGISTER_CACHE option, it is GCC-specific so
  it does not belong to the kernel options. The feature will be eventually
  reimplemented as a port-specific option.
- CHANGE: Renamed the demo ARMCM3-STM32F107-GCC in ARMCM3-STM32F107 and added
  IAR and Keil projects.
- CHANGE: Now the ARMCM3-STM32F107 demo targets the board Olimex STM32-P107
  as default.
- CHANGE: Removed all the prefixes from the structure/union field names
  in the HAL subsystem.
- CHANGE: Updated the documentation to use Doxygen 1.7.4 which produces a much
  more readable output. Also modified the documentation layout to put functions
  and variables ahead of everything else in the group pages.
  Doxygen version below 1.7.4 cannot be used anymore because differences in
  templates. Note that now there are two Doxygen projects, one for generating
  the CHM file the other for plain HTML.


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sat May 12, 2012 11:22 am

Hi,

ChibiOS/RT 2.4.1 has been released. This is a maintenance release fixing all known bugs, some new features have been backported from the development version too:

Code: Select all

*** 2.4.1 ***
- FIX: Fixed inconsistent LPCxxx Internal RC oscillator names (bug 3524138).
- FIX: Fixed wrong frequency limit checks vs VDD in STM32F2xx HAL (bug
  3524094).
- FIX: Fixed STM32 I2C1 wrong alternate TX DMA setting (bug 3524088).
- FIX: Fixed three testhal builds fail (bug 3523322).
- FIX: Fixed MAC driver functions with invalid name (bug 3522808).
- FIX: Fixed code coverage crashes with Linux/gcc-4.4.5 (bug 3522301).
- FIX: Fixed macro dmaWaitCompletion() fails to compile in STM32 HAL (bug
  3519202).
- FIX: Fixed ARM addresses generated in vectors table (bug 3519037).
- FIX: Fixed missing serial driver functionality for SAM7S64, SAM7S128 and
  SAM7S512 (bug 3517648).
- FIX: Fixed a few more spelling fixes (bug 3515531).
- FIX: Fixed spurious ) char in STM32 serial_lld.h (bug 3514138).
- FIX: Fixed problem with FPU initialization in GCC Cortex-M4 port (bug
  3513897).
- FIX: Spelling fixes (bug 3510812).
- FIX: Fixed STM32 ICUD8 not functional because wrong initialization (bug
  3508758).
- FIX: Fixed chMBFetchI does not decrement mb_fullsem (bug 3504450).
- FIX: Fixed STM32 PLLI2S initialization error (bug 3503490).
- FIX: Fixed USART3 not working on STM32F2/F4 UART driver (bug 3496981).
- FIX: Fixed stack misalignment on Posix-MacOSX (bug 3495487).
- FIX: Fixed STM8S HSI clock initialization error (bug 3489727).
- FIX: Fixed MMC over SPI driver performs an unnecessary SPI read (bug
  3486930).
- FIX: Fixed Realtime counter initialization in STM32 HALs (bug 3485500).
- FIX: Fixed PPC port broken when CH_DBG_SYSTEM_STATE_CHECK is activated
  (bug 3485667).
- FIX: Fixed missing PLL3 check in STM32F107 HAL (bug 3485278).
- FIX: Fixed ADC maximum frequency limit in STM32F2/F4 ADC drivers (bug
  3484947).
- FIX: Fixed various minor documentation errors (bug 3484942).
- NEW: STM32 Ethernet driver completed. Added STM32F107 and STM32F407
  lwIP demos.
- NEW: lwIP related code is not centralized into a single place, no need to
  duplicate the code in each application or demo.
- NEW: Updated the MSP port to work with the latest MSPGCC compiler (4.6.3
  LTS 20120406 unpatched), now the old MSPGCC 3.2.3 is no more supported.
- CHANGE: The PORT_INT_REQUIRED_STACK parameter for the Cortex-Mx ports has
  been increased to 32 from 16 because the stack frame sizes are increased
  when compiling with optimizations disabled, which is common during
  debugging. In order to save RAM trim back this value when compiling with
  optimizations enabled.
- CHANGE: Renamed Ethernet driver in AT91 HAL ETHD1.


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sat Jul 28, 2012 2:46 pm

Hi,

ChibiOS/RT 2.4.2 has been released. This is a maintenance release fixing all known bugs, mainly in the STM32 and AVR HALs. This update also contains several enhancements back-ported from the development branch:

Code: Select all

*** 2.4.2 ***
- FIX: Fixed problem in STM32 DMA1 stream1 IRQ handler (bug 3538468).
- FIX: Fixed wrong priority assigned to TIM8 in STM32 ICU driver (bug 3536950).
- FIX: Fixed TIM8 not working in STM32 GPT driver (bug 3536523).
- FIX: Fixed timer overflow not working in STM32 ICU driver for TIM1/TIM8 (bug
  3536522).
- FIX: Fixed wrong DMA channels on USART2 in STM32F10X_MD_VL devices (bug
  3536070).
- FIX: Fixed issue with DMA channel init in STM32 ADC and SPI drivers (bug
  3535938).
- FIX: Fixed unreliable PHY initialization (bug 3534819).
- FIX: Fixed wrong ADC callback buffer pointer in ADC driver (bug 3534767).
- FIX: Fixed lwIP-related files missing from version 2.4.1 (bug 3533887).
- FIX: Fixed problem with arm-v6m and state checker (bug 3532591).
- FIX: Fixed wrong MAC divider setting in STM32 MAC driver (bug 3531290).
- FIX: Fixed wrong MCO1 divider in STM32F2/F4 HAL (bug 3531289).
- FIX: Fixed missing "break" in AVR PAL driver (bug 3530924).
- FIX: Fixed timeout related race condition in STM32 I2C driver (bug 3530043).
- FIX: Fixed wrong macro check in STM32 MAC driver (bug 3527179).
- FIX: Fixed error in STM32L-Discovery board.h file (bug 3526918).
- NEW: Validated CAN driver on STM32F2/F4.
- Small fixes to the STM32F4 board files.
- Various documentation fixes and improvements.


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sun Dec 23, 2012 5:28 pm

Hi,

ChibiOS/RT 2.4.3 has been released. This is a maintenance release fixing all known bugs, mainly in the STM32 HAL. This update also contains several enhancements back-ported from the development branch, see the readme file.

Code: Select all

*** 2.4.3 ***
- FIX: Fixed warning in STM32 ICU driver using IAR compiler (bug 3598177).
- FIX: Fixed typo in chOQGetEmptyI() macro (bug 3595910).
- FIX: Fixed possible false detect of loaded prescaler in RTCv1 driver (bug
  3595489).
- FIX: Fixed unneeded RTC initialization when HAL_USE_RTC disabled
  (bug 3594620).
- FIX: Fixed compilation issue with HAL_USE_RTC disabled (bug 3594083).
- FIX: Fixed wasting of BKP registers in RTCv1 driver (bug 3594005).
- FIX: Fixed potential problem with RTC_CRL_RSF bit (bug 3593972).
- FIX: Fixed STM32F1x rtc_lld_init not functional (bug 3592817).
- FIX: Fixed DMA reconfiguration problem in STM32 SPI driver (bug 3592809).
- FIX: Fixed STM32 UART driver redundant initialization (bug 3592764).
- FIX: Fixed wrong stack initializations in GCC STM32L1xx port files (bug
  3591321).
- FIX: Fixed different redefinition for __main_stack_end__ symbol (bug
  3591317).
- FIX: Fixed errors in STM32F0xx UART driver (bug 3589412).
- FIX: Fixed MSP430 port_switch code for MSPGCC issue (bug 3587633).
- FIX: Fixed workaround for errata in STM32F4-A devices (bug 3586425).
- FIX: Fixed error in palWritePad() macro (bug 3586230).
- FIX: Fixed missing ; in testmbox.c (bug 3585979).
- FIX: Fixed STM32_P407: implement mmc_lld_is_card_inserted (bug 3581929).
- FIX: Fixed double chSysInit() call in MSP430F1611 demo (bug 3581304).
- FIX: Fixed bug in abstract file interface (bug 3579660).
- FIX: Fixed various typos and wrong limits in the STM32F4/F2 HAL driver
  (bug 3578944).
- FIX: Fixed ARM CMx crt0.c fails at low optimization levels (bug 3578927).
- FIX: Fixed compilation issue in syscalls.c (bug 3576771).
- FIX: Fixed superfluous pack #defines cause nasty warning (bug 3575662).
- FIX: Fixed mac.c won't compile due to misplaced declarations (bug 3575657).
- FIX: Fixed STM32F4 ADC prescaler incorrectly initialized (bug 3575297).
- FIX: Fixed RCC_APB2ENR_IOPEEN undeclared on STM32F10X_LD_VL devices (bug
  3575098).
- FIX: Fixed optimization disable (-O0) breaks kernel in CortexM/RVCT (bug
  3573123).
- FIX: Fixed misplaced declarations in lwip_bindings sys_arch.c (bug 3571053).
- FIX: Fixed FatFS won't compile with _FS_REENTRANT enabled (bug 3570135).
- FIX: Fixed mmc_spi.c won't compile due to misplaced declaration (bug
  3570035).
- FIX: Fixed GPIO glitch during PAL initialization (bug 3569347).
- FIX: Fixed STM32F1x rtc_lld_init glitches rtc on hard reset (bug 3567597).
- FIX: Fixed STM8L, cosmic compiler: c_lreg not saved (bug 3566342).
- FIX: Fixed anomaly in USB enumeration (bug 3565325).
- FIX: Fixed problem with lwIP statistics (bug 3564134).
- FIX: Fixed packed structures macros not functional in IAR and RVCT port
  (bug 3561279).
- FIX: Fixed Problem in FatFs demos related to LFN (bug 3560980).
- NEW: Added memory signature record to the registry in order to simplify
  the implementation of ad-hoc debuggers.
- NEW: I2C workaround allowing to read single byte on all STM32 platforms
  except STM32F1xx.
- NEW: Small adjustment in chcore.h files under ./os/ports/GCC required by a
  difference in GCC 4.7.x.


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sat Jul 27, 2013 9:50 am

Hello,

ChibiOS/RT 2.4.4 has been released.

This is a maintenance release for the 2.4.x branch, all known defects have been fixed.

Code: Select all

*** 2.4.4 ***
- FIX: Fixed FSMC reset on STM32F4xx (bug #420).
- FIX: Fixed missing casts in time-conversion macros (bug #418).
- FIX: Fixed PLL2 activation condition is wrong in STM32F107 HAL (bug #417).
- FIX: Fixed MS2ST() and US2ST() macros error (bug #415).
- FIX: Fixed STM32_PLLI2SCLKOUT miscalculated (bug #413).
- FIX: Fixed STM32 wrong peripherals reset procedure (bug #409).
- FIX: Fixed wrong Keil project in ARMCM3-STM32F107 demo (bug #408).
- FIX: Fixed wrong macro in PWM driver (bug #407).
- FIX: Fixed USB driver possible deadlock under certain configurations (bug
  #406).
- FIX: Fixed USB driver cannot be stopped (bug #405).
- FIX: Fixed fixed I2C malfunction after fixing bug 3607518 (bug 3607549).
- FIX: Fixed spurious interrupt disabling an STM32 DMA stream (bug 3607518).
- FIX: Fixed start of any ADC disables VREF and VBAT (bug 3607467).
- FIX: Fixed CAN_USE_SLEEP_MODE compilation problem (bug 3606616).
- FIX: Fixed misplaced brace in icu_lld.c (bug 3605832).
- FIX: Fixed bug prevents calling adcStartConversionI() within ISR (bug
  3605053).
- FIX: Fixed typo in platforms/STM32/can_lld.c (bug 3604657).
- FIX: Fixed duplicated code in hal_lld.h (STM32F4xx) (bug 3602544).
- FIX: Fixed compile errors in Posix-GCC demo (bug 3601621).
- FIX: Fixed state checker error in MSP430 port (bug 3601460).
- FIX: Fixed wrong assertion in UART driver (bug 3600789).
- FIX: Fixed small bug in shell argument parsing code in shell_thread (bug
  3599328).
- FIX: Fixed wrong condition in checksum offload of STM32 MAC driver (bug
  3598720).
- FIX: Fixed error in STM32 MAC driver degrades performance (bug 3598719).
- NEW: Updated STM32L1xx header to the latest version.


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sat Aug 24, 2013 1:50 pm

Hi,

Maintenance release 2.4.5, some bugs and regressions fixed.

Code: Select all

*** 2.4.5 ***
- FIX: Fixed PAL driver errors (bug #429).
- FIX: Fixed USB HAL driver compile error (bug #428).
- FIX: Fixed PAL driver documentation error (bug #427).
- FIX: Fixed wrong RTC macro names in STM32L1xx HAL (bug #422).


Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: 2.4.x stable branch

Postby Giovanni » Sun Apr 27, 2014 1:12 pm

Hi,

Maintenance release 2.4.6. This is the last maintenance release for the 2.4.x branch, all known defects have been fixed.

Code: Select all

*** 2.4.6 ***
- FIX: Fixed spurious callback in ICU driver (bug #461).
- FIX: Fixed wrong vector names for STM32Lxx.
- FIX: Fixed wrong MCO2 check in STM32F4xx HAL driver (bug #447).
- FIX: Fixed spurious half buffer callback in STM32 ADC drivers (bug #446).
- FIX: Fixed callbacks changes to the ADC high level driver (bug #445).
- FIX: Fixed wrong CORTEX_PRIORITY_PENDSV value (bug #443).
- FIX: Fixed lost incoming characters in STM32 USARTv1 driver (bug #442).
- FIX: Fixed race condition in STM32 DMA interrupt (bug #439).
- FIX: Fixed possible unalignment in GCC Cortex-M scatter files (bug #430).


Giovanni


Return to “Releases”

Who is online

Users browsing this forum: No registered users and 6 guests