-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from spacelab-ufsc/dev
Defining the project licenses
- Loading branch information
Showing
210 changed files
with
24,320 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ cppcheck-addon-ctu-file-list | |
*.a | ||
*.bin | ||
*.elf | ||
*.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* config.h | ||
* | ||
* Copyright The SLCam Contributors. | ||
* | ||
* This file is part of SLCam. | ||
* | ||
* SLCam is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SLCam is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SLCam. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
/** | ||
* \brief Configuration parameters definition. | ||
* | ||
* \author Gabriel Mariano Marcelino <gabriel.mm8@gmail.com> | ||
* | ||
* \version 0.2.7 | ||
* | ||
* \date 2024/01/13 | ||
* | ||
* \defgroup config Configuration | ||
* \{ | ||
*/ | ||
|
||
#ifndef CONFIG_H_ | ||
#define CONFIG_H_ | ||
|
||
/* Tasks */ | ||
#define CONFIG_TASK_HEARTBEAT_ENABLED 1 | ||
#define CONFIG_STARTUP_ENABLED 1 | ||
|
||
#endif /* CONFIG_H_ */ | ||
|
||
/** \} End of config group */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* errno.h | ||
* | ||
* Copyright The SLCam Contributors. | ||
* | ||
* This file is part of SLCam. | ||
* | ||
* SLCam is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* SLCam is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with SLCam. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
/** | ||
* \brief Errors definition. | ||
* | ||
* \author Miguel Boing <miguelboing13@gmail.com> | ||
* | ||
* \version 0.1.3 | ||
* | ||
* \date 2023/02/16 | ||
* | ||
* \defgroup errno Error Codes | ||
* \{ | ||
*/ | ||
|
||
#ifndef ERRNO_H | ||
#define ERRNO_H | ||
|
||
/* No error ocurred */ | ||
#define ERRNO_SUCCESS 0x00U /** No errors found */ | ||
|
||
/* Driver Level errors */ | ||
#define ERRNO_DRIVER_NO_PORT 0x11U /** No port found */ | ||
#define ERRNO_DRIVER_NO_PARAMETER 0x12U /** Invalid parameter value */ | ||
#define ERRNO_DRIVER_FAILED 0x13U /** Failed to execute HAL function */ | ||
|
||
/* Device Level errors */ | ||
#define ERRNO_DEVICE_FAILED_CONFIG 0x21U /** Failed to configure driver */ | ||
#define ERRNO_DEVICE_FAILED_COM 0x22U /** Failed to communicate */ | ||
|
||
#endif /*ERRNO_H */ | ||
|
||
/** \} End of errno group */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<mxfile host="Electron" modified="2023-07-29T00:03:03.938Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/20.3.0 Chrome/104.0.5112.114 Electron/20.1.3 Safari/537.36" etag="8b7f1caCGSfaGqh31Htp" version="20.3.0" type="device"><diagram id="0qJPchqlG3AJ2SKAlhdZ" name="Page-1">7V1bd5pKFP41eWwXMHJ7TLVpcpo0abW5PHVRnSorKC7Eqv31B4+guLeKUmZmh2NWHmREHD++vWffZnPBmsP5p8gbD+7CHg8uDK03v2CtC8PQG4ZxsfzXeovViGOz1UA/8nvpSZuBtv+Hp4NaOjr1e3yydWIchkHsj7cHu+FoxLvx1pgXReFs+7RfYbD9rWOvz9FAu+sFePTJ78WD1ShjmrZ545r7/UH61clb7uqdoZednZ46GXi9cJYbYh8vWDMKw3j1ajhv8mCJXgbM6nNXe95dzyzio/iYD8w+R+9azWG78/3l8c/13Hz82v/nXXqV314wTX9xK/J/82iSzjleZEhE4XTU48tr6Rfsw2zgx7w99rrLd2fJvU/GBvEwSN/Gc8u+iEcxn+eG0rl+4uGQx9EiOSV9l1kpbilzGo30eLa5D3qG7SB3C7LPeemt768vvQEneZH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V5daP44Bfqd++j9CSGkrYiRaxPQWnLUdHLS2HlE9hGSmx+jlU9Va2cf3GqMkWF0Gd61HJX9We9s7bRmyPADVW0zKYdM0GrC7bOkDXgSXDBPUOQKyu2m/fedvONf8F+79o8XrdXy9TsWUdAWSNrmuMVRc7w7BB1cXOO8UAe8MtL/aSEQrFbrixvHITj0ywby+8hZLdINbrprqmnNqeXpnCm3JW/uxnr3n5+PIQ/LB+xHPdM0eDLx8fsxBOvkNf8/ILY/MqBBVJ5Q5yHR3mk/rwtZ1Y4YCIUjkFslZZCG8/T5SJMwx+ly0vhRE7W1DaCAbs/rLBbnIYhWGcPz2RuMFd2OPLM/4F</diagram></mxfile> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
TARGET=can | ||
|
||
ifndef BUILD_DIR | ||
BUILD_DIR=$(CURDIR) | ||
endif | ||
|
||
ifndef OPENCM3_FAMILY | ||
OPENCM3_FAMILY=STM32F1 | ||
endif | ||
|
||
CC=arm-none-eabi-gcc | ||
CPP=arm-none-eabi-g++ | ||
AS=arm-none-eabi-as | ||
LD=arm-none-eabi-ld | ||
OBJCOPY=arm-none-eabi-objcopy | ||
OBJDUMP=arm-none-eabi-objdump | ||
READELF=arm-none-eabi-readelf | ||
NM=arm-none-eabi-nm | ||
SIZE=arm-none-eabi-size | ||
GDB=arm-none-eabi-gdb | ||
|
||
LIBS= -I../../ -I../../hal/include/ | ||
CFLAGS=-c -mcpu=cortex-m3 -mthumb -O0 $(LIBS) -D$(OPENCM3_FAMILY) | ||
|
||
.PHONY: all | ||
all: | ||
$(CC) $(CFLAGS) $(TARGET).c -o $(BUILD_DIR)/$(TARGET).o | ||
|
||
.PHONY: clean | ||
clean: | ||
rm $(BUILD_DIR)/*.o |
Oops, something went wrong.