Skip to content

Commit b74a676

Browse files
add begin data software setup
1 parent 2e8bf5e commit b74a676

File tree

219 files changed

+164523
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+164523
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.pio
2+
.vscode/.browse.c_cpp.db*
3+
.vscode/c_cpp_properties.json
4+
.vscode/launch.json
5+
.vscode/ipch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"platformio.platformio-ide"
6+
],
7+
"unwantedRecommendations": [
8+
"ms-vscode.cpptools-extension-pack"
9+
]
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"files.associations": {
3+
"calibrationdata.h": "c",
4+
"gesturedetect.h": "c"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"build": {
3+
"core": "stm32",
4+
"cpu": "cortex-m4",
5+
"extra_flags": "-DSTM32F302xC",
6+
"f_cpu": "32000000L",
7+
"mcu": "stm32f302rc",
8+
"product_line": "STM32F302xC",
9+
"variant": "STM32F3xx/F302R(B-C-D-E)T"
10+
},
11+
"debug": {
12+
"default_tools": [
13+
"stlink"
14+
],
15+
"jlink_device": "STM32F302RE",
16+
"openocd_target": "stm32f3x",
17+
"svd_path": "STM32F302x.svd"
18+
},
19+
"frameworks": [
20+
"arduino",
21+
"cmsis",
22+
"mbed",
23+
"stm32cube",
24+
"libopencm3",
25+
"zephyr"
26+
],
27+
"name": "ST Nucleo F302RE (40k RAM. 256k Flash)",
28+
"upload": {
29+
"maximum_ram_size": 32768,
30+
"maximum_size": 262144,
31+
"protocol": "stlink",
32+
"protocols": [
33+
"jlink",
34+
"cmsis-dap",
35+
"stlink",
36+
"blackmagic",
37+
"mbed"
38+
]
39+
},
40+
"url": "https://www.st.com/en/microcontrollers-microprocessors/stm32f302.html",
41+
"vendor": "ST"
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"build": {
3+
"core": "stm32",
4+
"cpu": "cortex-m4",
5+
"extra_flags": "-DSTM32F302xE",
6+
"f_cpu": "32000000L",
7+
"mcu": "stm32f302ret6",
8+
"product_line": "STM32F302xE",
9+
"variant": "STM32F3xx/F302R(B-C-D-E)T"
10+
},
11+
"debug": {
12+
"default_tools": [
13+
"stlink"
14+
],
15+
"jlink_device": "STM32F302RE",
16+
"openocd_target": "stm32f3x",
17+
"svd_path": "STM32F302x.svd"
18+
},
19+
"frameworks": [
20+
"arduino",
21+
"cmsis",
22+
"mbed",
23+
"stm32cube",
24+
"libopencm3",
25+
"zephyr"
26+
],
27+
"name": "ST Nucleo F302RE (64k RAM. 512k Flash)",
28+
"upload": {
29+
"maximum_ram_size": 65536,
30+
"maximum_size": 524288,
31+
"protocol": "stlink",
32+
"protocols": [
33+
"jlink",
34+
"cmsis-dap",
35+
"stlink",
36+
"blackmagic",
37+
"mbed"
38+
]
39+
},
40+
"url": "https://www.st.com/en/microcontrollers-microprocessors/stm32f302.html",
41+
"vendor": "ST"
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
This directory is intended for project header files.
3+
4+
A header file is a file containing C declarations and macro definitions
5+
to be shared between several project source files. You request the use of a
6+
header file in your project source file (C, C++, etc) located in `src` folder
7+
by including it, with the C preprocessing directive `#include'.
8+
9+
```src/main.c
10+
11+
#include "header.h"
12+
13+
int main (void)
14+
{
15+
...
16+
}
17+
```
18+
19+
Including a header file produces the same results as copying the header file
20+
into each source file that needs it. Such copying would be time-consuming
21+
and error-prone. With a header file, the related declarations appear
22+
in only one place. If they need to be changed, they can be changed in one
23+
place, and programs that include the header file will automatically use the
24+
new version when next recompiled. The header file eliminates the labor of
25+
finding and changing all the copies as well as the risk that a failure to
26+
find one copy will result in inconsistencies within a program.
27+
28+
In C, the usual convention is to give header files names that end with `.h'.
29+
It is most portable to use only letters, digits, dashes, and underscores in
30+
header file names, and at most one dot.
31+
32+
Read more about using header files in official GCC documentation:
33+
34+
* Include Syntax
35+
* Include Operation
36+
* Once-Only Headers
37+
* Computed Includes
38+
39+
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* USER CODE BEGIN Header */
2+
/**
3+
******************************************************************************
4+
* @file
5+
* @author MCD Application Team
6+
* @version V2.0.0
7+
******************************************************************************
8+
* @attention
9+
*
10+
* Copyright (c) 2022 STMicroelectronics.
11+
* All rights reserved.
12+
*
13+
* This software is licensed under terms that can be found in the LICENSE file
14+
* in the root directory of this software component.
15+
* If no LICENSE file comes with this software, it is provided AS-IS.
16+
*
17+
******************************************************************************
18+
*/
19+
/* USER CODE END Header */
20+
/* Define to prevent recursive inclusion -------------------------------------*/
21+
#ifndef __RTE_COMPONENTS_H__
22+
#define __RTE_COMPONENTS_H__
23+
24+
/* Defines ------------------------------------------------------------------*/
25+
/* STMicroelectronics.X-CUBE-TOF1.3.0.0 */
26+
#define VL53L3CX
27+
28+
#endif /* __RTE_COMPONENTS_H__ */

0 commit comments

Comments
 (0)