Version numbers, doxygen files, and readme updated.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1066 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2009-07-18 12:19:47 +00:00
parent 292b65d6ec
commit 5ed3eb8eb9
6 changed files with 25 additions and 11 deletions

View File

@ -61,7 +61,8 @@ include ../../test/test.mk
# C sources that can be compiled in ARM or THUMB mode depending on the global # C sources that can be compiled in ARM or THUMB mode depending on the global
# setting. # setting.
CSRC = ../../ports/ARMCM3/chcore.c \ CSRC = ../../ports/ARMCM3/cmsis/core_cm3.c \
../../ports/ARMCM3/chcore.c \
../../ports/ARMCM3/nvic.c \ ../../ports/ARMCM3/nvic.c \
../../ports/ARMCM3-STM32F103/stm32_serial.c \ ../../ports/ARMCM3-STM32F103/stm32_serial.c \
../../ports/ARMCM3-STM32F103/pal_lld.c \ ../../ports/ARMCM3-STM32F103/pal_lld.c \
@ -102,6 +103,7 @@ ASMSRC = ../../ports/ARMCM3/crt0.s \
INCDIR = $(KERNINC) $(TESTINC) \ INCDIR = $(KERNINC) $(TESTINC) \
../../src/lib \ ../../src/lib \
../../ports/ARMCM3 \ ../../ports/ARMCM3 \
../../ports/ARMCM3/cmsis \
../../ports/ARMCM3-STM32F103 \ ../../ports/ARMCM3-STM32F103 \
./stm32lib/inc ./stm32lib/inc

View File

@ -24,6 +24,8 @@
#include "board.h" #include "board.h"
#include "stm32_serial.h" #include "stm32_serial.h"
#define AIRCR_VECTKEY 0x05FA0000
/* /*
* Digital I/O ports static configuration as defined in @p board.h. * Digital I/O ports static configuration as defined in @p board.h.
*/ */
@ -86,8 +88,9 @@ void hwinit1(void) {
/* /*
* NVIC/SCB initialization. * NVIC/SCB initialization.
* Note: PRIGROUP 4:0 (4:4).
*/ */
SCB_AIRCR = AIRCR_VECTKEY | AIRCR_PRIGROUP(0x3); // PRIGROUP 4:0 (4:4). SCB->AIRCR = AIRCR_VECTKEY | SCB_AIRCR_PRIGROUP_0 | SCB_AIRCR_PRIGROUP_1;
NVICSetSystemHandlerPriority(HANDLER_SVCALL, PRIORITY_SVCALL); NVICSetSystemHandlerPriority(HANDLER_SVCALL, PRIORITY_SVCALL);
NVICSetSystemHandlerPriority(HANDLER_SYSTICK, PRIORITY_SYSTICK); NVICSetSystemHandlerPriority(HANDLER_SYSTICK, PRIORITY_SYSTICK);
NVICSetSystemHandlerPriority(HANDLER_PENDSV, PRIORITY_PENDSV); NVICSetSystemHandlerPriority(HANDLER_PENDSV, PRIORITY_PENDSV);
@ -95,9 +98,9 @@ void hwinit1(void) {
/* /*
* SysTick initialization. * SysTick initialization.
*/ */
ST_RVR = SYSCLK / (8000000 / CH_FREQUENCY) - 1; SysTick->LOAD = SYSCLK / (8000000 / CH_FREQUENCY) - 1;
ST_CVR = 0; SysTick->VAL = 0;
ST_CSR = ENABLE_ON_BITS | TICKINT_ENABLED_BITS | CLKSOURCE_EXT_BITS; SysTick->CTRL = SysTick_CTRL_ENABLE | SysTick_CTRL_TICKINT;
/* /*
* Other subsystems initialization. * Other subsystems initialization.

View File

@ -24,10 +24,10 @@
* Tricks required to make the TRUE/FALSE declaration inside the library * Tricks required to make the TRUE/FALSE declaration inside the library
* compatible. * compatible.
*/ */
#ifndef __STM32F10x_MAP_H #ifndef __STM32F10x_H
#undef FALSE #undef FALSE
#undef TRUE #undef TRUE
#include "stm32f10x_map.h" #include <stm32f10x.h>
#define FALSE 0 #define FALSE 0
#define TRUE (!FALSE) #define TRUE (!FALSE)
#endif #endif

View File

@ -31,7 +31,7 @@ PROJECT_NAME = ChibiOS/RT
# This could be handy for archiving the generated documentation or # This could be handy for archiving the generated documentation or
# if some version control system is used. # if some version control system is used.
PROJECT_NUMBER = 1.3.1 PROJECT_NUMBER = 1.3.2
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put. # base path where the generated documentation will be put.
@ -644,7 +644,8 @@ RECURSIVE = NO
# excluded from the INPUT source files. This way you can easily exclude a # excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag. # subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = EXCLUDE = ../ports/ARMCM3/cmsis \
../ports/ARMCM3-STM32F103/stm32f10x.h
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or # The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded # directories that are symbolic links (a Unix filesystem feature) are excluded

View File

@ -63,6 +63,14 @@ GNU-Linux-GCC - ChibiOS/RT simulator for x86 Linux systems, it is
*** Releases *** *** Releases ***
***************************************************************************** *****************************************************************************
*** 1.3.2 ***
- NEW: Added standard CMSIS 1.2.0 support to the Cortex-M3 port. The kernel
does not use it (the OS uses its own optimized code) but the functionality
is available to the applications. The CMSIS files were patched in order
to correct some warnings.
- NEW: Updated the STM32 port to use the newest ST firmware library files
(version 3.1.0).
*** 1.3.1 *** *** 1.3.1 ***
- FIX: Removed mention of an obsolete option from the documentation (bug - FIX: Removed mention of an obsolete option from the documentation (bug
2799507). 2799507).

View File

@ -35,7 +35,7 @@
/** /**
* Kernel version string. * Kernel version string.
*/ */
#define CH_KERNEL_VERSION "1.3.1unstable" #define CH_KERNEL_VERSION "1.3.2unstable"
/** /**
* Kernel version major number. * Kernel version major number.
@ -50,7 +50,7 @@
/** /**
* Kernel version patch number. * Kernel version patch number.
*/ */
#define CH_KERNEL_PATCH 1 #define CH_KERNEL_PATCH 2
/* /*
* Common values. * Common values.