repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_swap.c | /*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/tx_pkt.h | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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
//
// ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/mbuf_utils.h | <gh_stars>10-100
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_l2fwd.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_genl4.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/prox_lua.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_sched.h | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2019 Intel Corporation
//
// 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
//
// Unles... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_gre_decap_encap.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/igmp.h | <filename>VNFs/DPPD-PROX/igmp.h
/*
// Copyright (c) 2019 Intel Corporation
//
// 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
//
// Unles... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_lb_pos.c | <reponame>LucProvoost/samplevnf<filename>VNFs/DPPD-PROX/handle_lb_pos.c
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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://ww... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/prox_ipv6.c | /*
// Copyright (c) 2020 Intel Corporation
//
// 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 ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/packet_utils.h | /*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/prox_ipv6.h | /*
// Copyright (c) 2020 Intel Corporation
//
// 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 ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/defaults.c | <filename>VNFs/DPPD-PROX/defaults.c<gh_stars>0
/*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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/LIC... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/clock.c | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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
//
// ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/file_utils.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/genl4_stream_udp.c | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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
//
// ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/display_pkt_len.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/packet_utils.c | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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
//
// ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/eld.h | <filename>VNFs/DPPD-PROX/eld.h
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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
//
// U... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/prox_cksum.h | /*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_qinq_decap6.c | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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
//
// ... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/handle_gen.h | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/stats_task.c | <gh_stars>10-100
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/display_latency.c | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
LucProvoost/samplevnf | VNFs/DPPD-PROX/task_base.h | <reponame>LucProvoost/samplevnf
/*
// Copyright (c) 2010-2020 Intel Corporation
//
// 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
//
// ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/tasks/telemetry.h | <gh_stars>0
/*
* telemetry.h
* Note telemetry and command is used interchangably here.
* Created on: Mar. 17, 2021
* Author: <NAME>
*/
#ifndef INC_TELEMETRY_H_
#define INC_TELEMETRY_H_
#include <stdint.h>
#include "drivers/device/rtc/rtc_common.h"
#include <csp/csp.h>
//Define the csp address of all devic... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/adc_tests.c | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the ad.
//
// History
// 2021-03-24 by <NAME>
// - Created.
//----------------------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/firmware/MSS_C0_hw_platform.h | #ifndef MSS_C0_HW_PLATFORM_H_
#define MSS_C0_HW_PLATFORM_H_
/*****************************************************************************
*
*Created by Microsemi SmartDesign Fri Mar 26 12:21:22 2021
*
*Memory map specification for peripherals in MSS_C0
*/
/*-----------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/tasks/priority_queue.c | <reponame>aminya/ManitobaSat-Flight-Software<gh_stars>1-10
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Priority queue for any payload.
//
// History
// 2019-10-01 <NAME>
// - Crea... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/uart_driver_csp.h | <filename>iris-fsw-softconsole/include/drivers/uart_driver_csp.h
/*
* uart_driver_csp.h
*
* Created on: Apr. 12, 2021
* Author: <NAME>
*/
#ifndef INCLUDE_DRIVERS_UART_DRIVER_CSP_H_
#define INCLUDE_DRIVERS_UART_DRIVER_CSP_H_
#include "csp/interfaces/csp_if_kiss.h"
extern csp_iface_t uartInterface;
extern ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/adcs_tests.c | //-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the adcs system.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//----------------------------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-libero/firmware/MSS_C0_hw_platform.h | <filename>iris-fsw-libero/firmware/MSS_C0_hw_platform.h
#ifndef MSS_C0_HW_PLATFORM_H_
#define MSS_C0_HW_PLATFORM_H_
/*****************************************************************************
*
*Created by Microsemi SmartDesign Wed Mar 24 10:16:32 2021
*
*Memory map specification for peripherals in MSS_C0
*/
/*---... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/rtc/rtc_ds1393.h | <filename>iris-fsw-softconsole/include/drivers/device/rtc/rtc_ds1393.h
#ifndef RTC_DS1393_H_
#define RTC_DS1393_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for the DS139... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/can_driver_csp.c | #include "drivers/protocol/can.h"
#include <csp/arch/csp_thread.h>
#include <csp/interfaces/csp_if_can.h>
typedef uint32_t can_id_t;
/** CAN Frame */
typedef struct {
/** 32 bit CAN identifier */
can_id_t id;
/** Data Length Code */
uint8_t dlc;
/**< Frame Data - 0 to 8 bytes */
union __attribute__((aligned(8))... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/protocol/can.h | #ifndef INCLUDE_CAN_H_
#define INCLUDE_CAN_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Functions for CAN initialization, message reception, and message transmission. Received m... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/adc/AD7928.h | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the AD7928 ADC.
//
// History
// 2021-03-24 by <NAME>
// - Created.
//
//--------------------------------... |
aminya/ManitobaSat-Flight-Software | mbsat-fsw-softconsole/src/tasks/csp_server.c | <reponame>aminya/ManitobaSat-Flight-Software
//------------------------------------------------------------------------------
// MBSat-1
//
// Repository:
// Github: https://github.com/joehowarth17/ManitobaSat-Flight-Software
//
// File Description:
// This file contains the Cubesat Space Protocol server.
//
// Histor... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/rtc/rtc_time.c | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// User-facing RTC module for reading, writing, and validating the internal and external RTC.
//
// History
// 2019-04-18 by <NAME>
// - C... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/filesystem_tests.c | <reponame>aminya/ManitobaSat-Flight-Software
//-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the file system. Additional tests
// are in the littleFS folder in the Libraries folder.
//
// History
// 2020-04... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/version.h | <gh_stars>1-10
#ifndef INCLUDE_VERSION_H_
#define INCLUDE_VERSION_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Contains version information for this software. Instructions:
// -... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/FreeRTOSConfig.h | // Amin: portCONFIGURE_TIMER_FOR_RUN_TIME_STATS was defined to be empty
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
/*
* The following #error directive is to remind users that a batch file must be
* executed prior to this project being built. Once it has been executed
* remove the #error line below.
*/
... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/tasks/request_code.c | <gh_stars>0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// MBSATS 2019-2020
//
// Repository:
// ManitobaSat-Flight-Software
//
// File Description:
// Request code function handling.
//
// History
// 2... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/tasks/csp_server.c | <reponame>aminya/ManitobaSat-Flight-Software<filename>iris-fsw-softconsole/src/tasks/csp_server.c<gh_stars>0
//------------------------------------------------------------------------------
// MBSat-1
//
// Repository:
// Github: https://github.com/joehowarth17/ManitobaSat-Flight-Software
//
// File Description:
// Th... |
aminya/ManitobaSat-Flight-Software | mbsat-fsw-softconsole/src/tasks/operations.c | <gh_stars>0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// MBSat-1
//
// Repository:
// Github: https://github.com/joehowarth17/ManitobaSat-Flight-Software
//
// File Description:
// Main task and operat... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/filesystem_driver.c | <filename>iris-fsw-softconsole/src/drivers/filesystem_driver.c
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver interface for the file system.
//
// History
// 2020-04-10 by <NA... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/tasks/scheduler.c | <reponame>aminya/ManitobaSat-Flight-Software<filename>iris-fsw-softconsole/src/tasks/scheduler.c
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Custom task scheduler. Uses a queue of... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/power_driver.h | <reponame>aminya/ManitobaSat-Flight-Software
/*
* power_driver.h
*
* Created on: Jan 29, 2022
* Author: mckoyj
*/
#ifndef INCLUDE_DRIVERS_DEVICE_POWER_DRIVER_H_
#define INCLUDE_DRIVERS_DEVICE_POWER_DRIVER_H_
// Not sure which includes are actually necessary
#include <stdio.h>
#include <stdlib.h>
#include <... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/memory/flash_common.c | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Common interface for external flash drivers.
//
// History
// 2020-03-30 by <NAME>
// - Created.
//---------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/adcs_driver.c | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the ADCS controller.
//
// History
// 2020-01-02 by <NAME>
// - Created.
//
// Based on information from... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/rtc_tests.c | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the real time clock.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//---------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/wd_tests.c | //-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the watchdog timer.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//-------------------------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/AT25SF_flash.h | <reponame>aminya/ManitobaSat-Flight-Software<gh_stars>1-10
#ifndef AT25SF_H_
#define AT25SF_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Dev Kit on-board flash memory (AT25SF161... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/leds.c | <reponame>aminya/ManitobaSat-Flight-Software<filename>iris-fsw-softconsole/src/drivers/leds.c
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// LED tasks and functions for the project. ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/memory/MT25Q_flash.c | <reponame>aminya/ManitobaSat-Flight-Software
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// External flash memory (MT25Q) driver.
//
// History
// 2020-03-13 by <NAME>
// - Created.
... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/filesystem_driver.h | <gh_stars>1-10
#ifndef FS_DRIVER_H
#define FS_DRIVER_H
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver interface for the file system.
//
// History
// 2020-04-10 by <NAME>
// -... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/memory_tests.c | //-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to the external memory (mram/flash).
//
// History
// 2020-04-21 by <NAME>
// - Created.
//-----------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/adc/AD7928.c | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the AD7928 ADC.
//
// History
// 2021-03-24 by <NAME>
// - Created.
//
//--------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/adcs_driver.h | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the ADCS controller.
//
// History
// 2020-01-02 by <NAME>
// - Created.
//
// Based on information from... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/software_update_driver.h | #ifndef SOFTWARE_UPDATE_H_
#define SOFTWARE_UPDATE_H_
//------------------------------------------------------------------------------
// File Description:
// Driver for updating the software/FPGA fabric (ISP).
//
// History
// 2020-05-05 by <NAME>
// - Created.
//------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/can_tests.c | <reponame>aminya/ManitobaSat-Flight-Software
//-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to CAN bus communication.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//-------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/W25Q_flash.h | #ifndef W25Q_H_
#define W25Q_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Program flash memory chip on the IrisSat CDH board.
//
// History
// 2021-03-04 by <NAME>
// - Created.... |
aminya/ManitobaSat-Flight-Software | mbsat-fsw-softconsole/include/tasks/csp_server.h | <gh_stars>0
#ifndef CSP_SERVER_H_
#define CSP_SERVER_H_
//------------------------------------------------------------------------------
//
// Repository:
// Github: https://github.com/joehowarth17/ManitobaSat-Flight-Software
//
// File Description:
// This file contains the Cubesat Space Protocol server.
//
// Histor... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/uart_driver_csp.c | /*
* uart_driver_csp.c
*
* Created on: Apr. 12, 2021
* Author: <NAME>
*/
#include "drivers/uart_driver_csp.h"
#include "drivers/protocol/uart.h"
csp_iface_t uartInterface = {0};
csp_kiss_handle_t uartHandle = {0};
void uartPutChar(char c){
prvUARTSend(&g_mss_uart0, &c, 1);
}
|
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/adc/adc_common.h | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the analog to digital converter IC on Iris CDH.
//
// History
// 2021-03-24 by <NAME>
// - Created.
//
//... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/power_driver.c | /*
* power_driver.c
*
* Created on: Jan 29, 2022
* Author: mckoyj
*/
#include "drivers/device/power_driver.h"
void handlePowTelemetry(uint8_t * tlm_data)
{
// Get telemetry ID fo switch statement
uint8_t tlm_id = tlm_data[0];
// "Unpack" telemetry data
// Currently missing MSB for some reason (probably... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/spi_tests.c | //-------------------------------------------------------------------------------------------------
// File Description:
// This file contains tests related to SPI communication.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//--------------------------------------------------------------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/memory/W25N_flash.c | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Source file for external flash memory (W25N01GVxxIG) driver.
// This driver is a modified version of the Mongoose OS Winbond W25XXX SPI... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/board_definitions.h | <filename>iris-fsw-softconsole/include/board_definitions.h
#ifndef BOARD_DEFINITIONS_H
#define BOARD_DEFINITIONS_H
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Contains definitions... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/rtc/rtc_time.h | #ifndef RTC_TIME_H_
#define RTC_TIME_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// User-facing RTC module for reading, writing, and validating the internal and external RTC.
//
/... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/AS3016204_mram.h | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Header file for the AS3016204 mram.
//
// History
// 2021-03-25 by <NAME>
// - Created.
//------------------------------... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/protocol/uart.c | //-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// UART tasks and functions for the project. Created using the demo project given as a starting point:
// - https://www.digikey.com/eewiki... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/protocol/spi.c | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// SPI tasks and functions for SPI masters.
//
// History
// 2019-02-08 by <NAME>
// - Created.
// 2019-02-24 by <NAME>
// ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/software_update_driver.c | //------------------------------------------------------------------------------
// File Description:
// Driver for updating the software/FPGA fabric (ISP).
//
// History
// 2020-05-05 by <NAME>
// - Created.
//------------------------------------------------------------------------------
#include "drivers/software_u... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/main.c | <reponame>aminya/ManitobaSat-Flight-Software
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Main entry point for the project. Created using the demo project given as a starting point... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/tasks/telemetry.c | <reponame>aminya/ManitobaSat-Flight-Software
/*
* telemetry.c
*
* Created on: Mar. 22, 2021
* Author: <NAME>
*/
#include "tasks/telemetry.h"
#include <csp/csp.h>
#include "csp/interfaces/csp_if_can.h"
#include <string.h>
//Overhead for telemetry is size of timestamp + id+length.
#define TELEM_HEADER_SIZE ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/MT25Q_flash.h | #ifndef MT25Q_H
#define MT25Q_H
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// External flash memory (MT25Q) functions and definitions.
//
// History
// 2020-03-07 by <NAME>
// - Cre... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/mr2xh40_mram.h | <reponame>aminya/ManitobaSat-Flight-Software
#ifndef MR2XH40_MRAM_H_
#define MR2XH40_MRAM_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for the MR2xH40 MRAM part. Note tha... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/memory/AS3016204_mram.c | <filename>iris-fsw-softconsole/src/drivers/device/memory/AS3016204_mram.c
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Source file for the AS3016204 mram.
//
// History
// 2021-03-... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/adc/adc_common.c | <gh_stars>1-10
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Driver for communicating with the analog to digital converter IC on Iris CDH.
//
// History
// 2021-03-24 by <NAME>
// -... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/device/memory/W25N_flash.h | #ifndef W25N_FLASH_H
#define W25N_FLASH_H
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// External flash memory (W25N01GVxxIG) functions and definitions.
// This driver is a modified ... |
aminya/ManitobaSat-Flight-Software | mbsat-fsw-softconsole/include/tasks/ADCS.h | #ifndef ADCS_H_
#define ADCS_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// MBSat-1
//
// Repository:
// Github: https://github.com/joehowarth17/ManitobaSat-Flight-Software
//
// File Description:
// ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/firmware/drivers/CoreSPI/core_spi.c | /*******************************************************************************
* (c) Copyright 2013-2018 Microsemi SoC Products Group. All rights reserved.
*
* CoreSPI bare metal driver implementation for CoreSPI.
*
* This Core SPI driver provides functions for implementing SPI master or
* SPI slave operations ... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/src/drivers/device/memory/W25Q_flash.c | <filename>iris-fsw-softconsole/src/drivers/device/memory/W25Q_flash.c
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// Program flash memory chip on the IrisSat CDH board.
//
// Histor... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/include/drivers/protocol/spi.h | #ifndef INCLUDE_SPI_H_
#define INCLUDE_SPI_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
// File Description:
// SPI tasks and functions for SPI masters.
//
// History
// 2019-02-08 by <NAME>
// - Creat... |
aminya/ManitobaSat-Flight-Software | iris-fsw-softconsole/tests/tests.h | #ifndef ALL_TESTS_H
#define ALL_TESTS_H
//-------------------------------------------------------------------------------------------------
// File Description:
// This file contains all the tests for the MBSat flight software.
//
// History
// 2020-04-21 by <NAME>
// - Created.
//------------------------------------... |
belgianguy/OPHD | OPHD/Things/Structures/MineShaft.h | #pragma once
#include "Structure.h"
#include "../../Constants.h"
class MineShaft : public Structure
{
public:
MineShaft() : Structure(constants::MINE_SHAFT,
"structures/mine_shaft.sprite",
StructureClass::Undefined,
StructureID::SID_MINE_SHAFT)
{
maxAge(1200);
turnsToBuild(2);
requiresCHAP(false);
... |
belgianguy/OPHD | OPHD/UI/IconGrid.h | #pragma once
#include "Core/Control.h"
#include "../Constants/UiConstants.h"
#include <NAS2D/Signal.h>
#include <NAS2D/EventHandler.h>
#include <NAS2D/StringUtils.h>
#include <NAS2D/Renderer/Point.h>
#include <NAS2D/Renderer/Vector.h>
#include <NAS2D/Renderer/RectangleSkin.h>
#include <NAS2D/Resources/Font.h>
#inclu... |
belgianguy/OPHD | OPHD/IOHelper.h | #pragma once
#include <NAS2D/Xml/Xml.h>
#include <string>
struct StorableResources;
void readResources(NAS2D::Xml::XmlElement* element, StorableResources& resources);
void writeResources(NAS2D::Xml::XmlElement*, const StorableResources&, const std::string&);
|
belgianguy/OPHD | OPHD/Things/Structures/SeedFactory.h | <filename>OPHD/Things/Structures/SeedFactory.h
#pragma once
#include "Factory.h"
class SeedFactory: public Factory
{
public:
SeedFactory(): Factory(constants::SEED_FACTORY,
"structures/seed_1.sprite",
StructureID::SID_SEED_FACTORY)
{
maxAge(150);
turnsToBuild(8);
requiresCHAP(false);
initFactory();
}... |
belgianguy/OPHD | OPHD/UI/Core/ToolTip.h | #pragma once
#include "Control.h"
#include <NAS2D/Renderer/Point.h>
#include <NAS2D/Resources/Font.h>
#include <NAS2D/Timer.h>
#include <utility>
#include <vector>
/**
* \class Label
* \brief A control that contains readonly text.
*
*/
class ToolTip : public Control
{
public:
ToolTip();
... |
belgianguy/OPHD | OPHD/UI/DiggerDirection.h | #pragma once
#include "Core/Window.h"
#include "Core/Button.h"
#include "../Common.h"
class Tile;
class DiggerDirection: public Window
{
public:
using Callback = NAS2D::Signals::Signal<Direction, Tile*>;
DiggerDirection();
void update() override;
Callback& directionSelected() { return mCallback; }
void se... |
belgianguy/OPHD | OPHD/Things/Structures/SurfaceFactory.h | <reponame>belgianguy/OPHD
#pragma once
#include "Factory.h"
class SurfaceFactory: public Factory
{
public:
SurfaceFactory(): Factory(constants::SURFACE_FACTORY,
"structures/factory_surface.sprite",
StructureID::SID_SURFACE_FACTORY)
{
maxAge(600);
turnsToBuild(7);
requiresCHAP(false);
initFactory();
}... |
belgianguy/OPHD | OPHD/UI/Core/TextArea.h | #pragma once
#include "TextControl.h"
#include <NAS2D/Renderer/Color.h>
#include <NAS2D/Resources/Font.h>
#include <string>
class TextArea : public TextControl
{
public:
TextArea() = default;
void textColor(const NAS2D::Color& color) { mTextColor = color; }
void font(const std::string& filePath, unsigned int ... |
belgianguy/OPHD | OPHD/Things/Structures/Recycling.h | <filename>OPHD/Things/Structures/Recycling.h
#pragma once
#include "Structure.h"
#include "../../Constants.h"
#include <NAS2D/StringUtils.h>
class Recycling : public Structure
{
private:
const int WasteProcessingCapacity = 30;
const int ResidentialSupportCount = 10;
public:
Recycling() : Structure(... |
belgianguy/OPHD | OPHD/Things/Structures/MedicalCenter.h | #pragma once
#include "Structure.h"
#include "../../Constants.h"
class MedicalCenter : public Structure
{
public:
MedicalCenter() : Structure(constants::MEDICAL_CENTER,
"structures/medical.sprite",
StructureClass::MedicalCenter,
StructureID::SID_MEDICAL_CENTER)
{
maxAge(500);
turnsToBuild(4);
requires... |
belgianguy/OPHD | OPHD/UI/Core/ListBox.h | #pragma once
#include "Control.h"
#include "Slider.h"
#include "../../Cache.h"
#include "../../Constants/UiConstants.h"
#include <NAS2D/Utility.h>
#include <NAS2D/Signal.h>
#include <NAS2D/EventHandler.h>
#include <NAS2D/Renderer/Color.h>
#include <NAS2D/Renderer/Renderer.h>
#include <string>
#include <vector>
#incl... |
belgianguy/OPHD | OPHD/Things/Structures/AirShaft.h | <filename>OPHD/Things/Structures/AirShaft.h
#pragma once
#include "Structure.h"
class AirShaft: public Structure
{
public:
AirShaft() : Structure(constants::AIR_SHAFT, "structures/air_shaft.sprite",
constants::STRUCTURE_STATE_OPERATIONAL,
StructureClass::Tube,
StructureID::SID_AIR_SHAFT)
{
connectorDirecti... |
belgianguy/OPHD | OPHD/Things/Structures/Tube.h | #pragma once
#include "Structure.h"
#include "../../Common.h"
/**
* Implements a Tube Structure.
*/
class Tube : public Structure
{
public:
Tube(ConnectorDir dir, bool underground) :
Structure(constants::TUBE, "structures/tubes.sprite",
getAnimationName(dir, underground),
StructureClass::Tube,
Structur... |
belgianguy/OPHD | OPHD/Things/Structures/RobotCommand.h | <reponame>belgianguy/OPHD
#pragma once
#include "Structure.h"
#include "../../Constants.h"
#include <vector>
class Robot;
/**
* Implements the Robot Command structure.
*/
class RobotCommand : public Structure
{
public:
RobotCommand() : Structure(constants::ROBOT_COMMAND,
"structures/robot_control.sprite",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.