parent
7d30cf8b88
commit
e8e4bd7213
|
@ -1,142 +1,142 @@
|
|||
rem
|
||||
rem This script would compile firmware, dev console and win32 simulator into a single bundle file
|
||||
rem This script depends on Cygwin tools: zip
|
||||
rem
|
||||
|
||||
echo Hello rusEfi build full bundle
|
||||
|
||||
java -version
|
||||
|
||||
echo %date% %time%
|
||||
|
||||
echo Building win32 functional tests
|
||||
cd win32_functional_tests
|
||||
gcc -v
|
||||
make -v
|
||||
cd ..
|
||||
|
||||
|
||||
|
||||
cd firmware
|
||||
echo %date% %time%
|
||||
echo "CD to ${PWD}"
|
||||
echo Building firmware
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
java -jar ../java_tools/version2header.jar
|
||||
|
||||
call clean_compile_two_versions.bat
|
||||
if not exist deliver/rusefi_release.hex echo FAILED RELEASE
|
||||
if not exist deliver/rusefi_release.hex exit -1
|
||||
|
||||
if not exist deliver/rusefi_debug.hex echo FAILED DEBUG
|
||||
if not exist deliver/rusefi_debug.hex exit -1
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
echo Building java console
|
||||
cd java_console
|
||||
call ant clean
|
||||
call ant
|
||||
cd ..
|
||||
|
||||
if not exist java_console_binary/rusefi_console.jar echo CONSOLE COMPILATION FAILED
|
||||
if not exist java_console_binary/rusefi_console.jar exit -1
|
||||
|
||||
echo Building rusefi simulator
|
||||
cd win32_functional_tests
|
||||
|
||||
mkdir out
|
||||
rm -rf build
|
||||
rm -rf .dep
|
||||
call compile.bat
|
||||
|
||||
if not exist build/rusefi_simulator.exe echo SIMULATOR COMPILATION FAILED
|
||||
if not exist build/rusefi_simulator.exe exit -1
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf temp
|
||||
mkdir temp
|
||||
|
||||
set folder=snapshot_%date:~10%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_rusefi
|
||||
set folder=temp\%folder%
|
||||
|
||||
# this replaces spaces with 0s - that's needed before 10am
|
||||
set folder=%folder: =0%
|
||||
|
||||
echo Working folder:
|
||||
echo %folder%
|
||||
mkdir %folder%
|
||||
|
||||
cp java_console_binary/rusefi_console.jar %folder%
|
||||
cp win32_functional_tests/build/rusefi_simulator.exe %folder%
|
||||
cp firmware/tunerstudio/rusefi.ini %folder%
|
||||
|
||||
cp firmware/svnversion.h %folder%
|
||||
cp -r misc/install/openocd %folder%
|
||||
cp java_console/rusefi.xml %folder%
|
||||
cp firmware/deliver/rusefi_release.* %folder%
|
||||
cp firmware/deliver/rusefi_debug.* %folder%
|
||||
cp misc/console_launcher/rusefi_console.exe %folder%
|
||||
|
||||
|
||||
cd temp
|
||||
echo "Please copy find.exe to findcyg.exe in cygwin folder"
|
||||
findcyg . -name '.svn' > folders_to_delete.txt
|
||||
echo "Deleting .svn"
|
||||
xargs rm -rf < folders_to_delete.txt
|
||||
echo "Deleted .svn"
|
||||
rm -rf folders_to_delete.txt
|
||||
|
||||
echo "Building bundle"
|
||||
pwd
|
||||
zip -r rusefi_bundle.zip *
|
||||
echo "Bundle ready"
|
||||
cd ..
|
||||
echo "We are back in root directory"
|
||||
pwd
|
||||
|
||||
echo "Building only console"
|
||||
cd %folder%
|
||||
pwd
|
||||
dir
|
||||
zip ../rusefi_console.zip rusefi_console.jar rusefi.xml
|
||||
|
||||
if not exist ../rusefi_console.zip echo CONSOLE ZIP FAILED
|
||||
if not exist ../rusefi_console.zip exit -1
|
||||
|
||||
echo "only console ready"
|
||||
|
||||
echo "Going back to root folder"
|
||||
cd ..
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
echo "Making rusefi_simulator.zip"
|
||||
pwd
|
||||
zip -j temp/rusefi_simulator.zip win32_functional_tests/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar
|
||||
|
||||
|
||||
echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@rusefi.com/ > ftp_commands.txt
|
||||
echo binary >> ftp_commands.txt
|
||||
echo put rusefi_bundle.zip >> ftp_commands.txt
|
||||
|
||||
echo cd separate_files >> ftp_commands.txt
|
||||
echo put rusefi_simulator.zip >> ftp_commands.txt
|
||||
echo put rusefi_console.zip >> ftp_commands.txt
|
||||
echo exit >> ftp_commands.txt
|
||||
|
||||
cd temp
|
||||
call winscp.com /script=../ftp_commands.txt
|
||||
IF NOT ERRORLEVEL 0 echo winscp error DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
|
||||
cd ..
|
||||
echo %date% %time%
|
||||
echo "build_current_bundle: DONE here"
|
||||
pwd
|
||||
|
||||
|
||||
rem
|
||||
rem This script would compile firmware, dev console and win32 simulator into a single bundle file
|
||||
rem This script depends on Cygwin tools: zip
|
||||
rem
|
||||
|
||||
echo Hello rusEfi build full bundle
|
||||
|
||||
java -version
|
||||
|
||||
echo %date% %time%
|
||||
|
||||
echo Building win32 functional tests
|
||||
cd win32_functional_tests
|
||||
gcc -v
|
||||
make -v
|
||||
cd ..
|
||||
|
||||
|
||||
|
||||
cd firmware
|
||||
echo %date% %time%
|
||||
echo "CD to ${PWD}"
|
||||
echo Building firmware
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
java -jar ../java_tools/version2header.jar
|
||||
|
||||
call clean_compile_two_versions.bat
|
||||
if not exist deliver/rusefi_release.hex echo FAILED RELEASE
|
||||
if not exist deliver/rusefi_release.hex exit -1
|
||||
|
||||
if not exist deliver/rusefi_debug.hex echo FAILED DEBUG
|
||||
if not exist deliver/rusefi_debug.hex exit -1
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
echo Building java console
|
||||
cd java_console
|
||||
call ant clean
|
||||
call ant
|
||||
cd ..
|
||||
|
||||
if not exist java_console_binary/rusefi_console.jar echo CONSOLE COMPILATION FAILED
|
||||
if not exist java_console_binary/rusefi_console.jar exit -1
|
||||
|
||||
echo Building rusefi simulator
|
||||
cd win32_functional_tests
|
||||
|
||||
mkdir out
|
||||
rm -rf build
|
||||
rm -rf .dep
|
||||
call compile.bat
|
||||
|
||||
if not exist build/rusefi_simulator.exe echo SIMULATOR COMPILATION FAILED
|
||||
if not exist build/rusefi_simulator.exe exit -1
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf temp
|
||||
mkdir temp
|
||||
|
||||
set folder=snapshot_%date:~10%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_rusefi
|
||||
set folder=temp\%folder%
|
||||
|
||||
# this replaces spaces with 0s - that's needed before 10am
|
||||
set folder=%folder: =0%
|
||||
|
||||
echo Working folder:
|
||||
echo %folder%
|
||||
mkdir %folder%
|
||||
|
||||
cp java_console_binary/rusefi_console.jar %folder%
|
||||
cp win32_functional_tests/build/rusefi_simulator.exe %folder%
|
||||
cp firmware/tunerstudio/rusefi.ini %folder%
|
||||
|
||||
cp firmware/svnversion.h %folder%
|
||||
cp -r misc/install/openocd %folder%
|
||||
cp java_console/rusefi.xml %folder%
|
||||
cp firmware/deliver/rusefi_release.* %folder%
|
||||
cp firmware/deliver/rusefi_debug.* %folder%
|
||||
cp misc/console_launcher/rusefi_console.exe %folder%
|
||||
|
||||
|
||||
cd temp
|
||||
echo "Please copy find.exe to findcyg.exe in cygwin folder"
|
||||
findcyg . -name '.svn' > folders_to_delete.txt
|
||||
echo "Deleting .svn"
|
||||
xargs rm -rf < folders_to_delete.txt
|
||||
echo "Deleted .svn"
|
||||
rm -rf folders_to_delete.txt
|
||||
|
||||
echo "Building bundle"
|
||||
pwd
|
||||
zip -r rusefi_bundle.zip *
|
||||
echo "Bundle ready"
|
||||
cd ..
|
||||
echo "We are back in root directory"
|
||||
pwd
|
||||
|
||||
echo "Building only console"
|
||||
cd %folder%
|
||||
pwd
|
||||
dir
|
||||
zip ../rusefi_console.zip rusefi_console.jar rusefi.xml
|
||||
|
||||
if not exist ../rusefi_console.zip echo CONSOLE ZIP FAILED
|
||||
if not exist ../rusefi_console.zip exit -1
|
||||
|
||||
echo "only console ready"
|
||||
|
||||
echo "Going back to root folder"
|
||||
cd ..
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
echo "Making rusefi_simulator.zip"
|
||||
pwd
|
||||
zip -j temp/rusefi_simulator.zip win32_functional_tests/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar
|
||||
|
||||
|
||||
echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@rusefi.com/ > ftp_commands.txt
|
||||
echo binary >> ftp_commands.txt
|
||||
echo put rusefi_bundle.zip >> ftp_commands.txt
|
||||
|
||||
echo cd separate_files >> ftp_commands.txt
|
||||
echo put rusefi_simulator.zip >> ftp_commands.txt
|
||||
echo put rusefi_console.zip >> ftp_commands.txt
|
||||
echo exit >> ftp_commands.txt
|
||||
|
||||
cd temp
|
||||
call winscp.com /script=../ftp_commands.txt
|
||||
IF NOT ERRORLEVEL 0 echo winscp error DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
|
||||
cd ..
|
||||
echo %date% %time%
|
||||
echo "build_current_bundle: DONE here"
|
||||
pwd
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
102
misc/git2svn.bat
102
misc/git2svn.bat
|
@ -1,51 +1,51 @@
|
|||
|
||||
|
||||
echo This script should be executed from the root of rusEfi master GITHUB local copy
|
||||
pwd
|
||||
|
||||
echo Updating from SVN
|
||||
call git fetch --all
|
||||
call git reset --hard origin/master
|
||||
IF NOT ERRORLEVEL echo ERROR git pull-ing
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
|
||||
set RUSEFI_SVN_PATH=../../svn/
|
||||
set RUSEFI_SVN_W_PATH=..\..\svn
|
||||
set RUSEFI_GIT_PATH=../git/rusefi
|
||||
|
||||
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
svn up
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
|
||||
ls -l %RUSEFI_SVN_PATH%
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\firmware
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\hardware
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\java_console
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\unit_tests
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\misc
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\win32_functional_tests
|
||||
|
||||
cp -r firmware %RUSEFI_SVN_PATH%
|
||||
cp -r hardware %RUSEFI_SVN_PATH%
|
||||
cp -r java_console %RUSEFI_SVN_PATH%
|
||||
cp -r unit_tests %RUSEFI_SVN_PATH%
|
||||
cp -r misc %RUSEFI_SVN_PATH%
|
||||
cp -r win32_functional_tests %RUSEFI_SVN_PATH%
|
||||
rem rm -f %RUSEFI_GIT_PATH%/readme.*
|
||||
rem rm -f %RUSEFI_GIT_PATH%/README.*
|
||||
cp -r README.* %RUSEFI_SVN_PATH%
|
||||
cp -r readme.* %RUSEFI_SVN_PATH%
|
||||
|
||||
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
pwd
|
||||
|
||||
rem http://stackoverflow.com/questions/2120844/how-do-i-add-all-new-files-to-svn
|
||||
svn add --force .
|
||||
|
||||
svn ci --no-auth-cache --non-interactive --username rusefi --password %RUSEFI_SVN_PASSWORD% -m "auto-merge from github"
|
||||
|
||||
|
||||
|
||||
|
||||
echo This script should be executed from the root of rusEfi master GITHUB local copy
|
||||
pwd
|
||||
|
||||
echo Updating from SVN
|
||||
call git fetch --all
|
||||
call git reset --hard origin/master
|
||||
IF NOT ERRORLEVEL echo ERROR git pull-ing
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
|
||||
set RUSEFI_SVN_PATH=../../svn/
|
||||
set RUSEFI_SVN_W_PATH=..\..\svn
|
||||
set RUSEFI_GIT_PATH=../git/rusefi
|
||||
|
||||
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
svn up
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
|
||||
ls -l %RUSEFI_SVN_PATH%
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\firmware
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\hardware
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\java_console
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\unit_tests
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\misc
|
||||
rd /s /q %RUSEFI_SVN_W_PATH%\win32_functional_tests
|
||||
|
||||
cp -r firmware %RUSEFI_SVN_PATH%
|
||||
cp -r hardware %RUSEFI_SVN_PATH%
|
||||
cp -r java_console %RUSEFI_SVN_PATH%
|
||||
cp -r unit_tests %RUSEFI_SVN_PATH%
|
||||
cp -r misc %RUSEFI_SVN_PATH%
|
||||
cp -r win32_functional_tests %RUSEFI_SVN_PATH%
|
||||
rem rm -f %RUSEFI_GIT_PATH%/readme.*
|
||||
rem rm -f %RUSEFI_GIT_PATH%/README.*
|
||||
cp -r README.* %RUSEFI_SVN_PATH%
|
||||
cp -r readme.* %RUSEFI_SVN_PATH%
|
||||
|
||||
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
pwd
|
||||
|
||||
rem http://stackoverflow.com/questions/2120844/how-do-i-add-all-new-files-to-svn
|
||||
svn add --force .
|
||||
|
||||
svn ci --no-auth-cache --non-interactive --username rusefi --password %RUSEFI_SVN_PASSWORD% -m "auto-merge from github"
|
||||
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
set GIT2SVN_ROOT=c:\stuff\rusefi.git2svn
|
||||
|
||||
set RUSEFI_SVN_PATH=%GIT2SVN_ROOT%\svn
|
||||
set RUSEFI_GIT_PATH=%GIT2SVN_ROOT%\git
|
||||
|
||||
rd /s /q %GIT2SVN_ROOT%
|
||||
|
||||
|
||||
mkdir -p %RUSEFI_SVN_PATH%
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
|
||||
|
||||
|
||||
mkdir -p %RUSEFI_GIT_PATH%
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
git clone https://github.com/rusefi/rusefi.git
|
||||
set GIT2SVN_ROOT=c:\stuff\rusefi.git2svn
|
||||
|
||||
set RUSEFI_SVN_PATH=%GIT2SVN_ROOT%\svn
|
||||
set RUSEFI_GIT_PATH=%GIT2SVN_ROOT%\git
|
||||
|
||||
rd /s /q %GIT2SVN_ROOT%
|
||||
|
||||
|
||||
mkdir -p %RUSEFI_SVN_PATH%
|
||||
cd %RUSEFI_SVN_PATH%
|
||||
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
|
||||
|
||||
|
||||
mkdir -p %RUSEFI_GIT_PATH%
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
git clone https://github.com/rusefi/rusefi.git
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
echo going to Root of SVN project
|
||||
cd ..
|
||||
|
||||
set RUSEFI_GIT_PATH=..\rusefi.git
|
||||
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
git fetch --all
|
||||
|
||||
echo going to Root of SVN project
|
||||
cd ..
|
||||
|
||||
set RUSEFI_GIT_PATH=..\rusefi.git
|
||||
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
git fetch --all
|
||||
git reset --hard origin/master
|
|
@ -1,243 +1,243 @@
|
|||
#include "stm32f4xx.h"
|
||||
|
||||
/**
|
||||
* SPI 2
|
||||
*
|
||||
* Chip Select: PD11
|
||||
*
|
||||
*
|
||||
* http://www.ti.com/lit/ds/symlink/tpic8101.pdf
|
||||
* http://www.intersil.com/content/dam/Intersil/documents/an97/an9770.pdf
|
||||
* http://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-26-01-00-00-42-36-40/TPIC8101-Training.pdf
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define NO_DATA 0x0100
|
||||
|
||||
#define RX_BUF_SIZE 128
|
||||
#define TX_BUF_SIZE 128
|
||||
|
||||
uint8_t rx_buf[RX_BUF_SIZE];
|
||||
uint8_t tx_buf[TX_BUF_SIZE];
|
||||
|
||||
volatile uint16_t rx_head;
|
||||
volatile uint16_t rx_tail;
|
||||
volatile uint16_t tx_head;
|
||||
volatile uint16_t tx_tail;
|
||||
|
||||
void uart_putc(uint8_t c);
|
||||
|
||||
uint16_t uart_getc(void);
|
||||
|
||||
uint16_t spi(uint16_t data);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
RCC->AHB1ENR |= (RCC_AHB1ENR_GPIOBEN | RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIODEN);
|
||||
RCC->APB1ENR |= (RCC_APB1ENR_SPI2EN | RCC_APB1ENR_USART3EN);
|
||||
|
||||
// PB11 / INT/HOLD
|
||||
GPIOB->MODER |= GPIO_MODER_MODER11_0;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_11;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR11_1;
|
||||
|
||||
// PD11 / Chip Select
|
||||
GPIOD->MODER |= GPIO_MODER_MODER11_0;
|
||||
// open drain output
|
||||
GPIOD->OTYPER |= GPIO_OTYPER_OT_11;
|
||||
GPIOD->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR11_1;
|
||||
|
||||
// PB13 / SCK
|
||||
GPIOB->MODER |= GPIO_MODER_MODER13_1;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_13;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR13_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 20);
|
||||
|
||||
// PB14 / MISO
|
||||
GPIOB->MODER |= GPIO_MODER_MODER14_1;
|
||||
GPIOB->PUPDR |= GPIO_PUPDR_PUPDR14_1;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR14_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 24);
|
||||
|
||||
// PB15 / MOSI
|
||||
GPIOB->MODER |= GPIO_MODER_MODER15_1;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_15;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR15_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 28);
|
||||
|
||||
// PD12 / LED
|
||||
GPIOD->MODER |= GPIO_MODER_MODER12_0;
|
||||
GPIOD->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR12_1;
|
||||
|
||||
// SPI
|
||||
SPI2->CR1 |= SPI_CR1_SSM | SPI_CR1_SSI | SPI_CR1_CPHA | SPI_CR1_MSTR | (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0);
|
||||
SPI2->CR1 |= SPI_CR1_SPE;
|
||||
|
||||
// PC10 / TX
|
||||
GPIOC->MODER |= GPIO_MODER_MODER10_1;
|
||||
GPIOC->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR10_0;
|
||||
GPIOC->AFR[1] |= (0x07 << 8);
|
||||
|
||||
// PC11 / RX
|
||||
GPIOC->MODER |= GPIO_MODER_MODER11_1;
|
||||
GPIOC->PUPDR &= ~GPIO_PUPDR_PUPDR11;
|
||||
GPIOC->AFR[1] |= (0x07 << 12);
|
||||
|
||||
// USART
|
||||
USART3->BRR = 0x00D9; // 50.0 MHz / 0x00D9 = 115200
|
||||
USART3->CR3 |= USART_CR3_DMAT;
|
||||
USART3->CR1 |= (USART_CR1_RXNEIE | USART_CR1_TE | USART_CR1_RE);
|
||||
USART3->CR1 |= USART_CR1_UE;
|
||||
|
||||
NVIC_SetPriority(USART3_IRQn, 15);
|
||||
NVIC_EnableIRQ(USART3_IRQn);
|
||||
|
||||
__enable_irq();
|
||||
|
||||
volatile uint32_t i;
|
||||
uint16_t data;
|
||||
|
||||
uart_putc(spi(0b01001100));
|
||||
uart_putc(spi(0b01001100));
|
||||
uart_putc(spi(0b11100001));
|
||||
|
||||
// SET_ADVANCED_MODE
|
||||
uart_putc(spi(0b01110001));
|
||||
|
||||
for (;;) {
|
||||
/*data = uart_getc();
|
||||
|
||||
if ((data & 0xFF00) == 0) {
|
||||
uart_putc(spi(data));
|
||||
}*/
|
||||
|
||||
// LED on PD12 goes LOW
|
||||
GPIOD->BSRRL = GPIO_ODR_ODR_12;
|
||||
// delay
|
||||
for (i = 0; i < 10000; i++);
|
||||
|
||||
// BAND_PASS_CMD
|
||||
uart_putc(spi(0b00000000 | (40 & 0x3F)));
|
||||
// Set the gain
|
||||
uart_putc(spi(0b10000000 | (49 & 0x3F)));
|
||||
// Set the integration time constant
|
||||
uart_putc(spi(0b11000000 | (31 & 0x1F)));
|
||||
|
||||
// SET_ADVANCED_MODE
|
||||
uart_putc(spi(0b01110001));
|
||||
|
||||
|
||||
// int/hold LOW
|
||||
GPIOB->BSRRL = GPIO_ODR_ODR_11;
|
||||
|
||||
// LED on PD12 goes HIGH
|
||||
GPIOD->BSRRH = GPIO_ODR_ODR_12;
|
||||
// delay
|
||||
for (i = 0; i < 10000; i++);
|
||||
|
||||
// int/hold HIGH
|
||||
GPIOB->BSRRH = GPIO_ODR_ODR_11;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint16_t spi(uint16_t data)
|
||||
{
|
||||
volatile uint16_t i;
|
||||
|
||||
// Chip Select PD11 goes HIGH
|
||||
GPIOD->BSRRH = GPIO_ODR_ODR_11;
|
||||
|
||||
for (i = 0; i < 10; i++);
|
||||
|
||||
SPI2->DR = data;
|
||||
|
||||
while (!(SPI2->SR & SPI_SR_TXE));
|
||||
while (!(SPI2->SR & SPI_SR_RXNE));
|
||||
while ((SPI2->SR & SPI_SR_BSY));
|
||||
|
||||
for (i = 0; i < 10; i++);
|
||||
|
||||
// Chip Select PD11 goes LOW
|
||||
GPIOD->BSRRL = GPIO_ODR_ODR_11;
|
||||
|
||||
for (i = 0; i < 100; i++);
|
||||
|
||||
return SPI2->DR;
|
||||
}
|
||||
|
||||
void uart_putc(uint8_t c)
|
||||
{
|
||||
uint16_t tmphead;
|
||||
|
||||
tmphead = (tmphead < (TX_BUF_SIZE - 1)) ? (tx_head + 1) : 0;
|
||||
tx_buf[tmphead] = c;
|
||||
tx_head = tmphead;
|
||||
|
||||
USART3->CR1 |= USART_CR1_TXEIE;
|
||||
}
|
||||
|
||||
uint16_t uart_getc(void)
|
||||
{
|
||||
uint16_t data, tmptail;
|
||||
|
||||
if (rx_tail == rx_head)
|
||||
{
|
||||
data = NO_DATA;
|
||||
}
|
||||
else
|
||||
{
|
||||
tmptail = (tmptail < (RX_BUF_SIZE - 1)) ? (rx_tail + 1) : 0;
|
||||
rx_tail = tmptail;
|
||||
data = rx_buf[tmptail];
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
void USART3_IRQHandler(void)
|
||||
{
|
||||
if ((USART3->SR & USART_SR_RXNE))
|
||||
{
|
||||
uint8_t data, tmphead;
|
||||
|
||||
USART3->SR = ~USART_SR_RXNE;
|
||||
|
||||
data = USART3->DR;
|
||||
tmphead = (rx_head < (RX_BUF_SIZE - 1)) ? (rx_head + 1) : 0;
|
||||
|
||||
if (rx_tail == tmphead)
|
||||
{
|
||||
// Buffer overflow
|
||||
}
|
||||
else
|
||||
{
|
||||
rx_head = tmphead;
|
||||
rx_buf[tmphead] = data;
|
||||
}
|
||||
}
|
||||
|
||||
if ((USART3->SR & USART_SR_TXE))
|
||||
{
|
||||
uint16_t tmptail;
|
||||
|
||||
USART3->SR = ~USART_SR_TXE;
|
||||
|
||||
if (tx_tail != tx_head)
|
||||
{
|
||||
tmptail = (tx_tail < (TX_BUF_SIZE - 1)) ? (tx_tail + 1) : 0;
|
||||
tx_tail = tmptail;
|
||||
USART3->DR = tx_buf[tmptail];
|
||||
}
|
||||
else
|
||||
{
|
||||
USART3->CR1 &= ~USART_CR1_TXEIE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "stm32f4xx.h"
|
||||
|
||||
/**
|
||||
* SPI 2
|
||||
*
|
||||
* Chip Select: PD11
|
||||
*
|
||||
*
|
||||
* http://www.ti.com/lit/ds/symlink/tpic8101.pdf
|
||||
* http://www.intersil.com/content/dam/Intersil/documents/an97/an9770.pdf
|
||||
* http://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-26-01-00-00-42-36-40/TPIC8101-Training.pdf
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define NO_DATA 0x0100
|
||||
|
||||
#define RX_BUF_SIZE 128
|
||||
#define TX_BUF_SIZE 128
|
||||
|
||||
uint8_t rx_buf[RX_BUF_SIZE];
|
||||
uint8_t tx_buf[TX_BUF_SIZE];
|
||||
|
||||
volatile uint16_t rx_head;
|
||||
volatile uint16_t rx_tail;
|
||||
volatile uint16_t tx_head;
|
||||
volatile uint16_t tx_tail;
|
||||
|
||||
void uart_putc(uint8_t c);
|
||||
|
||||
uint16_t uart_getc(void);
|
||||
|
||||
uint16_t spi(uint16_t data);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
RCC->AHB1ENR |= (RCC_AHB1ENR_GPIOBEN | RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIODEN);
|
||||
RCC->APB1ENR |= (RCC_APB1ENR_SPI2EN | RCC_APB1ENR_USART3EN);
|
||||
|
||||
// PB11 / INT/HOLD
|
||||
GPIOB->MODER |= GPIO_MODER_MODER11_0;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_11;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR11_1;
|
||||
|
||||
// PD11 / Chip Select
|
||||
GPIOD->MODER |= GPIO_MODER_MODER11_0;
|
||||
// open drain output
|
||||
GPIOD->OTYPER |= GPIO_OTYPER_OT_11;
|
||||
GPIOD->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR11_1;
|
||||
|
||||
// PB13 / SCK
|
||||
GPIOB->MODER |= GPIO_MODER_MODER13_1;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_13;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR13_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 20);
|
||||
|
||||
// PB14 / MISO
|
||||
GPIOB->MODER |= GPIO_MODER_MODER14_1;
|
||||
GPIOB->PUPDR |= GPIO_PUPDR_PUPDR14_1;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR14_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 24);
|
||||
|
||||
// PB15 / MOSI
|
||||
GPIOB->MODER |= GPIO_MODER_MODER15_1;
|
||||
// open drain output
|
||||
GPIOB->OTYPER |= GPIO_OTYPER_OT_15;
|
||||
GPIOB->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR15_1;
|
||||
GPIOB->AFR[1] |= (0x05 << 28);
|
||||
|
||||
// PD12 / LED
|
||||
GPIOD->MODER |= GPIO_MODER_MODER12_0;
|
||||
GPIOD->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR12_1;
|
||||
|
||||
// SPI
|
||||
SPI2->CR1 |= SPI_CR1_SSM | SPI_CR1_SSI | SPI_CR1_CPHA | SPI_CR1_MSTR | (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0);
|
||||
SPI2->CR1 |= SPI_CR1_SPE;
|
||||
|
||||
// PC10 / TX
|
||||
GPIOC->MODER |= GPIO_MODER_MODER10_1;
|
||||
GPIOC->OSPEEDR |= GPIO_OSPEEDER_OSPEEDR10_0;
|
||||
GPIOC->AFR[1] |= (0x07 << 8);
|
||||
|
||||
// PC11 / RX
|
||||
GPIOC->MODER |= GPIO_MODER_MODER11_1;
|
||||
GPIOC->PUPDR &= ~GPIO_PUPDR_PUPDR11;
|
||||
GPIOC->AFR[1] |= (0x07 << 12);
|
||||
|
||||
// USART
|
||||
USART3->BRR = 0x00D9; // 50.0 MHz / 0x00D9 = 115200
|
||||
USART3->CR3 |= USART_CR3_DMAT;
|
||||
USART3->CR1 |= (USART_CR1_RXNEIE | USART_CR1_TE | USART_CR1_RE);
|
||||
USART3->CR1 |= USART_CR1_UE;
|
||||
|
||||
NVIC_SetPriority(USART3_IRQn, 15);
|
||||
NVIC_EnableIRQ(USART3_IRQn);
|
||||
|
||||
__enable_irq();
|
||||
|
||||
volatile uint32_t i;
|
||||
uint16_t data;
|
||||
|
||||
uart_putc(spi(0b01001100));
|
||||
uart_putc(spi(0b01001100));
|
||||
uart_putc(spi(0b11100001));
|
||||
|
||||
// SET_ADVANCED_MODE
|
||||
uart_putc(spi(0b01110001));
|
||||
|
||||
for (;;) {
|
||||
/*data = uart_getc();
|
||||
|
||||
if ((data & 0xFF00) == 0) {
|
||||
uart_putc(spi(data));
|
||||
}*/
|
||||
|
||||
// LED on PD12 goes LOW
|
||||
GPIOD->BSRRL = GPIO_ODR_ODR_12;
|
||||
// delay
|
||||
for (i = 0; i < 10000; i++);
|
||||
|
||||
// BAND_PASS_CMD
|
||||
uart_putc(spi(0b00000000 | (40 & 0x3F)));
|
||||
// Set the gain
|
||||
uart_putc(spi(0b10000000 | (49 & 0x3F)));
|
||||
// Set the integration time constant
|
||||
uart_putc(spi(0b11000000 | (31 & 0x1F)));
|
||||
|
||||
// SET_ADVANCED_MODE
|
||||
uart_putc(spi(0b01110001));
|
||||
|
||||
|
||||
// int/hold LOW
|
||||
GPIOB->BSRRL = GPIO_ODR_ODR_11;
|
||||
|
||||
// LED on PD12 goes HIGH
|
||||
GPIOD->BSRRH = GPIO_ODR_ODR_12;
|
||||
// delay
|
||||
for (i = 0; i < 10000; i++);
|
||||
|
||||
// int/hold HIGH
|
||||
GPIOB->BSRRH = GPIO_ODR_ODR_11;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint16_t spi(uint16_t data)
|
||||
{
|
||||
volatile uint16_t i;
|
||||
|
||||
// Chip Select PD11 goes HIGH
|
||||
GPIOD->BSRRH = GPIO_ODR_ODR_11;
|
||||
|
||||
for (i = 0; i < 10; i++);
|
||||
|
||||
SPI2->DR = data;
|
||||
|
||||
while (!(SPI2->SR & SPI_SR_TXE));
|
||||
while (!(SPI2->SR & SPI_SR_RXNE));
|
||||
while ((SPI2->SR & SPI_SR_BSY));
|
||||
|
||||
for (i = 0; i < 10; i++);
|
||||
|
||||
// Chip Select PD11 goes LOW
|
||||
GPIOD->BSRRL = GPIO_ODR_ODR_11;
|
||||
|
||||
for (i = 0; i < 100; i++);
|
||||
|
||||
return SPI2->DR;
|
||||
}
|
||||
|
||||
void uart_putc(uint8_t c)
|
||||
{
|
||||
uint16_t tmphead;
|
||||
|
||||
tmphead = (tmphead < (TX_BUF_SIZE - 1)) ? (tx_head + 1) : 0;
|
||||
tx_buf[tmphead] = c;
|
||||
tx_head = tmphead;
|
||||
|
||||
USART3->CR1 |= USART_CR1_TXEIE;
|
||||
}
|
||||
|
||||
uint16_t uart_getc(void)
|
||||
{
|
||||
uint16_t data, tmptail;
|
||||
|
||||
if (rx_tail == rx_head)
|
||||
{
|
||||
data = NO_DATA;
|
||||
}
|
||||
else
|
||||
{
|
||||
tmptail = (tmptail < (RX_BUF_SIZE - 1)) ? (rx_tail + 1) : 0;
|
||||
rx_tail = tmptail;
|
||||
data = rx_buf[tmptail];
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
void USART3_IRQHandler(void)
|
||||
{
|
||||
if ((USART3->SR & USART_SR_RXNE))
|
||||
{
|
||||
uint8_t data, tmphead;
|
||||
|
||||
USART3->SR = ~USART_SR_RXNE;
|
||||
|
||||
data = USART3->DR;
|
||||
tmphead = (rx_head < (RX_BUF_SIZE - 1)) ? (rx_head + 1) : 0;
|
||||
|
||||
if (rx_tail == tmphead)
|
||||
{
|
||||
// Buffer overflow
|
||||
}
|
||||
else
|
||||
{
|
||||
rx_head = tmphead;
|
||||
rx_buf[tmphead] = data;
|
||||
}
|
||||
}
|
||||
|
||||
if ((USART3->SR & USART_SR_TXE))
|
||||
{
|
||||
uint16_t tmptail;
|
||||
|
||||
USART3->SR = ~USART_SR_TXE;
|
||||
|
||||
if (tx_tail != tx_head)
|
||||
{
|
||||
tmptail = (tx_tail < (TX_BUF_SIZE - 1)) ? (tx_tail + 1) : 0;
|
||||
tx_tail = tmptail;
|
||||
USART3->DR = tx_buf[tmptail];
|
||||
}
|
||||
else
|
||||
{
|
||||
USART3->CR1 &= ~USART_CR1_TXEIE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
echo I am hw_test.bat
|
||||
|
||||
cd ../firmware
|
||||
call flash_erase
|
||||
echo Compiling firmware
|
||||
pwd
|
||||
call compile_and_program.bat
|
||||
|
||||
if not exist build/rusefi.bin echo FAILED TO COMPILE
|
||||
if not exist build/rusefi.bin exit -1
|
||||
|
||||
|
||||
pwd
|
||||
|
||||
cd ..
|
||||
|
||||
echo Running some commands
|
||||
pwd
|
||||
|
||||
rem java -cp java_console_binary\rusefi_console.jar com.rusefi.CmdLine "set_led_blinking_period 10"
|
||||
|
||||
cd java_console
|
||||
|
||||
echo Running tests
|
||||
which java
|
||||
which javac
|
||||
ant realtest
|
||||
|
||||
IF NOT ERRORLEVEL echo ERROR DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
echo I am hw_test.bat
|
||||
|
||||
cd ../firmware
|
||||
call flash_erase
|
||||
echo Compiling firmware
|
||||
pwd
|
||||
call compile_and_program.bat
|
||||
|
||||
if not exist build/rusefi.bin echo FAILED TO COMPILE
|
||||
if not exist build/rusefi.bin exit -1
|
||||
|
||||
|
||||
pwd
|
||||
|
||||
cd ..
|
||||
|
||||
echo Running some commands
|
||||
pwd
|
||||
|
||||
rem java -cp java_console_binary\rusefi_console.jar com.rusefi.CmdLine "set_led_blinking_period 10"
|
||||
|
||||
cd java_console
|
||||
|
||||
echo Running tests
|
||||
which java
|
||||
which javac
|
||||
ant realtest
|
||||
|
||||
IF NOT ERRORLEVEL echo ERROR DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
# Helper for common memory read/modify/write procedures
|
||||
|
||||
# mrw: "memory read word", returns value of $reg
|
||||
proc mrw {reg} {
|
||||
set value ""
|
||||
mem2array value 32 $reg 1
|
||||
return $value(0)
|
||||
}
|
||||
|
||||
add_usage_text mrw "address"
|
||||
add_help_text mrw "Returns value of word in memory."
|
||||
|
||||
proc mrb {reg} {
|
||||
set value ""
|
||||
mem2array value 8 $reg 1
|
||||
return $value(0)
|
||||
}
|
||||
|
||||
add_usage_text mrb "address"
|
||||
add_help_text mrb "Returns value of byte in memory."
|
||||
|
||||
# mmw: "memory modify word", updates value of $reg
|
||||
# $reg <== ((value & ~$clearbits) | $setbits)
|
||||
proc mmw {reg setbits clearbits} {
|
||||
set old [mrw $reg]
|
||||
set new [expr ($old & ~$clearbits) | $setbits]
|
||||
mww $reg $new
|
||||
}
|
||||
|
||||
add_usage_text mmw "address setbits clearbits"
|
||||
add_help_text mmw "Modify word in memory. new_val = (old_val & ~clearbits) | setbits;"
|
||||
# Helper for common memory read/modify/write procedures
|
||||
|
||||
# mrw: "memory read word", returns value of $reg
|
||||
proc mrw {reg} {
|
||||
set value ""
|
||||
mem2array value 32 $reg 1
|
||||
return $value(0)
|
||||
}
|
||||
|
||||
add_usage_text mrw "address"
|
||||
add_help_text mrw "Returns value of word in memory."
|
||||
|
||||
proc mrb {reg} {
|
||||
set value ""
|
||||
mem2array value 8 $reg 1
|
||||
return $value(0)
|
||||
}
|
||||
|
||||
add_usage_text mrb "address"
|
||||
add_help_text mrb "Returns value of byte in memory."
|
||||
|
||||
# mmw: "memory modify word", updates value of $reg
|
||||
# $reg <== ((value & ~$clearbits) | $setbits)
|
||||
proc mmw {reg setbits clearbits} {
|
||||
set old [mrw $reg]
|
||||
set new [expr ($old & ~$clearbits) | $setbits]
|
||||
mww $reg $new
|
||||
}
|
||||
|
||||
add_usage_text mmw "address setbits clearbits"
|
||||
add_help_text mmw "Modify word in memory. new_val = (old_val & ~clearbits) | setbits;"
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
#
|
||||
# STMicroelectronics ST-LINK/V2-1 in-circuit debugger/programmer
|
||||
#
|
||||
|
||||
interface hla
|
||||
hla_layout stlink
|
||||
hla_device_desc "ST-LINK/V2-1"
|
||||
hla_vid_pid 0x0483 0x374b
|
||||
|
||||
# Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2
|
||||
# devices seem to have serial numbers with unreadable characters. ST-LINK/V2
|
||||
# firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial
|
||||
# number reset issues.
|
||||
# eg.
|
||||
#hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f"
|
||||
|
||||
#
|
||||
# STMicroelectronics ST-LINK/V2-1 in-circuit debugger/programmer
|
||||
#
|
||||
|
||||
interface hla
|
||||
hla_layout stlink
|
||||
hla_device_desc "ST-LINK/V2-1"
|
||||
hla_vid_pid 0x0483 0x374b
|
||||
|
||||
# Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2
|
||||
# devices seem to have serial numbers with unreadable characters. ST-LINK/V2
|
||||
# firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial
|
||||
# number reset issues.
|
||||
# eg.
|
||||
#hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f"
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#
|
||||
# This is an STM32F429 discovery board with a single STM32F429ZI chip.
|
||||
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
|
||||
#
|
||||
|
||||
source [find openocd/stlink-v2-1.cfg]
|
||||
|
||||
transport select hla_swd
|
||||
|
||||
source [find openocd/stm32f4x.cfg]
|
||||
|
||||
reset_config srst_only
|
||||
#
|
||||
# This is an STM32F429 discovery board with a single STM32F429ZI chip.
|
||||
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
|
||||
#
|
||||
|
||||
source [find openocd/stlink-v2-1.cfg]
|
||||
|
||||
transport select hla_swd
|
||||
|
||||
source [find openocd/stm32f4x.cfg]
|
||||
|
||||
reset_config srst_only
|
||||
|
|
|
@ -1,137 +1,137 @@
|
|||
# script for stm32f4x family
|
||||
|
||||
#
|
||||
# stm32 devices support both JTAG and SWD transports.
|
||||
#
|
||||
source [find openocd/swj-dp.tcl]
|
||||
source [find openocd/mem_helper.tcl]
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME stm32f4x
|
||||
}
|
||||
|
||||
set _ENDIAN little
|
||||
|
||||
# Work-area is a space in RAM used for flash programming
|
||||
# By default use 32kB (Available RAM in smallest device STM32F410)
|
||||
if { [info exists WORKAREASIZE] } {
|
||||
set _WORKAREASIZE $WORKAREASIZE
|
||||
} else {
|
||||
set _WORKAREASIZE 0x8000
|
||||
}
|
||||
|
||||
#jtag scan chain
|
||||
if { [info exists CPUTAPID] } {
|
||||
set _CPUTAPID $CPUTAPID
|
||||
} else {
|
||||
if { [using_jtag] } {
|
||||
# See STM Document RM0090
|
||||
# Section 38.6.3 - corresponds to Cortex-M4 r0p1
|
||||
set _CPUTAPID 0x4ba00477
|
||||
} {
|
||||
set _CPUTAPID 0x2ba01477
|
||||
}
|
||||
}
|
||||
|
||||
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
if { [info exists BSTAPID] } {
|
||||
set _BSTAPID $BSTAPID
|
||||
} else {
|
||||
# See STM Document RM0090
|
||||
# Section 38.6.2
|
||||
# STM32F405xx/07xx and STM32F415xx/17xx
|
||||
set _BSTAPID1 0x06413041
|
||||
# STM32F42xxx and STM32F43xxx
|
||||
set _BSTAPID2 0x06419041
|
||||
# See STM Document RM0368 (Rev. 3)
|
||||
# STM32F401B/C
|
||||
set _BSTAPID3 0x06423041
|
||||
# STM32F401D/E
|
||||
set _BSTAPID4 0x06433041
|
||||
# See STM Document RM0383 (Rev 2)
|
||||
# STM32F411
|
||||
set _BSTAPID5 0x06431041
|
||||
# See STM Document RM0386
|
||||
# STM32F469
|
||||
set _BSTAPID6 0x06434041
|
||||
# See STM Document RM0401
|
||||
# STM32F410
|
||||
set _BSTAPID7 0x06458041
|
||||
# STM32F412
|
||||
set _BSTAPID8 0x06441041
|
||||
}
|
||||
|
||||
if {[using_jtag]} {
|
||||
swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 \
|
||||
-expected-id $_BSTAPID2 -expected-id $_BSTAPID3 \
|
||||
-expected-id $_BSTAPID4 -expected-id $_BSTAPID5 \
|
||||
-expected-id $_BSTAPID6 -expected-id $_BSTAPID7 \
|
||||
-expected-id $_BSTAPID8
|
||||
}
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
|
||||
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
|
||||
|
||||
# JTAG speed should be <= F_CPU/6. F_CPU after reset is 16MHz, so use F_JTAG = 2MHz
|
||||
#
|
||||
# Since we may be running of an RC oscilator, we crank down the speed a
|
||||
# bit more to be on the safe side. Perhaps superstition, but if are
|
||||
# running off a crystal, we can run closer to the limit. Note
|
||||
# that there can be a pretty wide band where things are more or less stable.
|
||||
adapter_khz 2000
|
||||
|
||||
adapter_nsrst_delay 100
|
||||
if {[using_jtag]} {
|
||||
jtag_ntrst_delay 100
|
||||
}
|
||||
|
||||
reset_config srst_nogate
|
||||
|
||||
if {![using_hla]} {
|
||||
# if srst is not fitted use SYSRESETREQ to
|
||||
# perform a soft reset
|
||||
cortex_m reset_config sysresetreq
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event examine-end {
|
||||
# Enable debug during low power modes (uses more power)
|
||||
# DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
|
||||
mmw 0xE0042004 0x00000007 0
|
||||
|
||||
# Stop watchdog counters during halt
|
||||
# DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
|
||||
mmw 0xE0042008 0x00001800 0
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event trace-config {
|
||||
# Set TRACE_IOEN; TRACE_MODE is set to async; when using sync
|
||||
# change this value accordingly to configure trace pins
|
||||
# assignment
|
||||
mmw 0xE0042004 0x00000020 0
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event reset-init {
|
||||
# Configure PLL to boost clock to HSI x 4 (64 MHz)
|
||||
mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
|
||||
mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
|
||||
mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
|
||||
sleep 10 ;# Wait for PLL to lock
|
||||
mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
|
||||
mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
|
||||
|
||||
# Boost JTAG frequency
|
||||
adapter_khz 8000
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event reset-start {
|
||||
# Reduce speed since CPU speed will slow down to 16MHz with the reset
|
||||
adapter_khz 2000
|
||||
}
|
||||
# script for stm32f4x family
|
||||
|
||||
#
|
||||
# stm32 devices support both JTAG and SWD transports.
|
||||
#
|
||||
source [find openocd/swj-dp.tcl]
|
||||
source [find openocd/mem_helper.tcl]
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME stm32f4x
|
||||
}
|
||||
|
||||
set _ENDIAN little
|
||||
|
||||
# Work-area is a space in RAM used for flash programming
|
||||
# By default use 32kB (Available RAM in smallest device STM32F410)
|
||||
if { [info exists WORKAREASIZE] } {
|
||||
set _WORKAREASIZE $WORKAREASIZE
|
||||
} else {
|
||||
set _WORKAREASIZE 0x8000
|
||||
}
|
||||
|
||||
#jtag scan chain
|
||||
if { [info exists CPUTAPID] } {
|
||||
set _CPUTAPID $CPUTAPID
|
||||
} else {
|
||||
if { [using_jtag] } {
|
||||
# See STM Document RM0090
|
||||
# Section 38.6.3 - corresponds to Cortex-M4 r0p1
|
||||
set _CPUTAPID 0x4ba00477
|
||||
} {
|
||||
set _CPUTAPID 0x2ba01477
|
||||
}
|
||||
}
|
||||
|
||||
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
if { [info exists BSTAPID] } {
|
||||
set _BSTAPID $BSTAPID
|
||||
} else {
|
||||
# See STM Document RM0090
|
||||
# Section 38.6.2
|
||||
# STM32F405xx/07xx and STM32F415xx/17xx
|
||||
set _BSTAPID1 0x06413041
|
||||
# STM32F42xxx and STM32F43xxx
|
||||
set _BSTAPID2 0x06419041
|
||||
# See STM Document RM0368 (Rev. 3)
|
||||
# STM32F401B/C
|
||||
set _BSTAPID3 0x06423041
|
||||
# STM32F401D/E
|
||||
set _BSTAPID4 0x06433041
|
||||
# See STM Document RM0383 (Rev 2)
|
||||
# STM32F411
|
||||
set _BSTAPID5 0x06431041
|
||||
# See STM Document RM0386
|
||||
# STM32F469
|
||||
set _BSTAPID6 0x06434041
|
||||
# See STM Document RM0401
|
||||
# STM32F410
|
||||
set _BSTAPID7 0x06458041
|
||||
# STM32F412
|
||||
set _BSTAPID8 0x06441041
|
||||
}
|
||||
|
||||
if {[using_jtag]} {
|
||||
swj_newdap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 \
|
||||
-expected-id $_BSTAPID2 -expected-id $_BSTAPID3 \
|
||||
-expected-id $_BSTAPID4 -expected-id $_BSTAPID5 \
|
||||
-expected-id $_BSTAPID6 -expected-id $_BSTAPID7 \
|
||||
-expected-id $_BSTAPID8
|
||||
}
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
|
||||
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
|
||||
|
||||
# JTAG speed should be <= F_CPU/6. F_CPU after reset is 16MHz, so use F_JTAG = 2MHz
|
||||
#
|
||||
# Since we may be running of an RC oscilator, we crank down the speed a
|
||||
# bit more to be on the safe side. Perhaps superstition, but if are
|
||||
# running off a crystal, we can run closer to the limit. Note
|
||||
# that there can be a pretty wide band where things are more or less stable.
|
||||
adapter_khz 2000
|
||||
|
||||
adapter_nsrst_delay 100
|
||||
if {[using_jtag]} {
|
||||
jtag_ntrst_delay 100
|
||||
}
|
||||
|
||||
reset_config srst_nogate
|
||||
|
||||
if {![using_hla]} {
|
||||
# if srst is not fitted use SYSRESETREQ to
|
||||
# perform a soft reset
|
||||
cortex_m reset_config sysresetreq
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event examine-end {
|
||||
# Enable debug during low power modes (uses more power)
|
||||
# DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
|
||||
mmw 0xE0042004 0x00000007 0
|
||||
|
||||
# Stop watchdog counters during halt
|
||||
# DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
|
||||
mmw 0xE0042008 0x00001800 0
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event trace-config {
|
||||
# Set TRACE_IOEN; TRACE_MODE is set to async; when using sync
|
||||
# change this value accordingly to configure trace pins
|
||||
# assignment
|
||||
mmw 0xE0042004 0x00000020 0
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event reset-init {
|
||||
# Configure PLL to boost clock to HSI x 4 (64 MHz)
|
||||
mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
|
||||
mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
|
||||
mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
|
||||
sleep 10 ;# Wait for PLL to lock
|
||||
mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
|
||||
mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
|
||||
|
||||
# Boost JTAG frequency
|
||||
adapter_khz 8000
|
||||
}
|
||||
|
||||
$_TARGETNAME configure -event reset-start {
|
||||
# Reduce speed since CPU speed will slow down to 16MHz with the reset
|
||||
adapter_khz 2000
|
||||
}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
# ARM Debug Interface V5 (ADI_V5) utility
|
||||
# ... Mostly for SWJ-DP (not SW-DP or JTAG-DP, since
|
||||
# SW-DP and JTAG-DP targets don't need to switch based
|
||||
# on which transport is active.
|
||||
#
|
||||
# declare a JTAG or SWD Debug Access Point (DAP)
|
||||
# based on the transport in use with this session.
|
||||
# You can't access JTAG ops when SWD is active, etc.
|
||||
|
||||
# params are currently what "jtag newtap" uses
|
||||
# because OpenOCD internals are still strongly biased
|
||||
# to JTAG .... but for SWD, "irlen" etc are ignored,
|
||||
# and the internals work differently
|
||||
|
||||
# for now, ignore non-JTAG and non-SWD transports
|
||||
# (e.g. initial flash programming via SPI or UART)
|
||||
|
||||
# split out "chip" and "tag" so we can someday handle
|
||||
# them more uniformly irlen too...)
|
||||
|
||||
if [catch {transport select}] {
|
||||
echo "Error: unable to select a session transport. Can't continue."
|
||||
shutdown
|
||||
}
|
||||
|
||||
proc swj_newdap {chip tag args} {
|
||||
if [using_hla] {
|
||||
eval hla newtap $chip $tag $args
|
||||
} elseif [using_jtag] {
|
||||
eval jtag newtap $chip $tag $args
|
||||
} elseif [using_swd] {
|
||||
eval swd newdap $chip $tag $args
|
||||
}
|
||||
}
|
||||
# ARM Debug Interface V5 (ADI_V5) utility
|
||||
# ... Mostly for SWJ-DP (not SW-DP or JTAG-DP, since
|
||||
# SW-DP and JTAG-DP targets don't need to switch based
|
||||
# on which transport is active.
|
||||
#
|
||||
# declare a JTAG or SWD Debug Access Point (DAP)
|
||||
# based on the transport in use with this session.
|
||||
# You can't access JTAG ops when SWD is active, etc.
|
||||
|
||||
# params are currently what "jtag newtap" uses
|
||||
# because OpenOCD internals are still strongly biased
|
||||
# to JTAG .... but for SWD, "irlen" etc are ignored,
|
||||
# and the internals work differently
|
||||
|
||||
# for now, ignore non-JTAG and non-SWD transports
|
||||
# (e.g. initial flash programming via SPI or UART)
|
||||
|
||||
# split out "chip" and "tag" so we can someday handle
|
||||
# them more uniformly irlen too...)
|
||||
|
||||
if [catch {transport select}] {
|
||||
echo "Error: unable to select a session transport. Can't continue."
|
||||
shutdown
|
||||
}
|
||||
|
||||
proc swj_newdap {chip tag args} {
|
||||
if [using_hla] {
|
||||
eval hla newtap $chip $tag $args
|
||||
} elseif [using_jtag] {
|
||||
eval jtag newtap $chip $tag $args
|
||||
} elseif [using_swd] {
|
||||
eval swd newdap $chip $tag $args
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
rem if you have an older Rev C discovery please update to latest Rev D firmware
|
||||
|
||||
rem As of March 2017 this enabled GDB debugging using ARM Eclipse plug-in
|
||||
|
||||
openocd\openocd.exe -f openocd/stm32f429disc1.cfg -c init -c reset
|
||||
rem if you have an older Rev C discovery please update to latest Rev D firmware
|
||||
|
||||
rem As of March 2017 this enabled GDB debugging using ARM Eclipse plug-in
|
||||
|
||||
openocd\openocd.exe -f openocd/stm32f429disc1.cfg -c init -c reset
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
zip -j rusefi_simulator.zip win32_functional_tests/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar
|
||||
|
||||
echo user u71977750-build> ftpcmd.dat
|
||||
echo XXX >> ftpcmd.dat
|
||||
echo bin>> ftpcmd.dat
|
||||
echo put rusefi_simulator.zip separate_files/rusefi_simulator.zip >> ftpcmd.dat
|
||||
echo put temp/rusefi_bundle.zip rusefi_bundle.zip >> ftpcmd.dat
|
||||
echo quit>> ftpcmd.dat
|
||||
|
||||
ftp -n -s:ftpcmd.dat rusefi.com
|
||||
|
||||
zip -j rusefi_simulator.zip win32_functional_tests/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar
|
||||
|
||||
echo user u71977750-build> ftpcmd.dat
|
||||
echo XXX >> ftpcmd.dat
|
||||
echo bin>> ftpcmd.dat
|
||||
echo put rusefi_simulator.zip separate_files/rusefi_simulator.zip >> ftpcmd.dat
|
||||
echo put temp/rusefi_bundle.zip rusefi_bundle.zip >> ftpcmd.dat
|
||||
echo quit>> ftpcmd.dat
|
||||
|
||||
ftp -n -s:ftpcmd.dat rusefi.com
|
||||
|
|
|
@ -1,50 +1,50 @@
|
|||
#!/bin/bash
|
||||
echo "The PATH is ${PATH}"
|
||||
cd "${WORKSPACE}"
|
||||
echo "start in workspace ${PWD}"
|
||||
|
||||
cd firmware
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
make
|
||||
|
||||
if [ ! -f build/rusefi.hex ]; then
|
||||
echo "Firmware compilation failed"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
cd "${WORKSPACE}/win32_algo_tests"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
make
|
||||
if [ ! -f build/rusefi_test ]; then
|
||||
echo "test compilation failed"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# we want to terminate if test fails
|
||||
set -e
|
||||
|
||||
# invoke the tests - hopefully error code would be propagated?
|
||||
build/rusefi_test
|
||||
|
||||
cd "${WORKSPACE}/java_console"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
ant
|
||||
|
||||
cd "${WORKSPACE}"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
zip -j firmware/build/rusefi_firmware.zip firmware/build/rusefi.hex firmware/tunerstudio/rusefi.ini
|
||||
|
||||
echo user u71977750-build pass > ftp.cmd
|
||||
echo put firmware/build/rusefi_firmware.zip rusefi_firmware.zip >> ftp.cmd
|
||||
echo put java_console_binary/rusefi_console.jar rusefi_console.jar >> ftp.cmd
|
||||
ftp -npiv rusefi.com < ftp.cmd
|
||||
cat ftp.cmd
|
||||
#!/bin/bash
|
||||
echo "The PATH is ${PATH}"
|
||||
cd "${WORKSPACE}"
|
||||
echo "start in workspace ${PWD}"
|
||||
|
||||
cd firmware
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
make
|
||||
|
||||
if [ ! -f build/rusefi.hex ]; then
|
||||
echo "Firmware compilation failed"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
cd "${WORKSPACE}/win32_algo_tests"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
make
|
||||
if [ ! -f build/rusefi_test ]; then
|
||||
echo "test compilation failed"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# we want to terminate if test fails
|
||||
set -e
|
||||
|
||||
# invoke the tests - hopefully error code would be propagated?
|
||||
build/rusefi_test
|
||||
|
||||
cd "${WORKSPACE}/java_console"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
ant
|
||||
|
||||
cd "${WORKSPACE}"
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
zip -j firmware/build/rusefi_firmware.zip firmware/build/rusefi.hex firmware/tunerstudio/rusefi.ini
|
||||
|
||||
echo user u71977750-build pass > ftp.cmd
|
||||
echo put firmware/build/rusefi_firmware.zip rusefi_firmware.zip >> ftp.cmd
|
||||
echo put java_console_binary/rusefi_console.jar rusefi_console.jar >> ftp.cmd
|
||||
ftp -npiv rusefi.com < ftp.cmd
|
||||
cat ftp.cmd
|
||||
rm ftp.cmd
|
File diff suppressed because it is too large
Load Diff
|
@ -1,99 +1,99 @@
|
|||
TunerStudio 2.6.01 started on Fri Jul 04 17:05:33 EDT 2014
|
||||
JRE 1.7.0_60, Windows 7 6.1, x86
|
||||
java.library.path=lib
|
||||
TunerStudioMS.jar
|
||||
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
|
||||
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
|
||||
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
|
||||
Look:Windows, ClassName:'com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
|
||||
Look:Windows Classic, ClassName:'com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel'
|
||||
Setting Look & Feel to:javax.swing.plaf.metal.MetalLookAndFeel
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for F resolved to: x46 F
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for I resolved to: x49 I
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for f resolved to: x66 f
|
||||
7/4/14 5:05:34 PM :Debug: App Name:TunerStudio, appEdition:MS Lite!
|
||||
7/4/14 5:05:36 PM :Debug: Time to retreive font name list: 42 ms.
|
||||
TunerStudio 2.6.01 started on Fri Jul 04 17:05:33 EDT 2014
|
||||
JRE 1.7.0_60, Windows 7 6.1, x86
|
||||
java.library.path=lib
|
||||
TunerStudioMS.jar
|
||||
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
|
||||
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
|
||||
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
|
||||
Look:Windows, ClassName:'com.sun.java.swing.plaf.windows.WindowsLookAndFeel'
|
||||
Look:Windows Classic, ClassName:'com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel'
|
||||
Setting Look & Feel to:javax.swing.plaf.metal.MetalLookAndFeel
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for F resolved to: x46 F
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for I resolved to: x49 I
|
||||
7/4/14 5:05:34 PM :Debug: Command Non-VolatileBytes for f resolved to: x66 f
|
||||
7/4/14 5:05:34 PM :Debug: App Name:TunerStudio, appEdition:MS Lite!
|
||||
7/4/14 5:05:36 PM :Debug: Time to retreive font name list: 42 ms.
|
||||
WARNING: RXTX Version mismatch
|
||||
Jar version = RXTX-2.2pre1
|
||||
native lib Version = RXTX-2.1-7
|
||||
7/4/14 5:05:36 PM :Info: Initialized RXTX driver: 11ms.
|
||||
No check, last update check=Fri Jul 04 15:49:57 EDT 2014
|
||||
MSmain: No check, last update check=Fri Jul 04 15:49:54 EDT 2014
|
||||
MSad: No check, last update check=Fri Jul 04 15:49:57 EDT 2014
|
||||
7/4/14 5:05:47 PM :Debug: Opening project: C:\Users\pc\Documents\TunerStudioProjects\MyCar
|
||||
7/4/14 5:05:47 PM :Debug: Reading translation file as plain text because: fast binary headers not found. probably not a fast binary file
|
||||
7/4/14 5:05:47 PM :Debug: Filtered ConfigurationOptionGroup in 34ms.
|
||||
7/4/14 5:05:47 PM :Info: Read file canPcVariables.ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Info: Filtered ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Info: Loading Trigger Wheels
|
||||
7/4/14 5:05:47 PM :Info: Loaded All known ini sections
|
||||
7/4/14 5:05:47 PM :Info: Parsed and validated ini "canPcVariables.ini" in : 22ms.
|
||||
7/4/14 5:05:47 PM :Info: Read file mainController.ini: 1.0ms
|
||||
7/4/14 5:05:47 PM :Info: Filtered ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Debug: ini signature: MShift v0.01
|
||||
7/4/14 5:05:47 PM :Info: Set Write Blocks on = true
|
||||
7/4/14 5:05:47 PM :Info: Loading Trigger Wheels
|
||||
7/4/14 5:05:47 PM :Info: Loaded All known ini sections
|
||||
7/4/14 5:05:47 PM :Info: Parsed and validated ini "mainController.ini" in : 25ms.
|
||||
7/4/14 5:05:47 PM :Info: Not Loading default Tools because non are defined for signature: MShift v0.01
|
||||
7/4/14 5:05:48 PM :Debug: Adding Configuration: MyCar
|
||||
7/4/14 5:05:48 PM :Info: Tune opened, 2256 bytes updated. File:C:\Users\pc\Documents\TunerStudioProjects\MyCar\CurrentTune.msq
|
||||
7/4/14 5:05:48 PM :Debug: Flush lasted: 0ms.
|
||||
7/4/14 5:05:48 PM :Info: !!! Loaded config in 321
|
||||
7/4/14 5:05:48 PM :Info: Opening port: COM18
|
||||
7/4/14 5:05:48 PM :Debug: 0ms. - added Port
|
||||
7/4/14 5:05:48 PM :Debug: 15ms. - 1st got port
|
||||
7/4/14 5:05:48 PM :Debug: 15ms. - got port
|
||||
7/4/14 5:05:48 PM :Debug: 25ms. - setParameters
|
||||
7/4/14 5:05:48 PM :Debug: Monitoring COM18 @ 115200 baud for controllers.
|
||||
7/4/14 5:05:48 PM :Debug: Started new CommThread for MyCar
|
||||
7/4/14 5:05:48 PM :Info: Comm Manager for MyCar Started
|
||||
7/4/14 5:05:48 PM :Debug: commThreadExpectedReturnTime set to ms from now: 1220
|
||||
7/4/14 5:05:48 PM :Debug: Comm Read Thread Change! Old Thread:null, new Thread:COMM Thread767.0493304470116
|
||||
7/4/14 5:05:48 PM :Info: Started Comms Watchdog
|
||||
7/4/14 5:05:48 PM :Info: !!! Activated Project 445
|
||||
native lib Version = RXTX-2.1-7
|
||||
7/4/14 5:05:36 PM :Info: Initialized RXTX driver: 11ms.
|
||||
No check, last update check=Fri Jul 04 15:49:57 EDT 2014
|
||||
MSmain: No check, last update check=Fri Jul 04 15:49:54 EDT 2014
|
||||
MSad: No check, last update check=Fri Jul 04 15:49:57 EDT 2014
|
||||
7/4/14 5:05:47 PM :Debug: Opening project: C:\Users\pc\Documents\TunerStudioProjects\MyCar
|
||||
7/4/14 5:05:47 PM :Debug: Reading translation file as plain text because: fast binary headers not found. probably not a fast binary file
|
||||
7/4/14 5:05:47 PM :Debug: Filtered ConfigurationOptionGroup in 34ms.
|
||||
7/4/14 5:05:47 PM :Info: Read file canPcVariables.ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Info: Filtered ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Info: Loading Trigger Wheels
|
||||
7/4/14 5:05:47 PM :Info: Loaded All known ini sections
|
||||
7/4/14 5:05:47 PM :Info: Parsed and validated ini "canPcVariables.ini" in : 22ms.
|
||||
7/4/14 5:05:47 PM :Info: Read file mainController.ini: 1.0ms
|
||||
7/4/14 5:05:47 PM :Info: Filtered ini: 0.0ms
|
||||
7/4/14 5:05:47 PM :Debug: ini signature: MShift v0.01
|
||||
7/4/14 5:05:47 PM :Info: Set Write Blocks on = true
|
||||
7/4/14 5:05:47 PM :Info: Loading Trigger Wheels
|
||||
7/4/14 5:05:47 PM :Info: Loaded All known ini sections
|
||||
7/4/14 5:05:47 PM :Info: Parsed and validated ini "mainController.ini" in : 25ms.
|
||||
7/4/14 5:05:47 PM :Info: Not Loading default Tools because non are defined for signature: MShift v0.01
|
||||
7/4/14 5:05:48 PM :Debug: Adding Configuration: MyCar
|
||||
7/4/14 5:05:48 PM :Info: Tune opened, 2256 bytes updated. File:C:\Users\pc\Documents\TunerStudioProjects\MyCar\CurrentTune.msq
|
||||
7/4/14 5:05:48 PM :Debug: Flush lasted: 0ms.
|
||||
7/4/14 5:05:48 PM :Info: !!! Loaded config in 321
|
||||
7/4/14 5:05:48 PM :Info: Opening port: COM18
|
||||
7/4/14 5:05:48 PM :Debug: 0ms. - added Port
|
||||
7/4/14 5:05:48 PM :Debug: 15ms. - 1st got port
|
||||
7/4/14 5:05:48 PM :Debug: 15ms. - got port
|
||||
7/4/14 5:05:48 PM :Debug: 25ms. - setParameters
|
||||
7/4/14 5:05:48 PM :Debug: Monitoring COM18 @ 115200 baud for controllers.
|
||||
7/4/14 5:05:48 PM :Debug: Started new CommThread for MyCar
|
||||
7/4/14 5:05:48 PM :Info: Comm Manager for MyCar Started
|
||||
7/4/14 5:05:48 PM :Debug: commThreadExpectedReturnTime set to ms from now: 1220
|
||||
7/4/14 5:05:48 PM :Debug: Comm Read Thread Change! Old Thread:null, new Thread:COMM Thread767.0493304470116
|
||||
7/4/14 5:05:48 PM :Info: Started Comms Watchdog
|
||||
7/4/14 5:05:48 PM :Info: !!! Activated Project 445
|
||||
7/4/14 5:05:48 PM :Time: 0:00.283: SENT, 1 bytes
|
||||
x46 F
|
||||
|
||||
7/4/14 5:05:48 PM :Debug: High Speed Paint: true
|
||||
7/4/14 5:05:48 PM :Debug: !!! Opened Dash 477
|
||||
7/4/14 5:05:48 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
|
||||
7/4/14 5:05:48 PM :Debug: High Speed Paint: true
|
||||
7/4/14 5:05:48 PM :Debug: !!! Opened Dash 477
|
||||
7/4/14 5:05:48 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
7/4/14 5:05:48 PM :Time: 0:00.883: Received, 3 bytes
|
||||
x30 x30 x31 001
|
||||
|
||||
|
||||
7/4/14 5:05:48 PM :Time: 0:00.883: SENT, 7 bytes
|
||||
x00 x01 x48 xAA x05 x26 x2F ..H..&/
|
||||
|
||||
7/4/14 5:05:49 PM :Info: Communicating with Bowling & Grippo MS1 Base Code MShift v0.01
|
||||
|
||||
7/4/14 5:05:49 PM :Info: Communicating with Bowling & Grippo MS1 Base Code MShift v0.01
|
||||
7/4/14 5:05:49 PM :Time: 0:01.684: Received, 3 bytes
|
||||
x00 x0E x00 ...
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.684: Received, 17 bytes
|
||||
x4D x53 x68 x69 x66 x74 x20 x76 x30 x2E x30 x31 x00 xB1 x45 x6A MShift.v0.01..Ej
|
||||
x84 .
|
||||
|
||||
Time: 0:01.687: Received Instruction:
|
||||
Time: 0:01.696: Processing Instruction:
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.0 complete
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
|
||||
Time: 0:01.687: Received Instruction:
|
||||
Time: 0:01.696: Processing Instruction:
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.0 complete
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
7/4/14 5:05:49 PM :Time: 0:01.717: SENT, 9 bytes
|
||||
x00 x03 x50 x00 x00 x93 xFD xF7 xA2 ..P......
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
7/4/14 5:05:49 PM :Time: 0:01.766: Received, 3 bytes
|
||||
x00 x01 x00 ...
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.767: Received, 4 bytes
|
||||
xD2 x02 xEF x8D ....
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.767: SENT, 13 bytes
|
||||
x00 x07 x52 x00 x00 x00 x00 x64 x05 x58 xDD x7D xCC ..R....d.X.}.
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Read page time: 51ms.
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:49 PM :Time: 0:01.817: Received, 3 bytes
|
||||
x05 x65 x00 .e.
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.25 complete
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.25 complete
|
||||
7/4/14 5:05:49 PM :Time: 0:01.818: Received, 1384 bytes
|
||||
x00 x00 x00 x00 x9A x99 xEF x42 x00 x00 x00 x41 x00 x00 x10 x41 .......B...A...A
|
||||
x00 x00 x20 x41 x00 x00 x30 x41 x00 x00 x40 x41 x00 x00 x50 x41 ...A..0A..@A..PA
|
||||
|
@ -182,26 +182,26 @@ x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 ..........
|
|||
x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 ................
|
||||
x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 ................
|
||||
x00 x00 x00 x00 xB2 xF2 xA1 xBB ........
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
7/4/14 5:05:49 PM :Time: 0:01.828: SENT, 9 bytes
|
||||
x00 x03 x50 x00 x00 x93 xFD xF7 xA2 ..P......
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.877: Received, 3 bytes
|
||||
x00 x01 x00 ...
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.878: Received, 4 bytes
|
||||
xD2 x02 xEF x8D ....
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
7/4/14 5:05:49 PM :Time: 0:01.878: SENT, 13 bytes
|
||||
x00 x07 x52 x00 x00 x00 x00 x44 x01 xCA x34 x9D x77 ..R....D..4.w
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Read page time: 51ms.
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:49 PM :Time: 0:01.929: Received, 3 bytes
|
||||
x01 x45 x00 .E.
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.5 complete
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: Reading ECU Data, 0.5 complete
|
||||
7/4/14 5:05:49 PM :Time: 0:01.929: Received, 328 bytes
|
||||
x00 x00 x00 x00 x9A x99 xEF x42 x00 x00 x00 x41 x00 x00 x10 x41 .......B...A...A
|
||||
x00 x00 x20 x41 x00 x00 x30 x41 x00 x00 x40 x41 x00 x00 x50 x41 ...A..0A..@A..PA
|
||||
|
@ -224,26 +224,26 @@ x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F ...?...?..
|
|||
x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F ...?...?...?...?
|
||||
x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F x00 x00 x80 x3F ...?...?...?...?
|
||||
x00 x00 x80 x3F x9E xB1 xC9 x0D ...?....
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
7/4/14 5:05:49 PM :Time: 0:01.939: SENT, 9 bytes
|
||||
x00 x03 x50 x00 x00 x93 xFD xF7 xA2 ..P......
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
|
||||
7/4/14 5:05:49 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
7/4/14 5:05:49 PM :Time: 0:01.989: Received, 3 bytes
|
||||
x00 x01 x00 ...
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.989: Received, 4 bytes
|
||||
xD2 x02 xEF x8D ....
|
||||
|
||||
|
||||
7/4/14 5:05:49 PM :Time: 0:01.990: SENT, 13 bytes
|
||||
x00 x07 x52 x00 x00 x00 x00 x00 x04 x2E x4B xE3 xF9 ..R.......K..
|
||||
|
||||
|
||||
7/4/14 5:05:50 PM :Time: 0:02.039: Received, 3 bytes
|
||||
x04 x01 x00 ...
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:50 PM :Debug: Reading ECU Data, 0.75 complete
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:50 PM :Debug: Reading ECU Data, 0.75 complete
|
||||
7/4/14 5:05:50 PM :Time: 0:02.040: Received, 1028 bytes
|
||||
x00 x00 x00 x00 x9A x99 xEF x42 x00 x00 x00 x41 x00 x00 x10 x41 .......B...A...A
|
||||
x00 x00 x20 x41 x00 x00 x30 x41 x00 x00 x40 x41 x00 x00 x50 x41 ...A..0A..@A..PA
|
||||
|
@ -310,26 +310,26 @@ x04 x00 x00 x00 x00 x00 x00 x00 x01 x00 x00 x00 x00 x00 x00 x3F ..........
|
|||
x01 x00 x00 x00 x00 x00 x00 x00 xA0 x52 x33 x01 x14 x00 x00 x00 .........R3.....
|
||||
x04 x00 x00 x00 x03 x00 x00 x00 x01 x00 x00 x00 x14 x00 x00 x00 ................
|
||||
x15 x1F x50 x47 ..PG
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20180
|
||||
7/4/14 5:05:50 PM :Time: 0:02.051: SENT, 9 bytes
|
||||
x00 x03 x50 x00 x00 x93 xFD xF7 xA2 ..P......
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20260
|
||||
7/4/14 5:05:50 PM :Time: 0:02.101: Received, 3 bytes
|
||||
x00 x01 x00 ...
|
||||
|
||||
|
||||
7/4/14 5:05:50 PM :Time: 0:02.101: Received, 4 bytes
|
||||
xD2 x02 xEF x8D ....
|
||||
|
||||
|
||||
7/4/14 5:05:50 PM :Time: 0:02.101: SENT, 13 bytes
|
||||
x00 x07 x52 x00 x00 x00 x00 x00 x04 x2E x4B xE3 xF9 ..R.......K..
|
||||
|
||||
|
||||
7/4/14 5:05:50 PM :Time: 0:02.152: Received, 3 bytes
|
||||
x04 x01 x00 ...
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:50 PM :Debug: Reading ECU Data, 1.0 complete
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read page time: 51ms.
|
||||
7/4/14 5:05:50 PM :Debug: Reading ECU Data, 1.0 complete
|
||||
7/4/14 5:05:50 PM :Time: 0:02.152: Received, 1028 bytes
|
||||
x00 x00 x00 x00 x9A x99 xEF x42 x00 x00 x00 x41 x00 x00 x10 x41 .......B...A...A
|
||||
x00 x00 x20 x41 x00 x00 x30 x41 x00 x00 x40 x41 x00 x00 x50 x41 ...A..0A..@A..PA
|
||||
|
@ -396,31 +396,31 @@ x04 x00 x00 x00 x00 x00 x00 x00 x01 x00 x00 x00 x00 x00 x00 x3F ..........
|
|||
x01 x00 x00 x00 x00 x00 x00 x00 xA0 x52 x33 x01 x14 x00 x00 x00 .........R3.....
|
||||
x04 x00 x00 x00 x03 x00 x00 x00 x01 x00 x00 x00 x14 x00 x00 x00 ................
|
||||
x15 x1F x50 x47 ..PG
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read All Data
|
||||
7/4/14 5:05:50 PM :Debug: isBlank Time: 0 ms.
|
||||
7/4/14 5:05:50 PM :Debug: Real OchDelay for MyCar: 50, timeout=300
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
Time: 0:02.153: Processing Complete:
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: Read All Data
|
||||
7/4/14 5:05:50 PM :Debug: isBlank Time: 0 ms.
|
||||
7/4/14 5:05:50 PM :Debug: Real OchDelay for MyCar: 50, timeout=300
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
Time: 0:02.153: Processing Complete:
|
||||
7/4/14 5:05:50 PM :Time: 0:02.154: SENT, 7 bytes
|
||||
x00 x01 x4F x34 x61 xB3 x8C ..O4a..
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: DiffTime: 6 ms.
|
||||
7/4/14 5:05:50 PM :Debug: Time to get Panels = 0ms.
|
||||
7/4/14 5:05:50 PM :Debug: old style time to read outpc: 49 ms.
|
||||
|
||||
7/4/14 5:05:50 PM :Debug: DiffTime: 6 ms.
|
||||
7/4/14 5:05:50 PM :Debug: Time to get Panels = 0ms.
|
||||
7/4/14 5:05:50 PM :Debug: old style time to read outpc: 49 ms.
|
||||
7/4/14 5:05:50 PM :Time: 0:02.204: Received, 3 bytes
|
||||
x00 x35 x00 .5.
|
||||
|
||||
|
||||
7/4/14 5:05:50 PM :Time: 0:02.204: Received, 56 bytes
|
||||
xF0 x00 x00 x00 x76 x30 x19 x42 x8F x86 x89 x42 xE0 x89 x9D x3E ....v0.B...B...>
|
||||
x75 x4A x27 x3F x08 x84 x10 x41 x00 x00 x00 x00 x02 x0B x30 x3D uJ'?...A......0=
|
||||
x66 x00 x00 x00 xB9 x8B x3B x42 x00 x00 xC0 x7F x01 x00 x00 x00 f.....;B.......
|
||||
xA0 xA7 x37 x42 x59 x00 x00 xCC ..7BY...
|
||||
|
||||
7/4/14 5:05:50 PM :Info: dr: 0:47
|
||||
7/4/14 5:05:50 PM :Debug: Range Sort Time: 0
|
||||
7/4/14 5:05:50 PM :Debug: Real OchDelay for MyCar: 50, timeout=300
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
|
||||
7/4/14 5:05:50 PM :Info: dr: 0:47
|
||||
7/4/14 5:05:50 PM :Debug: Range Sort Time: 0
|
||||
7/4/14 5:05:50 PM :Debug: Real OchDelay for MyCar: 50, timeout=300
|
||||
7/4/14 5:05:50 PM :Debug: commThreadExpectedReturnTime set to ms from now: 20140
|
||||
7/4/14 5:05:50 PM :Time: 0:02.215: SENT, 7 bytes
|
||||
x00 x01 x4F x34 x61 xB3 x8C ..O4a..
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,77 +1,77 @@
|
|||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=1
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 19:21:43
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 106846 msgs/S, 213692 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 91032 msgs/S, 182064 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 91062 msgs/S, 182124 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 380152 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 65031 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 105088 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 30909 reschedules/S, 185454 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 250940 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 388708 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 343632 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 307664 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 299168 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3180 bytes
|
||||
--- Thread: 84 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=1
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 19:21:43
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 106846 msgs/S, 213692 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 91032 msgs/S, 182064 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 91062 msgs/S, 182124 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 380152 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 65031 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 105088 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 30909 reschedules/S, 185454 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 250940 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 388708 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 343632 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 307664 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 299168 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3180 bytes
|
||||
--- Thread: 84 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1,79 +1,79 @@
|
|||
|
||||
EFI_SHAFT_POSITION_INPUT=1
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=1
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 19:29:31
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 107257 msgs/S, 214514 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 91390 msgs/S, 182780 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 91494 msgs/S, 182988 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 381256 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 65280 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 105550 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 31046 reschedules/S, 186276 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 251860 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 390116 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 350956 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 308780 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 300260 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3180 bytes
|
||||
--- Thread: 84 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
EFI_SHAFT_POSITION_INPUT=1
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=1
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 19:29:31
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 107257 msgs/S, 214514 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 91390 msgs/S, 182780 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 91494 msgs/S, 182988 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 381256 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 65280 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 105550 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 31046 reschedules/S, 186276 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 251860 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 390116 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 350956 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 308780 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 300260 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3180 bytes
|
||||
--- Thread: 84 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,84 +1,84 @@
|
|||
|
||||
EFI_SHAFT_POSITION_INPUT=1
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=0
|
||||
CH_DBG_SYSTEM_STATE_CHECK=1
|
||||
CH_DBG_ENABLE_CHECKS=0
|
||||
CH_DBG_ENABLE_ASSERTS=0
|
||||
CH_DBG_ENABLE_STACK_CHECK=0
|
||||
CH_DBG_THREADS_PROFILING=0
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 20:21:09
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 123421 msgs/S, 246842 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 105558 msgs/S, 211116 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 105671 msgs/S, 211342 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 471536 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 79851 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 121381 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 36893 reschedules/S, 221358 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 297948 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 392824 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 379438 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 358984 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 326936 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3164 bytes
|
||||
--- Thread: 76 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
EFI_SHAFT_POSITION_INPUT=1
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=1
|
||||
EFI_INTERNAL_ADC=0
|
||||
CH_DBG_SYSTEM_STATE_CHECK=1
|
||||
CH_DBG_ENABLE_CHECKS=0
|
||||
CH_DBG_ENABLE_ASSERTS=0
|
||||
CH_DBG_ENABLE_STACK_CHECK=0
|
||||
CH_DBG_THREADS_PROFILING=0
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 20:21:09
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 123421 msgs/S, 246842 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 105558 msgs/S, 211116 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 105671 msgs/S, 211342 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 471536 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 79851 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 121381 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 36893 reschedules/S, 221358 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 297948 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 392824 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 379438 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 358984 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 326936 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3164 bytes
|
||||
--- Thread: 76 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
|
|
@ -1,91 +1,91 @@
|
|||
EFI_SHAFT_POSITION_INPUT=0
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=0
|
||||
EFI_HD44780_LCD=0
|
||||
EFI_MAP_AVERAGING=0
|
||||
EFI_WAVE_ANALYZER=0
|
||||
EFI_WAVE_CHART=0
|
||||
EFI_ANALOG_CHART=0
|
||||
EFI_SHAFT_POSITION_INPUT=0
|
||||
EFI_ENGINE_CONTROL=0
|
||||
CH_DBG_SYSTEM_STATE_CHECK=1
|
||||
CH_DBG_ENABLE_CHECKS=0
|
||||
CH_DBG_ENABLE_ASSERTS=0
|
||||
CH_DBG_ENABLE_STACK_CHECK=0
|
||||
CH_DBG_THREADS_PROFILING=0
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 23:37:48
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 199330 msgs/S, 398660 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 170472 msgs/S, 340944 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 170471 msgs/S, 340942 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 756752 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 130042 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 196372 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 59609 reschedules/S, 357654 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 479164 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 630204 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 611438 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 574200 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 523264 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3164 bytes
|
||||
--- Thread: 76 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Final result: SUCCESS
|
||||
EFI_SHAFT_POSITION_INPUT=0
|
||||
EFI_EMULATE_POSITION_SENSORS=0
|
||||
EFI_ANALOG_INPUTS=0
|
||||
EFI_HD44780_LCD=0
|
||||
EFI_MAP_AVERAGING=0
|
||||
EFI_WAVE_ANALYZER=0
|
||||
EFI_WAVE_CHART=0
|
||||
EFI_ANALOG_CHART=0
|
||||
EFI_SHAFT_POSITION_INPUT=0
|
||||
EFI_ENGINE_CONTROL=0
|
||||
CH_DBG_SYSTEM_STATE_CHECK=1
|
||||
CH_DBG_ENABLE_CHECKS=0
|
||||
CH_DBG_ENABLE_ASSERTS=0
|
||||
CH_DBG_ENABLE_STACK_CHECK=0
|
||||
CH_DBG_THREADS_PROFILING=0
|
||||
|
||||
*** ChibiOS/RT test suite
|
||||
***
|
||||
*** Kernel: 2.6.3
|
||||
*** Compiled: Jun 21 2014 - 23:37:48
|
||||
*** Compiler: GCC 4.7.4 20130613 (release) [ARM/embedded-4_7-branch revision 200083]
|
||||
*** Architecture: ARMv7-ME
|
||||
*** Core Variant: Cortex-M4F
|
||||
*** Port Info: Advanced kernel mode
|
||||
*** Platform: STM32F407/F417 High Performance with DSP and FPU
|
||||
*** Test Board: STMicroelectronics STM32F4-Discovery
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.1 (Benchmark, messages #1)
|
||||
--- Score : 199330 msgs/S, 398660 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.2 (Benchmark, messages #2)
|
||||
--- Score : 170472 msgs/S, 340944 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.3 (Benchmark, messages #3)
|
||||
--- Score : 170471 msgs/S, 340942 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.4 (Benchmark, context switch)
|
||||
--- Score : 756752 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.5 (Benchmark, threads, full cycle)
|
||||
--- Score : 130042 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.6 (Benchmark, threads, create only)
|
||||
--- Score : 196372 threads/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.7 (Benchmark, mass reschedule, 5 threads)
|
||||
--- Score : 59609 reschedules/S, 357654 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.8 (Benchmark, round robin context switching)
|
||||
--- Score : 479164 ctxswc/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.9 (Benchmark, I/O Queues throughput)
|
||||
--- Score : 630204 bytes/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.10 (Benchmark, virtual timers set/reset)
|
||||
--- Score : 611438 timers/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.11 (Benchmark, semaphores wait/signal)
|
||||
--- Score : 574200 wait+signal/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.12 (Benchmark, mutexes lock/unlock)
|
||||
--- Score : 523264 lock+unlock/S
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
--- Test Case 1.13 (Benchmark, RAM footprint)
|
||||
--- System: 3164 bytes
|
||||
--- Thread: 76 bytes
|
||||
--- Timer : 20 bytes
|
||||
--- Semaph: 12 bytes
|
||||
--- EventS: 4 bytes
|
||||
--- EventL: 16 bytes
|
||||
--- Mutex : 16 bytes
|
||||
--- CondV.: 8 bytes
|
||||
--- Queue : 36 bytes
|
||||
--- MailB.: 40 bytes
|
||||
--- Result: SUCCESS
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Final result: SUCCESS
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="0.539548154">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.539548154" moduleId="org.eclipse.cdt.core.settings" name="Default">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="0.539548154" name="Default" parent="org.eclipse.cdt.build.core.prefbase.cfg">
|
||||
<folderInfo id="0.539548154." name="/" resourcePath="">
|
||||
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.1743759718" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
|
||||
<targetPlatform id="org.eclipse.cdt.build.core.prefbase.toolchain.1743759718.163416004" name=""/>
|
||||
<builder autoBuildTarget="all" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="org.eclipse.cdt.build.core.settings.default.builder.1496776929" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.1194238367" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.781013241" name="Assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.424462599" languageId="org.eclipse.cdt.core.assembly" languageName="Assembly" sourceContentType="org.eclipse.cdt.core.asmSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.1280737601" name="GNU C++" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.49735864" languageId="org.eclipse.cdt.core.g++" languageName="GNU C++" sourceContentType="org.eclipse.cdt.core.cxxSource,org.eclipse.cdt.core.cxxHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.1205432135" name="GNU C" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1755774820" languageId="org.eclipse.cdt.core.gcc" languageName="GNU C" sourceContentType="org.eclipse.cdt.core.cSource,org.eclipse.cdt.core.cHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="ARMCM3-STM32F103RB-NUCLEO.null.494699019" name="ARMCM3-STM32F103RB-NUCLEO"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="0.539548154">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
</cproject>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="0.539548154">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.539548154" moduleId="org.eclipse.cdt.core.settings" name="Default">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="0.539548154" name="Default" parent="org.eclipse.cdt.build.core.prefbase.cfg">
|
||||
<folderInfo id="0.539548154." name="/" resourcePath="">
|
||||
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.1743759718" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
|
||||
<targetPlatform id="org.eclipse.cdt.build.core.prefbase.toolchain.1743759718.163416004" name=""/>
|
||||
<builder autoBuildTarget="all" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="org.eclipse.cdt.build.core.settings.default.builder.1496776929" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.1194238367" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.781013241" name="Assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.424462599" languageId="org.eclipse.cdt.core.assembly" languageName="Assembly" sourceContentType="org.eclipse.cdt.core.asmSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.1280737601" name="GNU C++" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.49735864" languageId="org.eclipse.cdt.core.g++" languageName="GNU C++" sourceContentType="org.eclipse.cdt.core.cxxSource,org.eclipse.cdt.core.cxxHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
<tool id="org.eclipse.cdt.build.core.settings.holder.1205432135" name="GNU C" superClass="org.eclipse.cdt.build.core.settings.holder">
|
||||
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1755774820" languageId="org.eclipse.cdt.core.gcc" languageName="GNU C" sourceContentType="org.eclipse.cdt.core.cSource,org.eclipse.cdt.core.cHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="ARMCM3-STM32F103RB-NUCLEO.null.494699019" name="ARMCM3-STM32F103RB-NUCLEO"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="0.539548154">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
</cproject>
|
||||
|
|
|
@ -1,43 +1,43 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ARMCM3-STM32F103RB-NUCLEO</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>board</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/boards/ST_NUCLEO_F103RB</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>os</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/os</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>test</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/test</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ARMCM3-STM32F103RB-NUCLEO</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>board</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/boards/ST_NUCLEO_F103RB</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>os</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/os</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>test</name>
|
||||
<type>2</type>
|
||||
<locationURI>CHIBIOS/test</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
||||
|
|
|
@ -1,206 +1,206 @@
|
|||
##############################################################################
|
||||
# Build global options
|
||||
# NOTE: Can be overridden externally.
|
||||
#
|
||||
|
||||
# Compiler options here.
|
||||
ifeq ($(USE_OPT),)
|
||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||
endif
|
||||
|
||||
# C specific options here (added to USE_OPT).
|
||||
ifeq ($(USE_COPT),)
|
||||
USE_COPT =
|
||||
endif
|
||||
|
||||
# C++ specific options here (added to USE_OPT).
|
||||
ifeq ($(USE_CPPOPT),)
|
||||
USE_CPPOPT = -fno-rtti
|
||||
endif
|
||||
|
||||
# Enable this if you want the linker to remove unused code and data
|
||||
ifeq ($(USE_LINK_GC),)
|
||||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker extra options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# Enable this if you want link time optimizations (LTO)
|
||||
ifeq ($(USE_LTO),)
|
||||
USE_LTO = no
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in THUMB mode.
|
||||
ifeq ($(USE_THUMB),)
|
||||
USE_THUMB = yes
|
||||
endif
|
||||
|
||||
# Enable this if you want to see the full log while compiling.
|
||||
ifeq ($(USE_VERBOSE_COMPILE),)
|
||||
USE_VERBOSE_COMPILE = no
|
||||
endif
|
||||
|
||||
#
|
||||
# Build global options
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Architecture or project specific options
|
||||
#
|
||||
|
||||
#
|
||||
# Architecture or project specific options
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Project, sources and paths
|
||||
#
|
||||
|
||||
# Define project name here
|
||||
PROJECT = ch
|
||||
|
||||
# Imported source files and paths
|
||||
CHIBIOS = ../../firmware/chibios
|
||||
include $(CHIBIOS)/boards/ST_NUCLEO_F103RB/board.mk
|
||||
include $(CHIBIOS)/os/hal/platforms/STM32F1xx/platform.mk
|
||||
include $(CHIBIOS)/os/hal/hal.mk
|
||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
|
||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||
#include $(CHIBIOS)/test/test.mk
|
||||
|
||||
# Define linker script file here
|
||||
LDSCRIPT= $(CHIBIOS)/../config/stm32f1egt/STM32F103xB.ld
|
||||
|
||||
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
||||
# setting.
|
||||
CSRC = $(PORTSRC) \
|
||||
$(KERNSRC) \
|
||||
$(HALSRC) \
|
||||
$(PLATFORMSRC) \
|
||||
$(BOARDSRC) \
|
||||
main.c
|
||||
|
||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||
# setting.
|
||||
CPPSRC =
|
||||
|
||||
# C sources to be compiled in ARM mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
ACSRC =
|
||||
|
||||
# C++ sources to be compiled in ARM mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
ACPPSRC =
|
||||
|
||||
# C sources to be compiled in THUMB mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
TCSRC =
|
||||
|
||||
# C sources to be compiled in THUMB mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
TCPPSRC =
|
||||
|
||||
# List ASM source files here
|
||||
ASMSRC = $(PORTASM)
|
||||
|
||||
INCDIR = $(PORTINC) $(KERNINC) \
|
||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||
$(CHIBIOS)/os/various
|
||||
|
||||
#
|
||||
# Project, sources and paths
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Compiler settings
|
||||
#
|
||||
|
||||
MCU = cortex-m3
|
||||
|
||||
#TRGT = arm-elf-
|
||||
TRGT = arm-none-eabi-
|
||||
CC = $(TRGT)gcc
|
||||
CPPC = $(TRGT)g++
|
||||
# Enable loading with g++ only if you need C++ runtime support.
|
||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||
# runtime support makes code size explode.
|
||||
LD = $(TRGT)gcc
|
||||
#LD = $(TRGT)g++
|
||||
CP = $(TRGT)objcopy
|
||||
AS = $(TRGT)gcc -x assembler-with-cpp
|
||||
OD = $(TRGT)objdump
|
||||
SZ = $(TRGT)size
|
||||
HEX = $(CP) -O ihex
|
||||
BIN = $(CP) -O binary
|
||||
|
||||
# ARM-specific options here
|
||||
AOPT =
|
||||
|
||||
# THUMB-specific options here
|
||||
TOPT = -mthumb -DTHUMB
|
||||
|
||||
# Define C warning options here
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes
|
||||
|
||||
# Define C++ warning options here
|
||||
CPPWARN = -Wall -Wextra
|
||||
|
||||
#
|
||||
# Compiler settings
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Start of default section
|
||||
#
|
||||
|
||||
# List all default C defines here, like -D_DEBUG=1
|
||||
DDEFS =
|
||||
|
||||
# List all default ASM defines here, like -D_DEBUG=1
|
||||
DADEFS =
|
||||
|
||||
# List all default directories to look for include files here
|
||||
DINCDIR =
|
||||
|
||||
# List the default directory to look for the libraries here
|
||||
DLIBDIR =
|
||||
|
||||
# List all default libraries here
|
||||
DLIBS =
|
||||
|
||||
#
|
||||
# End of default section
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Start of user section
|
||||
#
|
||||
|
||||
# List all user C define here, like -D_DEBUG=1
|
||||
UDEFS =
|
||||
|
||||
# Define ASM defines here
|
||||
UADEFS =
|
||||
|
||||
# List all user directories here
|
||||
UINCDIR =
|
||||
|
||||
# List the user directory to look for the libraries here
|
||||
ULIBDIR =
|
||||
|
||||
# List all user libraries here
|
||||
ULIBS =
|
||||
|
||||
#
|
||||
# End of user defines
|
||||
##############################################################################
|
||||
|
||||
RULESPATH = $(CHIBIOS)/os/ports/GCC/ARMCMx
|
||||
include $(RULESPATH)/rules.mk
|
||||
##############################################################################
|
||||
# Build global options
|
||||
# NOTE: Can be overridden externally.
|
||||
#
|
||||
|
||||
# Compiler options here.
|
||||
ifeq ($(USE_OPT),)
|
||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||
endif
|
||||
|
||||
# C specific options here (added to USE_OPT).
|
||||
ifeq ($(USE_COPT),)
|
||||
USE_COPT =
|
||||
endif
|
||||
|
||||
# C++ specific options here (added to USE_OPT).
|
||||
ifeq ($(USE_CPPOPT),)
|
||||
USE_CPPOPT = -fno-rtti
|
||||
endif
|
||||
|
||||
# Enable this if you want the linker to remove unused code and data
|
||||
ifeq ($(USE_LINK_GC),)
|
||||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker extra options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# Enable this if you want link time optimizations (LTO)
|
||||
ifeq ($(USE_LTO),)
|
||||
USE_LTO = no
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in THUMB mode.
|
||||
ifeq ($(USE_THUMB),)
|
||||
USE_THUMB = yes
|
||||
endif
|
||||
|
||||
# Enable this if you want to see the full log while compiling.
|
||||
ifeq ($(USE_VERBOSE_COMPILE),)
|
||||
USE_VERBOSE_COMPILE = no
|
||||
endif
|
||||
|
||||
#
|
||||
# Build global options
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Architecture or project specific options
|
||||
#
|
||||
|
||||
#
|
||||
# Architecture or project specific options
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Project, sources and paths
|
||||
#
|
||||
|
||||
# Define project name here
|
||||
PROJECT = ch
|
||||
|
||||
# Imported source files and paths
|
||||
CHIBIOS = ../../firmware/chibios
|
||||
include $(CHIBIOS)/boards/ST_NUCLEO_F103RB/board.mk
|
||||
include $(CHIBIOS)/os/hal/platforms/STM32F1xx/platform.mk
|
||||
include $(CHIBIOS)/os/hal/hal.mk
|
||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
|
||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||
#include $(CHIBIOS)/test/test.mk
|
||||
|
||||
# Define linker script file here
|
||||
LDSCRIPT= $(CHIBIOS)/../config/stm32f1egt/STM32F103xB.ld
|
||||
|
||||
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
||||
# setting.
|
||||
CSRC = $(PORTSRC) \
|
||||
$(KERNSRC) \
|
||||
$(HALSRC) \
|
||||
$(PLATFORMSRC) \
|
||||
$(BOARDSRC) \
|
||||
main.c
|
||||
|
||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||
# setting.
|
||||
CPPSRC =
|
||||
|
||||
# C sources to be compiled in ARM mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
ACSRC =
|
||||
|
||||
# C++ sources to be compiled in ARM mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
ACPPSRC =
|
||||
|
||||
# C sources to be compiled in THUMB mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
TCSRC =
|
||||
|
||||
# C sources to be compiled in THUMB mode regardless of the global setting.
|
||||
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
|
||||
# option that results in lower performance and larger code size.
|
||||
TCPPSRC =
|
||||
|
||||
# List ASM source files here
|
||||
ASMSRC = $(PORTASM)
|
||||
|
||||
INCDIR = $(PORTINC) $(KERNINC) \
|
||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||
$(CHIBIOS)/os/various
|
||||
|
||||
#
|
||||
# Project, sources and paths
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Compiler settings
|
||||
#
|
||||
|
||||
MCU = cortex-m3
|
||||
|
||||
#TRGT = arm-elf-
|
||||
TRGT = arm-none-eabi-
|
||||
CC = $(TRGT)gcc
|
||||
CPPC = $(TRGT)g++
|
||||
# Enable loading with g++ only if you need C++ runtime support.
|
||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||
# runtime support makes code size explode.
|
||||
LD = $(TRGT)gcc
|
||||
#LD = $(TRGT)g++
|
||||
CP = $(TRGT)objcopy
|
||||
AS = $(TRGT)gcc -x assembler-with-cpp
|
||||
OD = $(TRGT)objdump
|
||||
SZ = $(TRGT)size
|
||||
HEX = $(CP) -O ihex
|
||||
BIN = $(CP) -O binary
|
||||
|
||||
# ARM-specific options here
|
||||
AOPT =
|
||||
|
||||
# THUMB-specific options here
|
||||
TOPT = -mthumb -DTHUMB
|
||||
|
||||
# Define C warning options here
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes
|
||||
|
||||
# Define C++ warning options here
|
||||
CPPWARN = -Wall -Wextra
|
||||
|
||||
#
|
||||
# Compiler settings
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Start of default section
|
||||
#
|
||||
|
||||
# List all default C defines here, like -D_DEBUG=1
|
||||
DDEFS =
|
||||
|
||||
# List all default ASM defines here, like -D_DEBUG=1
|
||||
DADEFS =
|
||||
|
||||
# List all default directories to look for include files here
|
||||
DINCDIR =
|
||||
|
||||
# List the default directory to look for the libraries here
|
||||
DLIBDIR =
|
||||
|
||||
# List all default libraries here
|
||||
DLIBS =
|
||||
|
||||
#
|
||||
# End of default section
|
||||
##############################################################################
|
||||
|
||||
##############################################################################
|
||||
# Start of user section
|
||||
#
|
||||
|
||||
# List all user C define here, like -D_DEBUG=1
|
||||
UDEFS =
|
||||
|
||||
# Define ASM defines here
|
||||
UADEFS =
|
||||
|
||||
# List all user directories here
|
||||
UINCDIR =
|
||||
|
||||
# List the user directory to look for the libraries here
|
||||
ULIBDIR =
|
||||
|
||||
# List all user libraries here
|
||||
ULIBS =
|
||||
|
||||
#
|
||||
# End of user defines
|
||||
##############################################################################
|
||||
|
||||
RULESPATH = $(CHIBIOS)/os/ports/GCC/ARMCMx
|
||||
include $(RULESPATH)/rules.mk
|
||||
|
|
|
@ -1,337 +1,337 @@
|
|||
:020000040800F2
|
||||
:100000000004002071010008B1020008B1020008DC
|
||||
:10001000B1020008B1020008B1020008B1020008F4
|
||||
:10002000B1020008B1020008B1020008D1020008C4
|
||||
:10003000B1020008B1020008B1020008B1030008D3
|
||||
:10004000B1020008B1020008B1020008B1020008C4
|
||||
:10005000B1020008B1020008B1020008B1020008B4
|
||||
:10006000B1020008B1020008B1020008B1020008A4
|
||||
:10007000B1020008B1020008B1020008B102000894
|
||||
:10008000B1020008B1020008B1020008B102000884
|
||||
:10009000B1020008B1020008B1020008B102000874
|
||||
:1000A000B1020008B1020008B1020008B102000864
|
||||
:1000B000B1020008B1020008B1020008B102000854
|
||||
:1000C000B1020008B1020008B1020008B102000844
|
||||
:1000D000B1020008B1020008D1110008B102000805
|
||||
:0C00E000B1020008B1020008B1020008E3
|
||||
:1000F00000B583B000F04CFE00F0CAF940F6841061
|
||||
:10010000C2F20000002100F0CBFE4FF48050C4F298
|
||||
:1001100001004FF40051062201F012F8002240F6CF
|
||||
:10012000002041F2D1330092C2F20000C0F6000379
|
||||
:100130004FF4A871402200F0C3FB4FF4FA7000F0B6
|
||||
:1001400007FCFAE7AFF30080AFF30080AFF3008065
|
||||
:10015000704700BFAFF30080AFF30080AFF30080C3
|
||||
:10016000FEE700BFAFF30080AFF30080AFF3008085
|
||||
:1001700072B640F60000C2F2000080F30988022344
|
||||
:1001800083F31488BFF36F8F40F2000340F2004204
|
||||
:10019000C2F20003C2F2000293420BD2D9431144CF
|
||||
:1001A00021F0030119444FF05532043B43F8042F6A
|
||||
:1001B0008B42FBD140F20043C2F2000383420CD2D7
|
||||
:1001C00037491A1D891A21F0030119444FF055329D
|
||||
:1001D000043B43F8042F8B42FBD101F0E9F840F6D1
|
||||
:1001E000000140F60003C2F20001C2F2000399428E
|
||||
:1001F0000ED2CC431C4424F0030441F2D840043412
|
||||
:10020000C0F600000023C258CA500433A342FAD1FA
|
||||
:1002100040F6000340F65032C2F20003C2F2000280
|
||||
:1002200093420AD2D943114421F003011944002218
|
||||
:10023000043B43F8042F8B42FBD1FFF789FF40F2C8
|
||||
:10024000EC0540F2EC03C0F60005C0F600039D4249
|
||||
:100250000BD2EE431E44B6080136043D002401349F
|
||||
:1002600055F8043F9847B442F9D1FFF741FF40F2F7
|
||||
:10027000EC0540F2EC03C0F60005C0F600039D4219
|
||||
:100280000BD2EE431E44B6080136043D002401346F
|
||||
:1002900055F8043F9847B442F9D1FFF761FF00BF1A
|
||||
:1002A00003080020AFF30080AFF30080AFF30080BD
|
||||
:1002B000FEE700BFAFF30080AFF30080AFF3008034
|
||||
:1002C00000F0BEFA00DF00BFAFF30080AFF30080A4
|
||||
:1002D000EFF30983203383F30988002383F3118824
|
||||
:1002E000704700BFAFF30080AFF30080AFF3008032
|
||||
:1002F00008B54FF440724FF46D43CEF20003C0F2E4
|
||||
:10030000FA52002199600720DA60102100F098F875
|
||||
:100310000A20202100F094F8BDE808400B2080213D
|
||||
:1003200000F08EB8AFF30080AFF30080AFF3008031
|
||||
:10033000202383F311884FF46D43CEF200035B68F2
|
||||
:1003400013F400631FD0EFF309824FF0807342F87B
|
||||
:10035000043CA2F1200383F3098840F63813C2F26B
|
||||
:1003600000039969C87F88B118688B6881689942D1
|
||||
:1003700094BF0023012393B140F2C123C0F60003D0
|
||||
:1003800042F8083C704783F31188704718688B68FF
|
||||
:100390008168994234BF00230123002BECD140F245
|
||||
:1003A000C423C0F6000342F8083C7047AFF3008056
|
||||
:1003B00008B5202383F3118800F0A2F8002383F30B
|
||||
:1003C0001188BDE80840FFF7B3BF00BFAFF300805E
|
||||
:1003D0002DE9F04FC1F80CD0D0F80CD0BDE8F08F6B
|
||||
:1003E000002383F311882846A04700F0E9FA7047FC
|
||||
:1003F00000F0030330B4DB00FF259D40994001224B
|
||||
:1004000000F01F039A4020F0030404F1604404F557
|
||||
:100410006144D4F800334009800023EA050300F169
|
||||
:10042000604000F561400B43C4F80033C0F8802100
|
||||
:1004300030BC0260704700BFAFF30080AFF30080B4
|
||||
:1004400000F00303DB00FF229A40994020F00300F4
|
||||
:1004500000F1604000F56D40836923EA02030B431D
|
||||
:1004600083617047AFF30080AFF30080AFF300808B
|
||||
:1004700040F63813C2F200039A6941F21043C0F605
|
||||
:1004800000039361FEE700BFAFF30080AFF300808D
|
||||
:1004900010B582B0FFF72CFF00F0EAF800F068F822
|
||||
:1004A00000F02EFC00F064FC40F600004021C2F297
|
||||
:1004B000000000F0D5F940F63813C2F20003012223
|
||||
:1004C00098610277002383F3118862B640F63813EF
|
||||
:1004D000C2F200039C6941F22042C0F600020021F2
|
||||
:1004E00040F6480040F27143A261C0F6000300915B
|
||||
:1004F0000122E021C2F2000000F0E2F902B010BDDA
|
||||
:1005000070B540F63813C2F200039B69DA7F0AB176
|
||||
:10051000013ADA771A6A40F628110132C2F2000174
|
||||
:100520001A62CB680A6801338A42CB6019D0966898
|
||||
:10053000013E9660AEB90D461068D4680860D6607A
|
||||
:100540000023416083F311881069A047202383F3BF
|
||||
:1005500011882A6840F628119368C2F20001002B26
|
||||
:10056000EAD070BDAFF30080AFF30080AFF300803E
|
||||
:1005700040F62813C2F200034FF0FF3100225B6007
|
||||
:100580001B609960DA607047AFF30080AFF30080C2
|
||||
:1005900070B440F62816C2F200063468A5680361FC
|
||||
:1005A000A942C26004D92468491BA5688D42FAD3C8
|
||||
:1005B0006368B442046043606060186081601EBF7D
|
||||
:1005C000A368C1EB0301A16070BC7047AFF300806A
|
||||
:1005D000036840F62812C2F2000293421FBF9968D6
|
||||
:1005E000826852189A6042680021136003685A605A
|
||||
:1005F000C1607047AFF30080AFF30080AFF30080BD
|
||||
:1006000010B4202383F31188037F0D2B11D8DFE86A
|
||||
:1006100003F029101007100B101010101010100B01
|
||||
:10062000436A9A6801329A6090E80C001A60026886
|
||||
:1006300053604FF0FF34002340F638128168446263
|
||||
:100640000377C2F20002126893688B42FBD25168B2
|
||||
:100650000023026041605060086083F311885DF8F8
|
||||
:10066000044B7047002383F311885DF8044B7047F7
|
||||
:1006700040F63813C2F2000300225B601B605B612E
|
||||
:100680001B619A60704700BFAFF30080AFF300803A
|
||||
:10069000002240F63813816810B4C2F20003044609
|
||||
:1006A00002771B689A688A42FBD25A682046236008
|
||||
:1006B00062605C6014605DF8044B7047AFF30080CB
|
||||
:1006C00040F63813C2F2000370B41A6899691468CE
|
||||
:1006D000142601250877CE77636015771C601046D5
|
||||
:1006E00070BC9A61FFF774BEAFF30080AFF3008077
|
||||
:1006F00030B54B1C87B0054617D040F63814C2F20F
|
||||
:10070000000440F20162A36901A8C0F60002FFF7ED
|
||||
:100710003FFF2846FFF7D4FF049B13B101A8FFF762
|
||||
:1007200057FFA369586A07B030BDFFF7C9FF40F60D
|
||||
:100730003814C2F20004A369586A07B030BD00BF84
|
||||
:10074000F0B440F63817C2F20007D7F818C0856831
|
||||
:10075000DCF808400646A54241620DD800223B461F
|
||||
:1007600002771B689A689542FBD95A6833607260B9
|
||||
:100770005E601660F0BC704700238CF81C303B466E
|
||||
:100780001B689A689442FBD95A680124CCF800305F
|
||||
:10079000CCF80420C3F804C0C2F800C03477304657
|
||||
:1007A000BE616146F0BCFFF713BE00BFAFF300802F
|
||||
:1007B00040F63812C2F200021068F0B4036895697E
|
||||
:1007C000012714260021AC6813605A60077703469E
|
||||
:1007D0009061EE77297700E01B689A68A242FBD20D
|
||||
:1007E0005A6829462B606A605D601560F0BCFFF7AF
|
||||
:1007F000EFBD00BFAFF30080AFF30080AFF3008028
|
||||
:1008000040F63812C2F20002106870B403689569AD
|
||||
:1008100001260021AC6813605A6006770346906198
|
||||
:10082000297700E01B689A68A242FBD85A682946DB
|
||||
:100830002B606A605D60156070BCFFF7C9BD00BFCA
|
||||
:1008400040F63813C2F200039B69DB7F0BB1FFF760
|
||||
:10085000D7BFFFF7ADBF00BFAFF30080AFF300809D
|
||||
:100860002DE9F00340F63812C2F200025569002467
|
||||
:1008700000F12C064FF002094FF0140800F1280790
|
||||
:100880004FF0010C45610261816080F81C9080F896
|
||||
:100890001F804477C463846304628461016450618F
|
||||
:1008A00080F81EC0286187620663C662BDE8F00357
|
||||
:1008B000704700BFAFF30080AFF30080AFF300805C
|
||||
:1008C0002DE9F0479E460446202383F3118840F625
|
||||
:1008D0003816A1F124031844C2F20006776940F2E9
|
||||
:1008E000E131E06044F803E0089B002504F12C0EA0
|
||||
:1008F00004F1280CC0F600014FF0020A4FF0140971
|
||||
:100900004FF0010843600162A260266167612264C2
|
||||
:1009100084F81CA084F81F9084F81E8065777461A9
|
||||
:10092000E563A5632562A56120463C612946C4F8BC
|
||||
:1009300028C0C4F830E0C4F82CE0FFF701FF2B46D4
|
||||
:1009400083F311882046BDE8F08700BFAFF3008035
|
||||
:1009500008B50146202383F311880620FFF7C8FE5F
|
||||
:10096000002383F3118808BDAFF30080AFF300804C
|
||||
:1009700038B540F63813C2F200039C69254655F895
|
||||
:10098000283F6062AB4207D01A681846A262FFF7A0
|
||||
:100990007FFEA36AAB42F7D1637F9B0704D1226934
|
||||
:1009A00063691A61226953610E20BDE83840FFF780
|
||||
:1009B00087BE00BFAFF30080AFF30080AFF30080CD
|
||||
:1009C000202383F31188FFF7D3BF00BFAFF300806C
|
||||
:1009D0000023406000608360704700BFAFF3008079
|
||||
:1009E00008B5826B037F1143082B81630BD0092B61
|
||||
:1009F00000D008BD436A19408B42FAD1FFF748FE88
|
||||
:100A00000023436208BD436A1942F7D108BD00BF05
|
||||
:100A100070B504680546A0420E4609D0E3686068D8
|
||||
:100A20003343E360A168FFF7DBFF2468A542F5D1FB
|
||||
:100A300070BD00BFAFF30080AFF30080AFF3008064
|
||||
:100A400010B4024679B140F63813C2F200039B6934
|
||||
:100A50000D205A62546883E81400536023605DF8E7
|
||||
:100A6000044BFFF745BE4FF0FF305DF8044B704775
|
||||
:100A700030B4029C00250A44856004620261406033
|
||||
:100A8000006041618161C160C36130BC704700BFDB
|
||||
:100A900003464269806910B582429C681BD0501C95
|
||||
:100AA000013458619C60117059691A6991420BD2E6
|
||||
:100AB000186898420DD002681A605360FFF7E8FD8D
|
||||
:100AC00000234362184610BD1868DA6898425A61DC
|
||||
:100AD000F1D1002010BD002CE1D06FF0030010BD5B
|
||||
:100AE00070B5202304460E4683F31188C3692BB1E9
|
||||
:100AF000984703E0FFF7A4FF002815DBA568204610
|
||||
:100B00003146002DF6D0A2692169531C8B42A361A6
|
||||
:100B100005F1FF3528BFE368A560107828BFA36101
|
||||
:100B2000002383F3118870BD2B4683F3118870BDB9
|
||||
:100B30002DE9F0471E460446D0F81C80202383F39D
|
||||
:100B400011884FF0000901EB020A4F1CB8F1000FA9
|
||||
:100B500005D02046C04702E0FFF772FFF0B9A56854
|
||||
:100B600020463146002DF7D0A369013D5A1CA261F1
|
||||
:100B7000A5601B7807F8013C2369A2699A4224BF4B
|
||||
:100B8000E368A361002383F31188574509F1010944
|
||||
:100B900007D0202383F311880137D7E72B4683F34F
|
||||
:100BA00011884846BDE8F087AFF30080AFF30080BE
|
||||
:100BB00030B4029C8D180561046240600060826060
|
||||
:100BC00041618161C160C36130BC7047AFF3008097
|
||||
:100BD000F8B504460F461646202383F3118803E038
|
||||
:100BE000FFF72EFF002819DBA56820463146002DAF
|
||||
:100BF000F6D06369013D5A1C6261A5601F702369CC
|
||||
:100C000062699A4224BFE3686361E3690BB12046DD
|
||||
:100C10009847002383F311880020F8BD2B4683F307
|
||||
:100C20001188F8BDAFF30080AFF30080AFF3008010
|
||||
:100C30008269416910B591420346846816D01869EB
|
||||
:100C40000134511C9C609961814214780BD2186860
|
||||
:100C5000984206D002681A605360FFF719FD00231E
|
||||
:100C60004362204610BDDA689A61F0E7002CE6D0B6
|
||||
:100C70006FF0020010BD00BFAFF30080AFF3008043
|
||||
:100C80002DE9F84F9A4604460E461746D0F81C90B8
|
||||
:100C9000202383F311884FF00008A56806F1010BAB
|
||||
:100CA00020466B1EDDB16269A360531C636133781B
|
||||
:100CB0001370236962699A4224BFE3686361B9F1E2
|
||||
:100CC000000F00D0C847002383F31188013F08F1CB
|
||||
:100CD00001080DD0202383F311885E46DDE720460E
|
||||
:100CE0005146FFF7ADFE0028D7D02B4683F311887D
|
||||
:100CF0004046BDE8F88F00BFAFF30080AFF300803F
|
||||
:100D000045F200010848C2F2000140F6541240F6D4
|
||||
:100D1000581321F00701C2F2000220F00700C2F2CE
|
||||
:100D20000003116018607047570B0020AFF300807C
|
||||
:100D3000202383F3118840F6581340F65412C2F270
|
||||
:100D40000003C2F2000219681268073020F00700A1
|
||||
:100D5000521A90429BBF401818600020084600239A
|
||||
:100D600083F31188704700BFAFF30080AFF30080BA
|
||||
:100D700040F66013C2F2000340F631520021C0F683
|
||||
:100D8000000203F110001A609960D960FFF720BEDD
|
||||
:100D900008B500F005F900F0DBF841F29040C0F62C
|
||||
:100DA000000000F08DF900F04BF8BDE8084000F0BD
|
||||
:100DB00007BB00BFAFF30080AFF30080AFF300804C
|
||||
:100DC0000C30FFF7B5BE00BFAFF30080AFF300807B
|
||||
:100DD0000C304FF0FF33FFF7ABBE00BFAFF3008026
|
||||
:100DE0003030FFF74DBF00BFAFF30080AFF300809E
|
||||
:100DF00030304FF0FF33FFF743BF00BFAFF3008049
|
||||
:100E00000C30FFF76DBE00BFAFF30080AFF3008082
|
||||
:100E10000C304FF0FF31FFF763BE00BFAFF300802F
|
||||
:100E20003030FFF7D5BE00BFAFF30080AFF30080D6
|
||||
:100E300030304FF0FF32FFF7CBBE00BFAFF3008082
|
||||
:100E400000F05EBAAFF30080AFF30080AFF3008034
|
||||
:100E500070B541F24045C0F60005044682B040F846
|
||||
:100E6000045B012600940B461546606004F15401B2
|
||||
:100E700004F10C0026721022FFF7FAFD00942B46B5
|
||||
:100E800004F1300004F164011022FFF791FE02B07A
|
||||
:100E900070BD00BFAFF30080AFF30080AFF3008000
|
||||
:100EA00010B52023044683F3118800F041FA022391
|
||||
:100EB0002372002383F3118810BD00BFAFF30080BD
|
||||
:100EC00038B5436904460D463BB1294604F10C0090
|
||||
:100ED000FFF7DEFD00280BDB38BD04300421FFF7EF
|
||||
:100EE00097FD294604F10C00FFF7D2FD0028F3DA44
|
||||
:100EF000201D8021BDE83840FFF78ABDAFF3008098
|
||||
:100F00004FF48053CEF200035B688360704700BFEC
|
||||
:100F10004FF48053CEF2000340F680125B68816884
|
||||
:100F2000C2F2000210B414685B1AC2681B1B934221
|
||||
:100F3000836088BFC36003D80269934238BF0361EE
|
||||
:100F40005DF8044B704700BFAFF30080AFF3008043
|
||||
:100F500010B540F6801486B0C2F2000400224FF0B3
|
||||
:100F6000FF314FF48053226004920591CEF20003CA
|
||||
:100F7000596840F6017240F61173C0F60002C0F6DF
|
||||
:100F8000000301A8029303910192FFF7C1FF039BA5
|
||||
:100F9000236006B010BD00BFAFF30080AFF3008048
|
||||
:100FA0004FF48053F0B4C4F2020300214FF0FF3439
|
||||
:100FB0004EF210021869CEF200021C614BF67F3629
|
||||
:100FC000196107254EF6F050DF68CEF20000DC60B4
|
||||
:100FD000D960566091601560C2684FF4805142F04C
|
||||
:100FE0008072C260CEF2000108684FF4E04240F027
|
||||
:100FF00001000860D969C4F2000241F08051D96152
|
||||
:10100000D969F0BC41F00061D961136843F4807381
|
||||
:1010100013607047AFF30080AFF30080AFF3008040
|
||||
:101020004FF48053C4F202031A68194642F00102D9
|
||||
:101030001A600A684FF480539007C4F20203F8D58F
|
||||
:101040005A68194622F003025A605A685A604B687F
|
||||
:101050004FF4805213F00C03C4F20202F7D110686F
|
||||
:10106000114600F0F90010605360536843F42013F8
|
||||
:101070005360136843F0807313600A684FF4805321
|
||||
:101080009201C4F20203F8D54FF4C8414FF4005264
|
||||
:10109000C0F26801C4F20202112059601060596860
|
||||
:1010A0001A4641F002015960536803F00C03082B03
|
||||
:1010B000FAD17047AFF30080AFF30080AFF3008048
|
||||
:1010C0004FF48053C4F202039A6910B442F07D02D7
|
||||
:1010D0009A6103684FF40062C4F20102D360816830
|
||||
:1010E0004FF4406351604168C4F201031160C2686B
|
||||
:1010F0004FF48051DA604269C4F201015A60046918
|
||||
:101100004FF4A0521C608369C4F20102CB60046AF0
|
||||
:101110004FF4C0534C60C469C4F201030C60416ACF
|
||||
:101120005DF8044BD160C16A5160816A1160026B45
|
||||
:10113000DA60826B5A60426B1A607047AFF30080CE
|
||||
:10114000032AF0B408BF016102D0042A08BF41613C
|
||||
:1011500041F26043C0F600039F5C00231C461A4620
|
||||
:101160001D46082611F0800F4FEA02124FEA0313C2
|
||||
:101170004FEA05154FEA04140CBF42F00F023B433F
|
||||
:1011800011F4004F0CBF45F00F053C43013E4FEA00
|
||||
:101190004101E7D141680D402C4344600168F0BC37
|
||||
:1011A0000A40134303607047AFF30080AFF3008041
|
||||
:1011B0004FF48843C4F200039A8992B242F080024D
|
||||
:1011C0009A817047AFF30080AFF30080AFF30080E7
|
||||
:1011D000F8B540F68416C2F20006756FAF892C8808
|
||||
:1011E000BFB2A4B2E20557D4202383F3118814F0D0
|
||||
:1011F0002F0F09D12EE0A988A00689B21ED42C8811
|
||||
:10120000A4B214F02F0F25D02307F4D014F0080F48
|
||||
:1012100014BF80210021E00748BF41F02001A20750
|
||||
:1012200048BF41F04001630748BF41F48071324834
|
||||
:10123000FFF7EEFBA988A00689B2E0D540F684103E
|
||||
:10124000C9B2C2F20000FFF73BFE2C88A4B214F032
|
||||
:101250002F0FD9D1002383F31188390601D5220637
|
||||
:1012600029D4630614D5202383F31188726CB36CE0
|
||||
:1012700040F684109A42C2F200002BD04FF6BF73A2
|
||||
:101280003B404FF6BF72AB8100232A8083F3118865
|
||||
:10129000BDE8F840FFF74CB8202383F311884FF4E2
|
||||
:1012A0000071301DFFF7B4FB002383F311884FF664
|
||||
:1012B000FF632B8098E7202383F311880F48FFF703
|
||||
:1012C000B7FC0028A4BF80B2A8800BDB002383F307
|
||||
:1012D0001188C6E7836B002BD0D004301021FFF7B4
|
||||
:1012E00097FBCBE704480821FFF792FB27F0C003E8
|
||||
:1012F00043F04003AB81E9E788090020B4090020EE
|
||||
:1013000010B540F68414C2F2000441F2B112204636
|
||||
:10131000C0F600020021FFF79BFD4FF48843C4F2A2
|
||||
:101320000003636710BD00BFAFF30080AFF3008020
|
||||
:1013300038B541F28044037AC0F60004002918BF92
|
||||
:101340000C46012B05461FD021684FF45852C0F2BD
|
||||
:101350006E126B6FB2FBF1F292B21A81A288E18831
|
||||
:10136000208942F4045241F0400442F02C0240F043
|
||||
:10137000010092B2A4B280B200211C8298829A81AC
|
||||
:1013800019801A889B8838BD40F68413C2F2000386
|
||||
:101390009842D9D14FF48053C4F20203DA6926206F
|
||||
:1013A00042F40032DA61C021FFF722F8CCE700BF37
|
||||
:1013B000FFF736BEAFF30080AFF30080AFF30080DD
|
||||
:1013C000704700BFAFF30080AFF30080AFF3008041
|
||||
:1013D00008B540F63813C2F200039A6941F2D043CF
|
||||
:1013E000C0F600034FF480544FF400559361C4F2EB
|
||||
:1013F00001042E4666611E20FFF7AAFA25611E2011
|
||||
:10140000FFF7A6FAF6E700BFAFF30080AFF3008066
|
||||
:1014100069646C650000000000000000000000002E
|
||||
:101420006D61696E00168811040448080C101418C8
|
||||
:10143000001C1D1E1F200000000000000000000016
|
||||
:10144000F10D0008D10D0008310E0008110E000842
|
||||
:10145000210E0008010E0008E10D0008C10D000872
|
||||
:101460000402040808000307080808080808080818
|
||||
:101470000B0F000000000000000000000000000052
|
||||
:101480000096000000000040000000000000000086
|
||||
:10149000DFBFFFFF884B388888888888FFFFFFFF01
|
||||
:1014A0008888888888888888FFFFFFFF88888888E0
|
||||
:1014B00088884888FFFFFFFF448888888888888854
|
||||
:1014C000FFFFFFFF888888888888888800000000E0
|
||||
:0814D000626C696E6B6572002D
|
||||
:04000005080001717D
|
||||
:00000001FF
|
||||
:020000040800F2
|
||||
:100000000004002071010008B1020008B1020008DC
|
||||
:10001000B1020008B1020008B1020008B1020008F4
|
||||
:10002000B1020008B1020008B1020008D1020008C4
|
||||
:10003000B1020008B1020008B1020008B1030008D3
|
||||
:10004000B1020008B1020008B1020008B1020008C4
|
||||
:10005000B1020008B1020008B1020008B1020008B4
|
||||
:10006000B1020008B1020008B1020008B1020008A4
|
||||
:10007000B1020008B1020008B1020008B102000894
|
||||
:10008000B1020008B1020008B1020008B102000884
|
||||
:10009000B1020008B1020008B1020008B102000874
|
||||
:1000A000B1020008B1020008B1020008B102000864
|
||||
:1000B000B1020008B1020008B1020008B102000854
|
||||
:1000C000B1020008B1020008B1020008B102000844
|
||||
:1000D000B1020008B1020008D1110008B102000805
|
||||
:0C00E000B1020008B1020008B1020008E3
|
||||
:1000F00000B583B000F04CFE00F0CAF940F6841061
|
||||
:10010000C2F20000002100F0CBFE4FF48050C4F298
|
||||
:1001100001004FF40051062201F012F8002240F6CF
|
||||
:10012000002041F2D1330092C2F20000C0F6000379
|
||||
:100130004FF4A871402200F0C3FB4FF4FA7000F0B6
|
||||
:1001400007FCFAE7AFF30080AFF30080AFF3008065
|
||||
:10015000704700BFAFF30080AFF30080AFF30080C3
|
||||
:10016000FEE700BFAFF30080AFF30080AFF3008085
|
||||
:1001700072B640F60000C2F2000080F30988022344
|
||||
:1001800083F31488BFF36F8F40F2000340F2004204
|
||||
:10019000C2F20003C2F2000293420BD2D9431144CF
|
||||
:1001A00021F0030119444FF05532043B43F8042F6A
|
||||
:1001B0008B42FBD140F20043C2F2000383420CD2D7
|
||||
:1001C00037491A1D891A21F0030119444FF055329D
|
||||
:1001D000043B43F8042F8B42FBD101F0E9F840F6D1
|
||||
:1001E000000140F60003C2F20001C2F2000399428E
|
||||
:1001F0000ED2CC431C4424F0030441F2D840043412
|
||||
:10020000C0F600000023C258CA500433A342FAD1FA
|
||||
:1002100040F6000340F65032C2F20003C2F2000280
|
||||
:1002200093420AD2D943114421F003011944002218
|
||||
:10023000043B43F8042F8B42FBD1FFF789FF40F2C8
|
||||
:10024000EC0540F2EC03C0F60005C0F600039D4249
|
||||
:100250000BD2EE431E44B6080136043D002401349F
|
||||
:1002600055F8043F9847B442F9D1FFF741FF40F2F7
|
||||
:10027000EC0540F2EC03C0F60005C0F600039D4219
|
||||
:100280000BD2EE431E44B6080136043D002401346F
|
||||
:1002900055F8043F9847B442F9D1FFF761FF00BF1A
|
||||
:1002A00003080020AFF30080AFF30080AFF30080BD
|
||||
:1002B000FEE700BFAFF30080AFF30080AFF3008034
|
||||
:1002C00000F0BEFA00DF00BFAFF30080AFF30080A4
|
||||
:1002D000EFF30983203383F30988002383F3118824
|
||||
:1002E000704700BFAFF30080AFF30080AFF3008032
|
||||
:1002F00008B54FF440724FF46D43CEF20003C0F2E4
|
||||
:10030000FA52002199600720DA60102100F098F875
|
||||
:100310000A20202100F094F8BDE808400B2080213D
|
||||
:1003200000F08EB8AFF30080AFF30080AFF3008031
|
||||
:10033000202383F311884FF46D43CEF200035B68F2
|
||||
:1003400013F400631FD0EFF309824FF0807342F87B
|
||||
:10035000043CA2F1200383F3098840F63813C2F26B
|
||||
:1003600000039969C87F88B118688B6881689942D1
|
||||
:1003700094BF0023012393B140F2C123C0F60003D0
|
||||
:1003800042F8083C704783F31188704718688B68FF
|
||||
:100390008168994234BF00230123002BECD140F245
|
||||
:1003A000C423C0F6000342F8083C7047AFF3008056
|
||||
:1003B00008B5202383F3118800F0A2F8002383F30B
|
||||
:1003C0001188BDE80840FFF7B3BF00BFAFF300805E
|
||||
:1003D0002DE9F04FC1F80CD0D0F80CD0BDE8F08F6B
|
||||
:1003E000002383F311882846A04700F0E9FA7047FC
|
||||
:1003F00000F0030330B4DB00FF259D40994001224B
|
||||
:1004000000F01F039A4020F0030404F1604404F557
|
||||
:100410006144D4F800334009800023EA050300F169
|
||||
:10042000604000F561400B43C4F80033C0F8802100
|
||||
:1004300030BC0260704700BFAFF30080AFF30080B4
|
||||
:1004400000F00303DB00FF229A40994020F00300F4
|
||||
:1004500000F1604000F56D40836923EA02030B431D
|
||||
:1004600083617047AFF30080AFF30080AFF300808B
|
||||
:1004700040F63813C2F200039A6941F21043C0F605
|
||||
:1004800000039361FEE700BFAFF30080AFF300808D
|
||||
:1004900010B582B0FFF72CFF00F0EAF800F068F822
|
||||
:1004A00000F02EFC00F064FC40F600004021C2F297
|
||||
:1004B000000000F0D5F940F63813C2F20003012223
|
||||
:1004C00098610277002383F3118862B640F63813EF
|
||||
:1004D000C2F200039C6941F22042C0F600020021F2
|
||||
:1004E00040F6480040F27143A261C0F6000300915B
|
||||
:1004F0000122E021C2F2000000F0E2F902B010BDDA
|
||||
:1005000070B540F63813C2F200039B69DA7F0AB176
|
||||
:10051000013ADA771A6A40F628110132C2F2000174
|
||||
:100520001A62CB680A6801338A42CB6019D0966898
|
||||
:10053000013E9660AEB90D461068D4680860D6607A
|
||||
:100540000023416083F311881069A047202383F3BF
|
||||
:1005500011882A6840F628119368C2F20001002B26
|
||||
:10056000EAD070BDAFF30080AFF30080AFF300803E
|
||||
:1005700040F62813C2F200034FF0FF3100225B6007
|
||||
:100580001B609960DA607047AFF30080AFF30080C2
|
||||
:1005900070B440F62816C2F200063468A5680361FC
|
||||
:1005A000A942C26004D92468491BA5688D42FAD3C8
|
||||
:1005B0006368B442046043606060186081601EBF7D
|
||||
:1005C000A368C1EB0301A16070BC7047AFF300806A
|
||||
:1005D000036840F62812C2F2000293421FBF9968D6
|
||||
:1005E000826852189A6042680021136003685A605A
|
||||
:1005F000C1607047AFF30080AFF30080AFF30080BD
|
||||
:1006000010B4202383F31188037F0D2B11D8DFE86A
|
||||
:1006100003F029101007100B101010101010100B01
|
||||
:10062000436A9A6801329A6090E80C001A60026886
|
||||
:1006300053604FF0FF34002340F638128168446263
|
||||
:100640000377C2F20002126893688B42FBD25168B2
|
||||
:100650000023026041605060086083F311885DF8F8
|
||||
:10066000044B7047002383F311885DF8044B7047F7
|
||||
:1006700040F63813C2F2000300225B601B605B612E
|
||||
:100680001B619A60704700BFAFF30080AFF300803A
|
||||
:10069000002240F63813816810B4C2F20003044609
|
||||
:1006A00002771B689A688A42FBD25A682046236008
|
||||
:1006B00062605C6014605DF8044B7047AFF30080CB
|
||||
:1006C00040F63813C2F2000370B41A6899691468CE
|
||||
:1006D000142601250877CE77636015771C601046D5
|
||||
:1006E00070BC9A61FFF774BEAFF30080AFF3008077
|
||||
:1006F00030B54B1C87B0054617D040F63814C2F20F
|
||||
:10070000000440F20162A36901A8C0F60002FFF7ED
|
||||
:100710003FFF2846FFF7D4FF049B13B101A8FFF762
|
||||
:1007200057FFA369586A07B030BDFFF7C9FF40F60D
|
||||
:100730003814C2F20004A369586A07B030BD00BF84
|
||||
:10074000F0B440F63817C2F20007D7F818C0856831
|
||||
:10075000DCF808400646A54241620DD800223B461F
|
||||
:1007600002771B689A689542FBD95A6833607260B9
|
||||
:100770005E601660F0BC704700238CF81C303B466E
|
||||
:100780001B689A689442FBD95A680124CCF800305F
|
||||
:10079000CCF80420C3F804C0C2F800C03477304657
|
||||
:1007A000BE616146F0BCFFF713BE00BFAFF300802F
|
||||
:1007B00040F63812C2F200021068F0B4036895697E
|
||||
:1007C000012714260021AC6813605A60077703469E
|
||||
:1007D0009061EE77297700E01B689A68A242FBD20D
|
||||
:1007E0005A6829462B606A605D601560F0BCFFF7AF
|
||||
:1007F000EFBD00BFAFF30080AFF30080AFF3008028
|
||||
:1008000040F63812C2F20002106870B403689569AD
|
||||
:1008100001260021AC6813605A6006770346906198
|
||||
:10082000297700E01B689A68A242FBD85A682946DB
|
||||
:100830002B606A605D60156070BCFFF7C9BD00BFCA
|
||||
:1008400040F63813C2F200039B69DB7F0BB1FFF760
|
||||
:10085000D7BFFFF7ADBF00BFAFF30080AFF300809D
|
||||
:100860002DE9F00340F63812C2F200025569002467
|
||||
:1008700000F12C064FF002094FF0140800F1280790
|
||||
:100880004FF0010C45610261816080F81C9080F896
|
||||
:100890001F804477C463846304628461016450618F
|
||||
:1008A00080F81EC0286187620663C662BDE8F00357
|
||||
:1008B000704700BFAFF30080AFF30080AFF300805C
|
||||
:1008C0002DE9F0479E460446202383F3118840F625
|
||||
:1008D0003816A1F124031844C2F20006776940F2E9
|
||||
:1008E000E131E06044F803E0089B002504F12C0EA0
|
||||
:1008F00004F1280CC0F600014FF0020A4FF0140971
|
||||
:100900004FF0010843600162A260266167612264C2
|
||||
:1009100084F81CA084F81F9084F81E8065777461A9
|
||||
:10092000E563A5632562A56120463C612946C4F8BC
|
||||
:1009300028C0C4F830E0C4F82CE0FFF701FF2B46D4
|
||||
:1009400083F311882046BDE8F08700BFAFF3008035
|
||||
:1009500008B50146202383F311880620FFF7C8FE5F
|
||||
:10096000002383F3118808BDAFF30080AFF300804C
|
||||
:1009700038B540F63813C2F200039C69254655F895
|
||||
:10098000283F6062AB4207D01A681846A262FFF7A0
|
||||
:100990007FFEA36AAB42F7D1637F9B0704D1226934
|
||||
:1009A00063691A61226953610E20BDE83840FFF780
|
||||
:1009B00087BE00BFAFF30080AFF30080AFF30080CD
|
||||
:1009C000202383F31188FFF7D3BF00BFAFF300806C
|
||||
:1009D0000023406000608360704700BFAFF3008079
|
||||
:1009E00008B5826B037F1143082B81630BD0092B61
|
||||
:1009F00000D008BD436A19408B42FAD1FFF748FE88
|
||||
:100A00000023436208BD436A1942F7D108BD00BF05
|
||||
:100A100070B504680546A0420E4609D0E3686068D8
|
||||
:100A20003343E360A168FFF7DBFF2468A542F5D1FB
|
||||
:100A300070BD00BFAFF30080AFF30080AFF3008064
|
||||
:100A400010B4024679B140F63813C2F200039B6934
|
||||
:100A50000D205A62546883E81400536023605DF8E7
|
||||
:100A6000044BFFF745BE4FF0FF305DF8044B704775
|
||||
:100A700030B4029C00250A44856004620261406033
|
||||
:100A8000006041618161C160C36130BC704700BFDB
|
||||
:100A900003464269806910B582429C681BD0501C95
|
||||
:100AA000013458619C60117059691A6991420BD2E6
|
||||
:100AB000186898420DD002681A605360FFF7E8FD8D
|
||||
:100AC00000234362184610BD1868DA6898425A61DC
|
||||
:100AD000F1D1002010BD002CE1D06FF0030010BD5B
|
||||
:100AE00070B5202304460E4683F31188C3692BB1E9
|
||||
:100AF000984703E0FFF7A4FF002815DBA568204610
|
||||
:100B00003146002DF6D0A2692169531C8B42A361A6
|
||||
:100B100005F1FF3528BFE368A560107828BFA36101
|
||||
:100B2000002383F3118870BD2B4683F3118870BDB9
|
||||
:100B30002DE9F0471E460446D0F81C80202383F39D
|
||||
:100B400011884FF0000901EB020A4F1CB8F1000FA9
|
||||
:100B500005D02046C04702E0FFF772FFF0B9A56854
|
||||
:100B600020463146002DF7D0A369013D5A1CA261F1
|
||||
:100B7000A5601B7807F8013C2369A2699A4224BF4B
|
||||
:100B8000E368A361002383F31188574509F1010944
|
||||
:100B900007D0202383F311880137D7E72B4683F34F
|
||||
:100BA00011884846BDE8F087AFF30080AFF30080BE
|
||||
:100BB00030B4029C8D180561046240600060826060
|
||||
:100BC00041618161C160C36130BC7047AFF3008097
|
||||
:100BD000F8B504460F461646202383F3118803E038
|
||||
:100BE000FFF72EFF002819DBA56820463146002DAF
|
||||
:100BF000F6D06369013D5A1C6261A5601F702369CC
|
||||
:100C000062699A4224BFE3686361E3690BB12046DD
|
||||
:100C10009847002383F311880020F8BD2B4683F307
|
||||
:100C20001188F8BDAFF30080AFF30080AFF3008010
|
||||
:100C30008269416910B591420346846816D01869EB
|
||||
:100C40000134511C9C609961814214780BD2186860
|
||||
:100C5000984206D002681A605360FFF719FD00231E
|
||||
:100C60004362204610BDDA689A61F0E7002CE6D0B6
|
||||
:100C70006FF0020010BD00BFAFF30080AFF3008043
|
||||
:100C80002DE9F84F9A4604460E461746D0F81C90B8
|
||||
:100C9000202383F311884FF00008A56806F1010BAB
|
||||
:100CA00020466B1EDDB16269A360531C636133781B
|
||||
:100CB0001370236962699A4224BFE3686361B9F1E2
|
||||
:100CC000000F00D0C847002383F31188013F08F1CB
|
||||
:100CD00001080DD0202383F311885E46DDE720460E
|
||||
:100CE0005146FFF7ADFE0028D7D02B4683F311887D
|
||||
:100CF0004046BDE8F88F00BFAFF30080AFF300803F
|
||||
:100D000045F200010848C2F2000140F6541240F6D4
|
||||
:100D1000581321F00701C2F2000220F00700C2F2CE
|
||||
:100D20000003116018607047570B0020AFF300807C
|
||||
:100D3000202383F3118840F6581340F65412C2F270
|
||||
:100D40000003C2F2000219681268073020F00700A1
|
||||
:100D5000521A90429BBF401818600020084600239A
|
||||
:100D600083F31188704700BFAFF30080AFF30080BA
|
||||
:100D700040F66013C2F2000340F631520021C0F683
|
||||
:100D8000000203F110001A609960D960FFF720BEDD
|
||||
:100D900008B500F005F900F0DBF841F29040C0F62C
|
||||
:100DA000000000F08DF900F04BF8BDE8084000F0BD
|
||||
:100DB00007BB00BFAFF30080AFF30080AFF300804C
|
||||
:100DC0000C30FFF7B5BE00BFAFF30080AFF300807B
|
||||
:100DD0000C304FF0FF33FFF7ABBE00BFAFF3008026
|
||||
:100DE0003030FFF74DBF00BFAFF30080AFF300809E
|
||||
:100DF00030304FF0FF33FFF743BF00BFAFF3008049
|
||||
:100E00000C30FFF76DBE00BFAFF30080AFF3008082
|
||||
:100E10000C304FF0FF31FFF763BE00BFAFF300802F
|
||||
:100E20003030FFF7D5BE00BFAFF30080AFF30080D6
|
||||
:100E300030304FF0FF32FFF7CBBE00BFAFF3008082
|
||||
:100E400000F05EBAAFF30080AFF30080AFF3008034
|
||||
:100E500070B541F24045C0F60005044682B040F846
|
||||
:100E6000045B012600940B461546606004F15401B2
|
||||
:100E700004F10C0026721022FFF7FAFD00942B46B5
|
||||
:100E800004F1300004F164011022FFF791FE02B07A
|
||||
:100E900070BD00BFAFF30080AFF30080AFF3008000
|
||||
:100EA00010B52023044683F3118800F041FA022391
|
||||
:100EB0002372002383F3118810BD00BFAFF30080BD
|
||||
:100EC00038B5436904460D463BB1294604F10C0090
|
||||
:100ED000FFF7DEFD00280BDB38BD04300421FFF7EF
|
||||
:100EE00097FD294604F10C00FFF7D2FD0028F3DA44
|
||||
:100EF000201D8021BDE83840FFF78ABDAFF3008098
|
||||
:100F00004FF48053CEF200035B688360704700BFEC
|
||||
:100F10004FF48053CEF2000340F680125B68816884
|
||||
:100F2000C2F2000210B414685B1AC2681B1B934221
|
||||
:100F3000836088BFC36003D80269934238BF0361EE
|
||||
:100F40005DF8044B704700BFAFF30080AFF3008043
|
||||
:100F500010B540F6801486B0C2F2000400224FF0B3
|
||||
:100F6000FF314FF48053226004920591CEF20003CA
|
||||
:100F7000596840F6017240F61173C0F60002C0F6DF
|
||||
:100F8000000301A8029303910192FFF7C1FF039BA5
|
||||
:100F9000236006B010BD00BFAFF30080AFF3008048
|
||||
:100FA0004FF48053F0B4C4F2020300214FF0FF3439
|
||||
:100FB0004EF210021869CEF200021C614BF67F3629
|
||||
:100FC000196107254EF6F050DF68CEF20000DC60B4
|
||||
:100FD000D960566091601560C2684FF4805142F04C
|
||||
:100FE0008072C260CEF2000108684FF4E04240F027
|
||||
:100FF00001000860D969C4F2000241F08051D96152
|
||||
:10100000D969F0BC41F00061D961136843F4807381
|
||||
:1010100013607047AFF30080AFF30080AFF3008040
|
||||
:101020004FF48053C4F202031A68194642F00102D9
|
||||
:101030001A600A684FF480539007C4F20203F8D58F
|
||||
:101040005A68194622F003025A605A685A604B687F
|
||||
:101050004FF4805213F00C03C4F20202F7D110686F
|
||||
:10106000114600F0F90010605360536843F42013F8
|
||||
:101070005360136843F0807313600A684FF4805321
|
||||
:101080009201C4F20203F8D54FF4C8414FF4005264
|
||||
:10109000C0F26801C4F20202112059601060596860
|
||||
:1010A0001A4641F002015960536803F00C03082B03
|
||||
:1010B000FAD17047AFF30080AFF30080AFF3008048
|
||||
:1010C0004FF48053C4F202039A6910B442F07D02D7
|
||||
:1010D0009A6103684FF40062C4F20102D360816830
|
||||
:1010E0004FF4406351604168C4F201031160C2686B
|
||||
:1010F0004FF48051DA604269C4F201015A60046918
|
||||
:101100004FF4A0521C608369C4F20102CB60046AF0
|
||||
:101110004FF4C0534C60C469C4F201030C60416ACF
|
||||
:101120005DF8044BD160C16A5160816A1160026B45
|
||||
:10113000DA60826B5A60426B1A607047AFF30080CE
|
||||
:10114000032AF0B408BF016102D0042A08BF41613C
|
||||
:1011500041F26043C0F600039F5C00231C461A4620
|
||||
:101160001D46082611F0800F4FEA02124FEA0313C2
|
||||
:101170004FEA05154FEA04140CBF42F00F023B433F
|
||||
:1011800011F4004F0CBF45F00F053C43013E4FEA00
|
||||
:101190004101E7D141680D402C4344600168F0BC37
|
||||
:1011A0000A40134303607047AFF30080AFF3008041
|
||||
:1011B0004FF48843C4F200039A8992B242F080024D
|
||||
:1011C0009A817047AFF30080AFF30080AFF30080E7
|
||||
:1011D000F8B540F68416C2F20006756FAF892C8808
|
||||
:1011E000BFB2A4B2E20557D4202383F3118814F0D0
|
||||
:1011F0002F0F09D12EE0A988A00689B21ED42C8811
|
||||
:10120000A4B214F02F0F25D02307F4D014F0080F48
|
||||
:1012100014BF80210021E00748BF41F02001A20750
|
||||
:1012200048BF41F04001630748BF41F48071324834
|
||||
:10123000FFF7EEFBA988A00689B2E0D540F684103E
|
||||
:10124000C9B2C2F20000FFF73BFE2C88A4B214F032
|
||||
:101250002F0FD9D1002383F31188390601D5220637
|
||||
:1012600029D4630614D5202383F31188726CB36CE0
|
||||
:1012700040F684109A42C2F200002BD04FF6BF73A2
|
||||
:101280003B404FF6BF72AB8100232A8083F3118865
|
||||
:10129000BDE8F840FFF74CB8202383F311884FF4E2
|
||||
:1012A0000071301DFFF7B4FB002383F311884FF664
|
||||
:1012B000FF632B8098E7202383F311880F48FFF703
|
||||
:1012C000B7FC0028A4BF80B2A8800BDB002383F307
|
||||
:1012D0001188C6E7836B002BD0D004301021FFF7B4
|
||||
:1012E00097FBCBE704480821FFF792FB27F0C003E8
|
||||
:1012F00043F04003AB81E9E788090020B4090020EE
|
||||
:1013000010B540F68414C2F2000441F2B112204636
|
||||
:10131000C0F600020021FFF79BFD4FF48843C4F2A2
|
||||
:101320000003636710BD00BFAFF30080AFF3008020
|
||||
:1013300038B541F28044037AC0F60004002918BF92
|
||||
:101340000C46012B05461FD021684FF45852C0F2BD
|
||||
:101350006E126B6FB2FBF1F292B21A81A288E18831
|
||||
:10136000208942F4045241F0400442F02C0240F043
|
||||
:10137000010092B2A4B280B200211C8298829A81AC
|
||||
:1013800019801A889B8838BD40F68413C2F2000386
|
||||
:101390009842D9D14FF48053C4F20203DA6926206F
|
||||
:1013A00042F40032DA61C021FFF722F8CCE700BF37
|
||||
:1013B000FFF736BEAFF30080AFF30080AFF30080DD
|
||||
:1013C000704700BFAFF30080AFF30080AFF3008041
|
||||
:1013D00008B540F63813C2F200039A6941F2D043CF
|
||||
:1013E000C0F600034FF480544FF400559361C4F2EB
|
||||
:1013F00001042E4666611E20FFF7AAFA25611E2011
|
||||
:10140000FFF7A6FAF6E700BFAFF30080AFF3008066
|
||||
:1014100069646C650000000000000000000000002E
|
||||
:101420006D61696E00168811040448080C101418C8
|
||||
:10143000001C1D1E1F200000000000000000000016
|
||||
:10144000F10D0008D10D0008310E0008110E000842
|
||||
:10145000210E0008010E0008E10D0008C10D000872
|
||||
:101460000402040808000307080808080808080818
|
||||
:101470000B0F000000000000000000000000000052
|
||||
:101480000096000000000040000000000000000086
|
||||
:10149000DFBFFFFF884B388888888888FFFFFFFF01
|
||||
:1014A0008888888888888888FFFFFFFF88888888E0
|
||||
:1014B00088884888FFFFFFFF448888888888888854
|
||||
:1014C000FFFFFFFF888888888888888800000000E0
|
||||
:0814D000626C696E6B6572002D
|
||||
:04000005080001717D
|
||||
:00000001FF
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
rem make, gcc, Windows and Cygwin combined have some issue with spaces or colons in paths, that's a workaround
|
||||
rem that's more or less 'make clean'
|
||||
rd /s /q .dep
|
||||
rd /s /q build
|
||||
|
||||
# that's 'make' with some extra utilities
|
||||
rem make, gcc, Windows and Cygwin combined have some issue with spaces or colons in paths, that's a workaround
|
||||
rem that's more or less 'make clean'
|
||||
rd /s /q .dep
|
||||
rd /s /q build
|
||||
|
||||
# that's 'make' with some extra utilities
|
||||
compile.bat
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
rd /s /q .dep
|
||||
|
||||
echo Starting compilation
|
||||
rem the important piece
|
||||
make
|
||||
|
||||
|
||||
rd /s /q .dep
|
||||
|
||||
echo Starting compilation
|
||||
rem the important piece
|
||||
make
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
st-link_cli -c SWD ur -P build\ch.hex -Rst -Run
|
||||
st-link_cli -c SWD ur -P build\ch.hex -Rst -Run
|
||||
|
|
|
@ -1,312 +1,312 @@
|
|||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file templates/halconf.h
|
||||
* @brief HAL configuration header.
|
||||
* @details HAL configuration file, this file allows to enable or disable the
|
||||
* various device drivers from your application. You may also use
|
||||
* this file in order to override the device drivers default settings.
|
||||
*
|
||||
* @addtogroup HAL_CONF
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef _HALCONF_H_
|
||||
#define _HALCONF_H_
|
||||
|
||||
#include "mcuconf.h"
|
||||
|
||||
/**
|
||||
* @brief Enables the TM subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_TM TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the PAL subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_PAL TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the ADC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_ADC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the CAN subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_CAN FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the EXT subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_EXT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the GPT subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_GPT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the I2C subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_I2C FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the ICU subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_ICU FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the MAC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_MAC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the MMC_SPI subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_MMC_SPI FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the PWM subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_PWM FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the RTC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_RTC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SDC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SDC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SERIAL subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SERIAL over USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL_USB FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SPI subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SPI FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the UART subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_UART FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_USB FALSE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* ADC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables synchronous APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
|
||||
#define ADC_USE_WAIT TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define ADC_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* CAN driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Sleep mode related APIs inclusion switch.
|
||||
*/
|
||||
#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
|
||||
#define CAN_USE_SLEEP_MODE TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* I2C driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables the mutual exclusion APIs on the I2C bus.
|
||||
*/
|
||||
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define I2C_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* MAC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables an event sources for incoming packets.
|
||||
*/
|
||||
#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
|
||||
#define MAC_USE_ZERO_COPY FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables an event sources for incoming packets.
|
||||
*/
|
||||
#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
|
||||
#define MAC_USE_EVENTS TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* MMC_SPI driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Delays insertions.
|
||||
* @details If enabled this options inserts delays into the MMC waiting
|
||||
* routines releasing some extra CPU time for the threads with
|
||||
* lower priority, this may slow down the driver a bit however.
|
||||
* This option is recommended also if the SPI driver does not
|
||||
* use a DMA channel and heavily loads the CPU.
|
||||
*/
|
||||
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
|
||||
#define MMC_NICE_WAITING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SDC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Number of initialization attempts before rejecting the card.
|
||||
* @note Attempts are performed at 10mS intervals.
|
||||
*/
|
||||
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
||||
#define SDC_INIT_RETRY 100
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Include support for MMC cards.
|
||||
* @note MMC support is not yet implemented so this option must be kept
|
||||
* at @p FALSE.
|
||||
*/
|
||||
#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
|
||||
#define SDC_MMC_SUPPORT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Delays insertions.
|
||||
* @details If enabled this options inserts delays into the MMC waiting
|
||||
* routines releasing some extra CPU time for the threads with
|
||||
* lower priority, this may slow down the driver a bit however.
|
||||
*/
|
||||
#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
|
||||
#define SDC_NICE_WAITING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SERIAL driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Default bit rate.
|
||||
* @details Configuration parameter, this is the baud rate selected for the
|
||||
* default configuration.
|
||||
*/
|
||||
#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
|
||||
#define SERIAL_DEFAULT_BITRATE 38400
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Serial buffers size.
|
||||
* @details Configuration parameter, you can change the depth of the queue
|
||||
* buffers depending on the requirements of your application.
|
||||
* @note The default is 64 bytes for both the transmission and receive
|
||||
* buffers.
|
||||
*/
|
||||
#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
|
||||
#define SERIAL_BUFFERS_SIZE 16
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SPI driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables synchronous APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
|
||||
#define SPI_USE_WAIT TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define SPI_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
#endif /* _HALCONF_H_ */
|
||||
|
||||
/** @} */
|
||||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file templates/halconf.h
|
||||
* @brief HAL configuration header.
|
||||
* @details HAL configuration file, this file allows to enable or disable the
|
||||
* various device drivers from your application. You may also use
|
||||
* this file in order to override the device drivers default settings.
|
||||
*
|
||||
* @addtogroup HAL_CONF
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef _HALCONF_H_
|
||||
#define _HALCONF_H_
|
||||
|
||||
#include "mcuconf.h"
|
||||
|
||||
/**
|
||||
* @brief Enables the TM subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_TM TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the PAL subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_PAL TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the ADC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_ADC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the CAN subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_CAN FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the EXT subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_EXT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the GPT subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_GPT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the I2C subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_I2C FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the ICU subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_ICU FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the MAC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_MAC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the MMC_SPI subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_MMC_SPI FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the PWM subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_PWM FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the RTC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_RTC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SDC subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SDC FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SERIAL subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SERIAL over USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL_USB FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SPI subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SPI FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the UART subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_UART FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_USB FALSE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* ADC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables synchronous APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)
|
||||
#define ADC_USE_WAIT TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define ADC_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* CAN driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Sleep mode related APIs inclusion switch.
|
||||
*/
|
||||
#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
|
||||
#define CAN_USE_SLEEP_MODE TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* I2C driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables the mutual exclusion APIs on the I2C bus.
|
||||
*/
|
||||
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define I2C_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* MAC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables an event sources for incoming packets.
|
||||
*/
|
||||
#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
|
||||
#define MAC_USE_ZERO_COPY FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables an event sources for incoming packets.
|
||||
*/
|
||||
#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
|
||||
#define MAC_USE_EVENTS TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* MMC_SPI driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Delays insertions.
|
||||
* @details If enabled this options inserts delays into the MMC waiting
|
||||
* routines releasing some extra CPU time for the threads with
|
||||
* lower priority, this may slow down the driver a bit however.
|
||||
* This option is recommended also if the SPI driver does not
|
||||
* use a DMA channel and heavily loads the CPU.
|
||||
*/
|
||||
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
|
||||
#define MMC_NICE_WAITING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SDC driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Number of initialization attempts before rejecting the card.
|
||||
* @note Attempts are performed at 10mS intervals.
|
||||
*/
|
||||
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
||||
#define SDC_INIT_RETRY 100
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Include support for MMC cards.
|
||||
* @note MMC support is not yet implemented so this option must be kept
|
||||
* at @p FALSE.
|
||||
*/
|
||||
#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
|
||||
#define SDC_MMC_SUPPORT FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Delays insertions.
|
||||
* @details If enabled this options inserts delays into the MMC waiting
|
||||
* routines releasing some extra CPU time for the threads with
|
||||
* lower priority, this may slow down the driver a bit however.
|
||||
*/
|
||||
#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
|
||||
#define SDC_NICE_WAITING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SERIAL driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Default bit rate.
|
||||
* @details Configuration parameter, this is the baud rate selected for the
|
||||
* default configuration.
|
||||
*/
|
||||
#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
|
||||
#define SERIAL_DEFAULT_BITRATE 38400
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Serial buffers size.
|
||||
* @details Configuration parameter, you can change the depth of the queue
|
||||
* buffers depending on the requirements of your application.
|
||||
* @note The default is 64 bytes for both the transmission and receive
|
||||
* buffers.
|
||||
*/
|
||||
#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
|
||||
#define SERIAL_BUFFERS_SIZE 16
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* SPI driver related settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Enables synchronous APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)
|
||||
#define SPI_USE_WAIT TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
|
||||
* @note Disabling this option saves both code and data space.
|
||||
*/
|
||||
#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
||||
#define SPI_USE_MUTUAL_EXCLUSION TRUE
|
||||
#endif
|
||||
|
||||
#endif /* _HALCONF_H_ */
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -1,78 +1,78 @@
|
|||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
|
||||
|
||||
#define BL_PORT GPIOC
|
||||
#define BL_PIN 13
|
||||
|
||||
/*
|
||||
* Red LED blinker thread, times are in milliseconds.
|
||||
*/
|
||||
static WORKING_AREA(waThread1, 128);
|
||||
static msg_t Thread1(void *arg) {
|
||||
|
||||
(void)arg;
|
||||
chRegSetThreadName("blinker");
|
||||
while (TRUE) {
|
||||
palClearPad(BL_PORT, BL_PIN);
|
||||
chThdSleepMilliseconds(30);
|
||||
palSetPad(BL_PORT, BL_PIN);
|
||||
chThdSleepMilliseconds(30);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Application entry point.
|
||||
*/
|
||||
int main(void) {
|
||||
|
||||
/*
|
||||
* System initializations.
|
||||
* - HAL initialization, this also initializes the configured device drivers
|
||||
* and performs the board-specific initializations.
|
||||
* - Kernel initialization, the main() function becomes a thread and the
|
||||
* RTOS is active.
|
||||
*/
|
||||
halInit();
|
||||
chSysInit();
|
||||
|
||||
/*
|
||||
* Activates the serial driver 2 using the driver default configuration.
|
||||
*/
|
||||
sdStart(&SD2, NULL);
|
||||
|
||||
|
||||
palSetPadMode(BL_PORT, BL_PIN, PAL_MODE_OUTPUT_PUSHPULL);
|
||||
|
||||
/*
|
||||
* Creates the blinker thread.
|
||||
*/
|
||||
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
||||
|
||||
/*
|
||||
* Normal main() thread activity, in this demo it does nothing except
|
||||
* sleeping in a loop and check the button state.
|
||||
*/
|
||||
while (TRUE) {
|
||||
// if (!palReadPad(GPIOC, GPIOC_BUTTON))
|
||||
// TestThread(&SD2);
|
||||
chThdSleepMilliseconds(500);
|
||||
}
|
||||
}
|
||||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
|
||||
|
||||
#define BL_PORT GPIOC
|
||||
#define BL_PIN 13
|
||||
|
||||
/*
|
||||
* Red LED blinker thread, times are in milliseconds.
|
||||
*/
|
||||
static WORKING_AREA(waThread1, 128);
|
||||
static msg_t Thread1(void *arg) {
|
||||
|
||||
(void)arg;
|
||||
chRegSetThreadName("blinker");
|
||||
while (TRUE) {
|
||||
palClearPad(BL_PORT, BL_PIN);
|
||||
chThdSleepMilliseconds(30);
|
||||
palSetPad(BL_PORT, BL_PIN);
|
||||
chThdSleepMilliseconds(30);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Application entry point.
|
||||
*/
|
||||
int main(void) {
|
||||
|
||||
/*
|
||||
* System initializations.
|
||||
* - HAL initialization, this also initializes the configured device drivers
|
||||
* and performs the board-specific initializations.
|
||||
* - Kernel initialization, the main() function becomes a thread and the
|
||||
* RTOS is active.
|
||||
*/
|
||||
halInit();
|
||||
chSysInit();
|
||||
|
||||
/*
|
||||
* Activates the serial driver 2 using the driver default configuration.
|
||||
*/
|
||||
sdStart(&SD2, NULL);
|
||||
|
||||
|
||||
palSetPadMode(BL_PORT, BL_PIN, PAL_MODE_OUTPUT_PUSHPULL);
|
||||
|
||||
/*
|
||||
* Creates the blinker thread.
|
||||
*/
|
||||
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
|
||||
|
||||
/*
|
||||
* Normal main() thread activity, in this demo it does nothing except
|
||||
* sleeping in a loop and check the button state.
|
||||
*/
|
||||
while (TRUE) {
|
||||
// if (!palReadPad(GPIOC, GPIOC_BUTTON))
|
||||
// TestThread(&SD2);
|
||||
chThdSleepMilliseconds(500);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,199 +1,199 @@
|
|||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#define STM32F103_MCUCONF
|
||||
|
||||
/*
|
||||
* STM32F103 drivers configuration.
|
||||
* The following settings override the default settings present in
|
||||
* the various device driver implementation headers.
|
||||
* Note that the settings for each driver only have effect if the whole
|
||||
* driver is enabled in halconf.h.
|
||||
*
|
||||
* IRQ priorities:
|
||||
* 15...0 Lowest...Highest.
|
||||
*
|
||||
* DMA priorities:
|
||||
* 0...3 Lowest...Highest.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HAL driver system settings.
|
||||
*/
|
||||
#define STM32_NO_INIT FALSE
|
||||
#define STM32_HSI_ENABLED TRUE
|
||||
#define STM32_LSI_ENABLED FALSE
|
||||
#define STM32_HSE_ENABLED FALSE
|
||||
#define STM32_LSE_ENABLED FALSE
|
||||
#define STM32_SW STM32_SW_PLL
|
||||
#define STM32_PLLSRC STM32_PLLSRC_HSI
|
||||
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
|
||||
#define STM32_PLLMUL_VALUE 12
|
||||
#define STM32_HPRE STM32_HPRE_DIV1
|
||||
#define STM32_PPRE1 STM32_PPRE1_DIV2
|
||||
#define STM32_PPRE2 STM32_PPRE2_DIV2
|
||||
#define STM32_ADCPRE STM32_ADCPRE_DIV4
|
||||
#define STM32_USB_CLOCK_REQUIRED TRUE
|
||||
#define STM32_USBPRE STM32_USBPRE_DIV1
|
||||
#define STM32_MCOSEL STM32_MCOSEL_NOCLOCK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_NOCLOCK
|
||||
#define STM32_PVD_ENABLE FALSE
|
||||
#define STM32_PLS STM32_PLS_LEV0
|
||||
|
||||
/*
|
||||
* ADC driver system settings.
|
||||
*/
|
||||
#define STM32_ADC_USE_ADC1 FALSE
|
||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||
|
||||
/*
|
||||
* CAN driver system settings.
|
||||
*/
|
||||
#define STM32_CAN_USE_CAN1 FALSE
|
||||
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
|
||||
|
||||
/*
|
||||
* EXT driver system settings.
|
||||
*/
|
||||
#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI1_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI2_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI3_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI4_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI5_9_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI10_15_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI17_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI18_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI19_IRQ_PRIORITY 6
|
||||
|
||||
/*
|
||||
* GPT driver system settings.
|
||||
*/
|
||||
#define STM32_GPT_USE_TIM1 FALSE
|
||||
#define STM32_GPT_USE_TIM2 FALSE
|
||||
#define STM32_GPT_USE_TIM3 FALSE
|
||||
#define STM32_GPT_USE_TIM4 FALSE
|
||||
#define STM32_GPT_USE_TIM5 FALSE
|
||||
#define STM32_GPT_USE_TIM8 FALSE
|
||||
#define STM32_GPT_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* I2C driver system settings.
|
||||
*/
|
||||
#define STM32_I2C_USE_I2C1 FALSE
|
||||
#define STM32_I2C_USE_I2C2 FALSE
|
||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||
|
||||
/*
|
||||
* ICU driver system settings.
|
||||
*/
|
||||
#define STM32_ICU_USE_TIM1 FALSE
|
||||
#define STM32_ICU_USE_TIM2 FALSE
|
||||
#define STM32_ICU_USE_TIM3 FALSE
|
||||
#define STM32_ICU_USE_TIM4 FALSE
|
||||
#define STM32_ICU_USE_TIM5 FALSE
|
||||
#define STM32_ICU_USE_TIM8 FALSE
|
||||
#define STM32_ICU_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* PWM driver system settings.
|
||||
*/
|
||||
#define STM32_PWM_USE_ADVANCED FALSE
|
||||
#define STM32_PWM_USE_TIM1 FALSE
|
||||
#define STM32_PWM_USE_TIM2 FALSE
|
||||
#define STM32_PWM_USE_TIM3 FALSE
|
||||
#define STM32_PWM_USE_TIM4 FALSE
|
||||
#define STM32_PWM_USE_TIM5 FALSE
|
||||
#define STM32_PWM_USE_TIM8 FALSE
|
||||
#define STM32_PWM_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* RTC driver system settings.
|
||||
*/
|
||||
#define STM32_RTC_IRQ_PRIORITY 15
|
||||
|
||||
/*
|
||||
* SERIAL driver system settings.
|
||||
*/
|
||||
#define STM32_SERIAL_USE_USART1 FALSE
|
||||
#define STM32_SERIAL_USE_USART2 TRUE
|
||||
#define STM32_SERIAL_USE_USART3 FALSE
|
||||
#define STM32_SERIAL_USE_UART4 FALSE
|
||||
#define STM32_SERIAL_USE_UART5 FALSE
|
||||
#define STM32_SERIAL_USART1_PRIORITY 12
|
||||
#define STM32_SERIAL_USART2_PRIORITY 12
|
||||
#define STM32_SERIAL_USART3_PRIORITY 12
|
||||
#define STM32_SERIAL_UART4_PRIORITY 12
|
||||
#define STM32_SERIAL_UART5_PRIORITY 12
|
||||
|
||||
/*
|
||||
* SPI driver system settings.
|
||||
*/
|
||||
#define STM32_SPI_USE_SPI1 FALSE
|
||||
#define STM32_SPI_USE_SPI2 FALSE
|
||||
#define STM32_SPI_USE_SPI3 FALSE
|
||||
#define STM32_SPI_SPI1_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI2_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI3_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI1_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_SPI2_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_SPI3_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
|
||||
|
||||
/*
|
||||
* UART driver system settings.
|
||||
*/
|
||||
#define STM32_UART_USE_USART1 FALSE
|
||||
#define STM32_UART_USE_USART2 FALSE
|
||||
#define STM32_UART_USE_USART3 FALSE
|
||||
#define STM32_UART_USART1_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART2_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART3_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART1_DMA_PRIORITY 0
|
||||
#define STM32_UART_USART2_DMA_PRIORITY 0
|
||||
#define STM32_UART_USART3_DMA_PRIORITY 0
|
||||
#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
|
||||
|
||||
/*
|
||||
* USB driver system settings.
|
||||
*/
|
||||
#define STM32_USB_USE_USB1 FALSE
|
||||
#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE
|
||||
#define STM32_USB_USB1_HP_IRQ_PRIORITY 13
|
||||
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
|
||||
|
||||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#define STM32F103_MCUCONF
|
||||
|
||||
/*
|
||||
* STM32F103 drivers configuration.
|
||||
* The following settings override the default settings present in
|
||||
* the various device driver implementation headers.
|
||||
* Note that the settings for each driver only have effect if the whole
|
||||
* driver is enabled in halconf.h.
|
||||
*
|
||||
* IRQ priorities:
|
||||
* 15...0 Lowest...Highest.
|
||||
*
|
||||
* DMA priorities:
|
||||
* 0...3 Lowest...Highest.
|
||||
*/
|
||||
|
||||
/*
|
||||
* HAL driver system settings.
|
||||
*/
|
||||
#define STM32_NO_INIT FALSE
|
||||
#define STM32_HSI_ENABLED TRUE
|
||||
#define STM32_LSI_ENABLED FALSE
|
||||
#define STM32_HSE_ENABLED FALSE
|
||||
#define STM32_LSE_ENABLED FALSE
|
||||
#define STM32_SW STM32_SW_PLL
|
||||
#define STM32_PLLSRC STM32_PLLSRC_HSI
|
||||
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
|
||||
#define STM32_PLLMUL_VALUE 12
|
||||
#define STM32_HPRE STM32_HPRE_DIV1
|
||||
#define STM32_PPRE1 STM32_PPRE1_DIV2
|
||||
#define STM32_PPRE2 STM32_PPRE2_DIV2
|
||||
#define STM32_ADCPRE STM32_ADCPRE_DIV4
|
||||
#define STM32_USB_CLOCK_REQUIRED TRUE
|
||||
#define STM32_USBPRE STM32_USBPRE_DIV1
|
||||
#define STM32_MCOSEL STM32_MCOSEL_NOCLOCK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_NOCLOCK
|
||||
#define STM32_PVD_ENABLE FALSE
|
||||
#define STM32_PLS STM32_PLS_LEV0
|
||||
|
||||
/*
|
||||
* ADC driver system settings.
|
||||
*/
|
||||
#define STM32_ADC_USE_ADC1 FALSE
|
||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||
#define STM32_ADC_ADC1_IRQ_PRIORITY 6
|
||||
|
||||
/*
|
||||
* CAN driver system settings.
|
||||
*/
|
||||
#define STM32_CAN_USE_CAN1 FALSE
|
||||
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
|
||||
|
||||
/*
|
||||
* EXT driver system settings.
|
||||
*/
|
||||
#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI1_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI2_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI3_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI4_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI5_9_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI10_15_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI17_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI18_IRQ_PRIORITY 6
|
||||
#define STM32_EXT_EXTI19_IRQ_PRIORITY 6
|
||||
|
||||
/*
|
||||
* GPT driver system settings.
|
||||
*/
|
||||
#define STM32_GPT_USE_TIM1 FALSE
|
||||
#define STM32_GPT_USE_TIM2 FALSE
|
||||
#define STM32_GPT_USE_TIM3 FALSE
|
||||
#define STM32_GPT_USE_TIM4 FALSE
|
||||
#define STM32_GPT_USE_TIM5 FALSE
|
||||
#define STM32_GPT_USE_TIM8 FALSE
|
||||
#define STM32_GPT_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* I2C driver system settings.
|
||||
*/
|
||||
#define STM32_I2C_USE_I2C1 FALSE
|
||||
#define STM32_I2C_USE_I2C2 FALSE
|
||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 5
|
||||
#define STM32_I2C_I2C2_IRQ_PRIORITY 5
|
||||
#define STM32_I2C_I2C1_DMA_PRIORITY 3
|
||||
#define STM32_I2C_I2C2_DMA_PRIORITY 3
|
||||
#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
|
||||
#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
|
||||
|
||||
/*
|
||||
* ICU driver system settings.
|
||||
*/
|
||||
#define STM32_ICU_USE_TIM1 FALSE
|
||||
#define STM32_ICU_USE_TIM2 FALSE
|
||||
#define STM32_ICU_USE_TIM3 FALSE
|
||||
#define STM32_ICU_USE_TIM4 FALSE
|
||||
#define STM32_ICU_USE_TIM5 FALSE
|
||||
#define STM32_ICU_USE_TIM8 FALSE
|
||||
#define STM32_ICU_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_ICU_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* PWM driver system settings.
|
||||
*/
|
||||
#define STM32_PWM_USE_ADVANCED FALSE
|
||||
#define STM32_PWM_USE_TIM1 FALSE
|
||||
#define STM32_PWM_USE_TIM2 FALSE
|
||||
#define STM32_PWM_USE_TIM3 FALSE
|
||||
#define STM32_PWM_USE_TIM4 FALSE
|
||||
#define STM32_PWM_USE_TIM5 FALSE
|
||||
#define STM32_PWM_USE_TIM8 FALSE
|
||||
#define STM32_PWM_TIM1_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM5_IRQ_PRIORITY 7
|
||||
#define STM32_PWM_TIM8_IRQ_PRIORITY 7
|
||||
|
||||
/*
|
||||
* RTC driver system settings.
|
||||
*/
|
||||
#define STM32_RTC_IRQ_PRIORITY 15
|
||||
|
||||
/*
|
||||
* SERIAL driver system settings.
|
||||
*/
|
||||
#define STM32_SERIAL_USE_USART1 FALSE
|
||||
#define STM32_SERIAL_USE_USART2 TRUE
|
||||
#define STM32_SERIAL_USE_USART3 FALSE
|
||||
#define STM32_SERIAL_USE_UART4 FALSE
|
||||
#define STM32_SERIAL_USE_UART5 FALSE
|
||||
#define STM32_SERIAL_USART1_PRIORITY 12
|
||||
#define STM32_SERIAL_USART2_PRIORITY 12
|
||||
#define STM32_SERIAL_USART3_PRIORITY 12
|
||||
#define STM32_SERIAL_UART4_PRIORITY 12
|
||||
#define STM32_SERIAL_UART5_PRIORITY 12
|
||||
|
||||
/*
|
||||
* SPI driver system settings.
|
||||
*/
|
||||
#define STM32_SPI_USE_SPI1 FALSE
|
||||
#define STM32_SPI_USE_SPI2 FALSE
|
||||
#define STM32_SPI_USE_SPI3 FALSE
|
||||
#define STM32_SPI_SPI1_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI2_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI3_DMA_PRIORITY 1
|
||||
#define STM32_SPI_SPI1_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_SPI2_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_SPI3_IRQ_PRIORITY 10
|
||||
#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
|
||||
|
||||
/*
|
||||
* UART driver system settings.
|
||||
*/
|
||||
#define STM32_UART_USE_USART1 FALSE
|
||||
#define STM32_UART_USE_USART2 FALSE
|
||||
#define STM32_UART_USE_USART3 FALSE
|
||||
#define STM32_UART_USART1_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART2_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART3_IRQ_PRIORITY 12
|
||||
#define STM32_UART_USART1_DMA_PRIORITY 0
|
||||
#define STM32_UART_USART2_DMA_PRIORITY 0
|
||||
#define STM32_UART_USART3_DMA_PRIORITY 0
|
||||
#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
|
||||
|
||||
/*
|
||||
* USB driver system settings.
|
||||
*/
|
||||
#define STM32_USB_USE_USB1 FALSE
|
||||
#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE
|
||||
#define STM32_USB_USB1_HP_IRQ_PRIORITY 13
|
||||
#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
|
||||
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
*****************************************************************************
|
||||
** ChibiOS/RT port for ARM-Cortex-M3 STM32F103. **
|
||||
*****************************************************************************
|
||||
|
||||
** TARGET **
|
||||
|
||||
The demo runs on an ST_NUCLEO_F103RB board.
|
||||
|
||||
** The Demo **
|
||||
|
||||
The demo flashes the board LED using a thread, by pressing the button located
|
||||
on the board the test procedure is activated with output on the serial port
|
||||
SD2 (USART2, mapped on USB virtual COM port).
|
||||
|
||||
** Build Procedure **
|
||||
|
||||
The demo has been tested by using the free Codesourcery GCC-based toolchain
|
||||
and YAGARTO.
|
||||
Just modify the TRGT line in the makefile in order to use different GCC ports.
|
||||
|
||||
** Notes **
|
||||
|
||||
Some files used by the demo are not part of ChibiOS/RT but are copyright of
|
||||
ST Microelectronics and are licensed under a different license.
|
||||
Also note that not all the files present in the ST library are distributed
|
||||
with ChibiOS/RT, you can find the whole library on the ST web site:
|
||||
|
||||
http://www.st.com
|
||||
*****************************************************************************
|
||||
** ChibiOS/RT port for ARM-Cortex-M3 STM32F103. **
|
||||
*****************************************************************************
|
||||
|
||||
** TARGET **
|
||||
|
||||
The demo runs on an ST_NUCLEO_F103RB board.
|
||||
|
||||
** The Demo **
|
||||
|
||||
The demo flashes the board LED using a thread, by pressing the button located
|
||||
on the board the test procedure is activated with output on the serial port
|
||||
SD2 (USART2, mapped on USB virtual COM port).
|
||||
|
||||
** Build Procedure **
|
||||
|
||||
The demo has been tested by using the free Codesourcery GCC-based toolchain
|
||||
and YAGARTO.
|
||||
Just modify the TRGT line in the makefile in order to use different GCC ports.
|
||||
|
||||
** Notes **
|
||||
|
||||
Some files used by the demo are not part of ChibiOS/RT but are copyright of
|
||||
ST Microelectronics and are licensed under a different license.
|
||||
Also note that not all the files present in the ST library are distributed
|
||||
with ChibiOS/RT, you can find the whole library on the ST web site:
|
||||
|
||||
http://www.st.com
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
|
||||
|
||||
echo This script should be executed from the root of rusEfi trunk SVN local copy
|
||||
pwd
|
||||
|
||||
echo Updating from SVN
|
||||
call svn update
|
||||
|
||||
set RUSEFI_GIT_PATH=../rusefi.github/rusefi
|
||||
|
||||
|
||||
|
||||
ls -l %RUSEFI_GIT_PATH%
|
||||
rd /s /q %RUSEFI_GIT_PATH%\firmware
|
||||
rd /s /q %RUSEFI_GIT_PATH%\hardware
|
||||
rd /s /q %RUSEFI_GIT_PATH%\java_console
|
||||
rd /s /q %RUSEFI_GIT_PATH%\unit_tests
|
||||
rd /s /q %RUSEFI_GIT_PATH%\win32_functional_tests
|
||||
|
||||
cp -r firmware %RUSEFI_GIT_PATH%
|
||||
cp -r hardware %RUSEFI_GIT_PATH%
|
||||
cp -r java_console %RUSEFI_GIT_PATH%
|
||||
cp -r unit_tests %RUSEFI_GIT_PATH%
|
||||
cp -r win32_functional_tests %RUSEFI_GIT_PATH%
|
||||
rm -f %RUSEFI_GIT_PATH%/readme.*
|
||||
rm -f %RUSEFI_GIT_PATH%/README.*
|
||||
cp -r README.* %RUSEFI_GIT_PATH%
|
||||
cp -r readme.* %RUSEFI_GIT_PATH%
|
||||
|
||||
|
||||
echo Going to git copy location
|
||||
|
||||
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
git config --global user.email "russianefi@gmail.com"
|
||||
git config --global user.name "rusEfi"
|
||||
|
||||
git pull
|
||||
git add *
|
||||
git commit -a -m "auto-sync"
|
||||
git push --repo https://rusefi:PASSWORD@github.com/rusefi/rusefi
|
||||
|
||||
|
||||
echo This script should be executed from the root of rusEfi trunk SVN local copy
|
||||
pwd
|
||||
|
||||
echo Updating from SVN
|
||||
call svn update
|
||||
|
||||
set RUSEFI_GIT_PATH=../rusefi.github/rusefi
|
||||
|
||||
|
||||
|
||||
ls -l %RUSEFI_GIT_PATH%
|
||||
rd /s /q %RUSEFI_GIT_PATH%\firmware
|
||||
rd /s /q %RUSEFI_GIT_PATH%\hardware
|
||||
rd /s /q %RUSEFI_GIT_PATH%\java_console
|
||||
rd /s /q %RUSEFI_GIT_PATH%\unit_tests
|
||||
rd /s /q %RUSEFI_GIT_PATH%\win32_functional_tests
|
||||
|
||||
cp -r firmware %RUSEFI_GIT_PATH%
|
||||
cp -r hardware %RUSEFI_GIT_PATH%
|
||||
cp -r java_console %RUSEFI_GIT_PATH%
|
||||
cp -r unit_tests %RUSEFI_GIT_PATH%
|
||||
cp -r win32_functional_tests %RUSEFI_GIT_PATH%
|
||||
rm -f %RUSEFI_GIT_PATH%/readme.*
|
||||
rm -f %RUSEFI_GIT_PATH%/README.*
|
||||
cp -r README.* %RUSEFI_GIT_PATH%
|
||||
cp -r readme.* %RUSEFI_GIT_PATH%
|
||||
|
||||
|
||||
echo Going to git copy location
|
||||
|
||||
|
||||
cd %RUSEFI_GIT_PATH%
|
||||
|
||||
git config --global user.email "russianefi@gmail.com"
|
||||
git config --global user.name "rusEfi"
|
||||
|
||||
git pull
|
||||
git add *
|
||||
git commit -a -m "auto-sync"
|
||||
git push --repo https://rusefi:PASSWORD@github.com/rusefi/rusefi
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
rd /s /q c:\stuff\rusefi.svn2git
|
||||
|
||||
mkdir -p c:\stuff\rusefi.svn2git\rusefi.svn
|
||||
cd c:\stuff\rusefi.svn2git\rusefi.svn
|
||||
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
|
||||
|
||||
mkdir -p c:\stuff\rusefi.svn2git\rusefi.github
|
||||
cd c:\stuff\rusefi.svn2git\rusefi.github
|
||||
git clone https://github.com/rusefi/rusefi.git
|
||||
rd /s /q c:\stuff\rusefi.svn2git
|
||||
|
||||
mkdir -p c:\stuff\rusefi.svn2git\rusefi.svn
|
||||
cd c:\stuff\rusefi.svn2git\rusefi.svn
|
||||
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
|
||||
|
||||
mkdir -p c:\stuff\rusefi.svn2git\rusefi.github
|
||||
cd c:\stuff\rusefi.svn2git\rusefi.github
|
||||
git clone https://github.com/rusefi/rusefi.git
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
echo Statding test_bundle.bat
|
||||
|
||||
cd java_console
|
||||
rem call ant autotest
|
||||
rem IF NOT ERRORLEVEL 0 echo auto test ERROR DETECTED
|
||||
rem IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
cd ..
|
||||
|
||||
pwd
|
||||
echo Cleaning
|
||||
cd firmware
|
||||
call clean.bat
|
||||
cd ..
|
||||
|
||||
cd misc
|
||||
call hw_test.bat
|
||||
IF NOT ERRORLEVEL 0 echo real hardware test ERROR DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
echo %date% %time%
|
||||
echo Statding test_bundle.bat
|
||||
|
||||
cd java_console
|
||||
rem call ant autotest
|
||||
rem IF NOT ERRORLEVEL 0 echo auto test ERROR DETECTED
|
||||
rem IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
cd ..
|
||||
|
||||
pwd
|
||||
echo Cleaning
|
||||
cd firmware
|
||||
call clean.bat
|
||||
cd ..
|
||||
|
||||
cd misc
|
||||
call hw_test.bat
|
||||
IF NOT ERRORLEVEL 0 echo real hardware test ERROR DETECTED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
cd ..
|
||||
pwd
|
||||
|
||||
echo %date% %time%
|
||||
echo test_bundle.bat: done
|
|
@ -1,48 +1,48 @@
|
|||
echo I am unit_tests.bat
|
||||
|
||||
cd firmware
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
java -jar ../java_tools/version2header.jar
|
||||
|
||||
make
|
||||
if not exist build/rusefi.hex echo FAILED TO COMPILE FIRMWARE
|
||||
if not exist build/rusefi.hex exit -1
|
||||
cd ..
|
||||
|
||||
echo We are in root folder
|
||||
pwd
|
||||
|
||||
|
||||
|
||||
cd unit_tests
|
||||
|
||||
call compile.bat
|
||||
pwd
|
||||
ls -l build
|
||||
if not exist build/rusefi_test.exe echo FAILED TO COMPILE UNIT TESTS
|
||||
if not exist build/rusefi_test.exe exit -1
|
||||
|
||||
echo Unit tests build looks good, now executing unit tests
|
||||
|
||||
cd build
|
||||
call rusefi_test.exe
|
||||
IF NOT ERRORLEVEL echo UNIT TEST FAILED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
echo Back to root folder
|
||||
pwd
|
||||
|
||||
|
||||
|
||||
echo Preparing firmware-only fast upload
|
||||
zip -j firmware/build/rusefi_firmware.zip firmware/svnversion.h firmware/build/rusefi.hex firmware/build/rusefi.bin firmware/build/rusefi.elf firmware/tunerstudio/rusefi.ini
|
||||
|
||||
echo Now uploading only firmware
|
||||
|
||||
ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% rusefi.com separate_files firmware/build/rusefi_firmware.zip
|
||||
echo I am unit_tests.bat
|
||||
|
||||
cd firmware
|
||||
echo "CD to ${PWD}"
|
||||
|
||||
rm -fR .dep
|
||||
rm -fR build
|
||||
java -jar ../java_tools/version2header.jar
|
||||
|
||||
make
|
||||
if not exist build/rusefi.hex echo FAILED TO COMPILE FIRMWARE
|
||||
if not exist build/rusefi.hex exit -1
|
||||
cd ..
|
||||
|
||||
echo We are in root folder
|
||||
pwd
|
||||
|
||||
|
||||
|
||||
cd unit_tests
|
||||
|
||||
call compile.bat
|
||||
pwd
|
||||
ls -l build
|
||||
if not exist build/rusefi_test.exe echo FAILED TO COMPILE UNIT TESTS
|
||||
if not exist build/rusefi_test.exe exit -1
|
||||
|
||||
echo Unit tests build looks good, now executing unit tests
|
||||
|
||||
cd build
|
||||
call rusefi_test.exe
|
||||
IF NOT ERRORLEVEL echo UNIT TEST FAILED
|
||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
echo Back to root folder
|
||||
pwd
|
||||
|
||||
|
||||
|
||||
echo Preparing firmware-only fast upload
|
||||
zip -j firmware/build/rusefi_firmware.zip firmware/svnversion.h firmware/build/rusefi.hex firmware/build/rusefi.bin firmware/build/rusefi.elf firmware/tunerstudio/rusefi.ini
|
||||
|
||||
echo Now uploading only firmware
|
||||
|
||||
ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% rusefi.com separate_files firmware/build/rusefi_firmware.zip
|
||||
|
|
Loading…
Reference in New Issue