inital upload

This commit is contained in:
Yunhorn 2024-04-25 19:33:52 +08:00
parent b96956c4dc
commit 7c3d009a8c
10 changed files with 898 additions and 2526 deletions

View File

@ -499,13 +499,13 @@ int ProcessPeopleCountingData(int16_t Distance, uint8_t zone, uint8_t RangeStatu
PathTrack[PathTrackFillingSize-1] = AllZonesCurrentStatus;
}
//#ifdef TRACE_PPC
// if (AnEventHasOccured) {
// for (int j=0; j<PathTrackFillingSize; j++)
// printf ("%d ", PathTrack[j]);
// }
// printf("\n");
//#endif
#ifdef TRACE_PPC
if (AnEventHasOccured) {
for (int j=0; j<PathTrackFillingSize; j++)
printf ("%d ", PathTrack[j]);
}
printf("\n");
#endif
}
// output debug data to main host machine

View File

@ -52,7 +52,7 @@ void MX_USART1_UART_Init(void)
NVIC_SetPriority(USART1_IRQn, NVIC_EncodePriority(NVIC_GetPriorityGrouping(),0, 0));
NVIC_EnableIRQ(USART1_IRQn);
USART_InitStruct.BaudRate = 9600;
USART_InitStruct.BaudRate = 19200;
USART_InitStruct.DataWidth = LL_USART_DATAWIDTH_8B;
USART_InitStruct.StopBits = LL_USART_STOPBITS_1;
USART_InitStruct.Parity = LL_USART_PARITY_NONE;
@ -92,7 +92,7 @@ void MX_USART2_UART_Init(void)
NVIC_SetPriority(USART2_IRQn, NVIC_EncodePriority(NVIC_GetPriorityGrouping(),1, 0));
NVIC_EnableIRQ(USART2_IRQn);
USART_InitStruct.BaudRate = 9600;
USART_InitStruct.BaudRate = 19200;
USART_InitStruct.DataWidth = LL_USART_DATAWIDTH_8B;
USART_InitStruct.StopBits = LL_USART_STOPBITS_1;
USART_InitStruct.Parity = LL_USART_PARITY_NONE;

View File

@ -10,7 +10,7 @@
<aExt>*.s*; *.src; *.a*</aExt>
<oExt>*.obj; *.o</oExt>
<lExt>*.lib</lExt>
<tExt>*.txt; *.h; *.inc</tExt>
<tExt>*.txt; *.h; *.inc; *.md</tExt>
<pExt>*.plm</pExt>
<CppX>*.cpp</CppX>
<nMigrate>0</nMigrate>
@ -145,7 +145,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>ST-LINKIII-KEIL_SWO</Key>
<Name>-U066BFF313331464257032232 -O2254 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_512.FLM -FS08000000 -FL080000 -FP0($$Device:STM32F401RETx$CMSIS\Flash\STM32F4xx_512.FLM)</Name>
<Name>-U066BFF313331464257032232 -O2254 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_512.FLM -FS08000000 -FL080000 -FP0($$Device:STM32F401RETx$CMSIS\Flash\STM32F4xx_512.FLM)</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
@ -719,7 +719,7 @@
<Group>
<GroupName>Drivers/CMSIS</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
@ -739,7 +739,7 @@
<Group>
<GroupName>Drivers/BSP/VL53L1X_ULD</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>

View File

@ -10,13 +10,13 @@
<TargetName>PeopleCount(VL53L1A2)</TargetName>
<ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName>
<pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
<pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed>
<uAC6>0</uAC6>
<TargetOption>
<TargetCommonOption>
<Device>STM32F401RETx</Device>
<Vendor>STMicroelectronics</Vendor>
<PackID>Keil.STM32F4xx_DFP.2.14.0</PackID>
<PackID>Keil.STM32F4xx_DFP.2.15.0</PackID>
<PackURL>http://www.keil.com/pack/</PackURL>
<Cpu>IRAM(0x20000000-0x20017FFF) IROM(0x8000000-0x807FFFF) CLOCK(25000000) FPU2 CPUTYPE("Cortex-M4") TZ</Cpu>
<FlashUtilSpec></FlashUtilSpec>
@ -654,11 +654,6 @@
<Layers>
<Layer>
<LayName>&lt;Project Info&gt;</LayName>
<LayDesc></LayDesc>
<LayUrl></LayUrl>
<LayKeys></LayKeys>
<LayCat></LayCat>
<LayLic></LayLic>
<LayTarg>0</LayTarg>
<LayPrjMark>1</LayPrjMark>
</Layer>

View File

@ -1,50 +0,0 @@
--cpu=Cortex-M4.fp.sp
"peoplecount(vl53l1a2)\startup_stm32f401xe.o"
"peoplecount(vl53l1a2)\vl53l1_platform.o"
"peoplecount(vl53l1a2)\usart_user.o"
"peoplecount(vl53l1a2)\user_data_process.o"
"peoplecount(vl53l1a2)\user_data_send.o"
"peoplecount(vl53l1a2)\fifo.o"
"peoplecount(vl53l1a2)\lora.o"
"peoplecount(vl53l1a2)\user_tim.o"
"peoplecount(vl53l1a2)\main.o"
"peoplecount(vl53l1a2)\gpio.o"
"peoplecount(vl53l1a2)\i2c.o"
"peoplecount(vl53l1a2)\rtc.o"
"peoplecount(vl53l1a2)\tim.o"
"peoplecount(vl53l1a2)\usart.o"
"peoplecount(vl53l1a2)\stm32f4xx_it.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_msp.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_gpio.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_i2c.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_i2c_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_rcc.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_utils.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_exti.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_rcc.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_rcc_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_flash.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_flash_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_flash_ramfunc.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_gpio.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_dma_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_dma.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_pwr.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_pwr_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_cortex.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_exti.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_rtc.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_tim.o"
"peoplecount(vl53l1a2)\stm32f4xx_hal_tim_ex.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_tim.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_usart.o"
"peoplecount(vl53l1a2)\stm32f4xx_ll_dma.o"
"peoplecount(vl53l1a2)\system_stm32f4xx.o"
"peoplecount(vl53l1a2)\vl53l1x_api.o"
"peoplecount(vl53l1a2)\vl53l1x_calibration.o"
"peoplecount(vl53l1a2)\x-nucleo-53l1a1.o"
--library_type=microlib --strict --scatter "PeopleCount(VL53L1A2)\PeopleCount(VL53L1A2).sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list "PeopleCount(VL53L1A2).map" -o PeopleCount(VL53L1A2)\PeopleCount(VL53L1A2).axf

View File

@ -1,21 +1,21 @@
/*
* Auto generated Run-Time-Environment Configuration File
* *** Do not modify ! ***
*
* Project: 'PeopleCount(VL53L1A2)'
* Target: 'PeopleCount(VL53L1A2)'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_device_header "stm32f4xx.h"
#endif /* RTE_COMPONENTS_H */
/*
* Auto generated Run-Time-Environment Configuration File
* *** Do not modify ! ***
*
* Project: 'PeopleCount(VL53L1A2)'
* Target: 'PeopleCount(VL53L1A2)'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_device_header "stm32f4xx.h"
#endif /* RTE_COMPONENTS_H */

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long