repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
skyward-er/skyward-boardcore | src/shared/drivers/memory/FlashDriver.h | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... |
skyward-er/skyward-boardcore | libs/mxgui/_tools/winsimulator/ForcedInclude.h | //Forced include file for Visual Studio
//It will be automatically included into each .cpp file in the project
#ifndef _FORCED_INCLUDE_H_
#define _FORCED_INCLUDE_H_
//__attribute__() is not supported by MSVC
#define __attribute__(x)
//Set 1-byte struct member alignment instead of __attribute__((packed))
#pragma pack... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/hermes/mavlink_msg_nack_tm.h | #pragma once
// MESSAGE NACK_TM PACKING
#define MAVLINK_MSG_ID_NACK_TM 131
MAVPACKED(
typedef struct __mavlink_nack_tm_t {
uint8_t recv_msgid; /*< Message id of the received message.*/
uint8_t seq_ack; /*< Sequence number of the received message.*/
}) mavlink_nack_tm_t;
#define MAVLINK_MSG_ID_NACK_TM_LEN 2
#defi... |
skyward-er/skyward-boardcore | src/tests/catch/xbee/MockXbeeSPIBus.h | <filename>src/tests/catch/xbee/MockXbeeSPIBus.h
/* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction... |
skyward-er/skyward-boardcore | libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_ms5803_tm.h | <filename>libs/mavlink_skyward_lib/mavlink_lib/lynx/mavlink_msg_ms5803_tm.h
#pragma once
// MESSAGE MS5803_TM PACKING
#define MAVLINK_MSG_ID_MS5803_TM 172
MAVPACKED(
typedef struct __mavlink_ms5803_tm_t {
uint64_t timestamp; /*< [ms] When was this logged*/
float pressure; /*< [Pa] Pressure of the digital barometer*... |
skyward-er/skyward-boardcore | src/shared/sensors/BME280/BME280.h | /* Copyright (c) 2021 Skyward Experimental Rocketry
* Author: <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... |
skyward-er/skyward-boardcore | libs/mxgui/config/mxgui_settings.h | /***************************************************************************
* Copyright (C) 2010, 2011 by <NAME> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms... |
skyward-er/skyward-boardcore | src/shared/diagnostic/FaultCounter.h | /* Copyright (c) 2015-2017 Skyward Experimental Rocketry
* Author: <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
IdeaBank/2_dimensional_array_pointer | main.c | <gh_stars>0
#include <stdio.h>
#include <malloc.h>
int main()
{
int(*arr)[10] = (int(*)[10])malloc(sizeof(int) * 100), count = 0;
for (int(*i)[10] = arr; i != arr + 10; ++i)
for (int* j = *i; j != *i + 10; ++j)
*j = ++count;
for (int(*i)[10] = arr; i != arr + 10; ++i)
{
for (int* j = *i; j != *i + 10; ++j... |
prakhar07msd/HacktoberFest-DSC-ABESEC | C, C++/Palindrome_or_not.c | <filename>C, C++/Palindrome_or_not.c
#include<stdio.h>
int main()
{
int n,temp,a,res=0;
printf("Enter Number:");
scanf("%d",&n);
temp=n;
while(n>0)
{
a=n%10;
res=res*10+a;
n=n/10;
}
if(temp==res)
{
printf("Palendrome Number");
}
else
{
... |
jlukasie/algorithms | list/list/linked_list.h | //
// linked_list.h
// list
//
// Created by <NAME> on 11/2/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#ifndef __list__linked_list__
#define __list__linked_list__
#include <iostream>
#include <iterator>
//namespace algorithms
//{
// node for simple singly linked list
template <typename T>
class li... |
jlukasie/algorithms | hash_table/hash_table/hash_table.h | <reponame>jlukasie/algorithms<gh_stars>0
//
// hash_table.h
// hash_table
//
// Created by <NAME> on 11/3/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#ifndef hash_table_hash_table_h
#define hash_table_hash_table_h
#include <utility>
#include "linked_list.h"
#define DEFAULT_HASH_SIZE 2000
#define DE... |
alphaKAI/Orelang_D | samples/ffi/ptr/ptr.c | #include <stdlib.h>
#include <stdio.h>
typedef struct S {
char* name;
int age;
} S;
S* newS(char* name, int age) {
S* ret = malloc(sizeof(S));
ret->name = name;
ret->age = age;
return ret;
}
void showS(S* s) {
printf("s->name : %s\n", s->name);
printf("s->age : %d\n", s->age);
}
|
alphaKAI/Orelang_D | samples/ffi/str/str.c | <reponame>alphaKAI/Orelang_D
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
char* dub(char* str) {
size_t len = strlen(str) * 2 + 1;
char* s = malloc(sizeof(char) * len);
sprintf(s, "%s%s", str, str);
s[len - 1] = '\0';
return s;
}
|
LarsSaalbrink/Sub-IoT-sdu | stack/framework/components/cli/cli.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/inc/alp.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/stm32_common/inc/stm32_common_mcu.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/efm32gg/inc/efm32gg_pins.h | <filename>stack/framework/hal/chips/efm32gg/inc/efm32gg_pins.h
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/esp32/esp32_timer.c | #include "hwtimer.h" //see this file for implementation details
error_t hw_timer_init(hwtimer_id_t timer_id, uint8_t frequency,
timer_callback_t compare_callback,
timer_callback_t overflow_callback) {
}
const hwtimer_info_t* hw_timer_get_info(hwtimer_id_t timer_i... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/phy_test/phy_test.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/d7ap/d7asp.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<filename>stack/modules/d7ap/d7asp.h
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/esp32/esp32_watchdog.c | #include "hwwatchdog.h"
#include "esp32_sfr.h"
void __watchdog_init(void) {
//disable watchdog for now cuz thats how we roll B)
TIMG0_Tx_WDTCONFIG0_REG &= ~(1 << 31);
TIMG1_Tx_WDTCONFIG0_REG &= ~(1 << 31);
} |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/d7ap/engineering_mode.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/fs/d7ap_fs_data.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/cortus/Bsp/machine/gpio.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/NATIVE/platf_main.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwgpio.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/tests/aes/main.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwi2c.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwusb.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/ezr32lg/inc/ezr32lg_mcu.h | <filename>stack/framework/hal/chips/ezr32lg/inc/ezr32lg_mcu.h
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/components/power_profiler/power_profile_file.c | <reponame>LarsSaalbrink/Sub-IoT-sdu
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EZR32LG_WSTK6200A/platf_lcd.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/netdev_driver/netdev.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
* Copyright 2018 CORTUS
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/sensor_multimodal/sensor_multimodal.c | <filename>stack/apps/sensor_multimodal/sensor_multimodal.c
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EFM32GG_STK3700/platf_sensors.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/common/hwblockdevice.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/inc/fs.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwradio.h | <reponame>LarsSaalbrink/Sub-IoT-sdu
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/NUCLEO_L073RZ/platf_leds.c | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/stm32_common/stm32_common_rtctimer.c | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/AT_modem/at_modem.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV, CORTUS.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/esp32/esp32_atomic.c | #include "hwatomic.h"
//Dummy change
int dummy = 0;
void start_atomic(void) {
//disable interrupts
}
void end_atomic(void) {
//reenable interrupts
} |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EZRPi/inc/platform.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/efm32gg/efm32gg_pins.c | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/esp32/inc/esp32_sfr.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<filename>stack/framework/hal/chips/esp32/inc/esp32_sfr.h
/*
* Copyright (c) 2021 <NAME>.
*
* This file is part of Sub-IoT-sdu.
* See https://github.com/moondeck/Sub-IoT-sdu for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License"))
* you ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/sensor_push_lorawan/sensor_push_lorawan.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/LORA32/inc/platform.h | /* * OSS-7 - An opensource implementation of the DASH7 Alliance Protocol for ultra
* lowpower wireless sensor communication
*
* Copyright 2015 University of Antwerp
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/alp/lorawan_interface.c | <filename>stack/modules/alp/lorawan_interface.c<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/NATIVE/inc/platform.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/si4460/si4460.c | <reponame>LarsSaalbrink/Sub-IoT-sdu<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EZR32LG_USB01/platf_debug.c | <reponame>LarsSaalbrink/Sub-IoT-sdu<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/cortus/Bsp/machine/sfradr.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/components/log/log.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/cortus_fpga/cortus_main.c | <filename>stack/framework/hal/platforms/cortus_fpga/cortus_main.c
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/d7ap/d7ap_stack.c | <filename>stack/modules/d7ap/d7ap_stack.c<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this f... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/AT_modem/at_parser.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV, CORTUS.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/d7ap/packet_queue.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EFM32GG_STK3700/inc/platform.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/cortus/cortus_spi.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV, CORTUS SA.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EZRPi/libc_overrides.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/per_test/per_test.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwdebug.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/platforms/EZR32LG_WSTK6200A/platf_sensors.c | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/inc/power_profile_file.h | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/inc/log.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/cc1101/cc1101_interface.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/alp/serial_interface.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/inc/hwwatchdog.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/si4460/si4460_interface.h | <reponame>LarsSaalbrink/Sub-IoT-sdu<filename>stack/framework/hal/chips/si4460/si4460_interface.h
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/efm32gg/inc_platform/efm32gg_mcu.h | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/esp32/esp32_system.c | #include "hwsystem.h"
void hw_enter_lowpower_mode(uint8_t mode) {
//TODO
}
uint64_t hw_get_unique_id(void) {
//dummy ID return for now
//TODO: get unique chip id from Efuse MAC (read IDF code?)
return (uint64_t)(0xDEADBEEF);
} |
LarsSaalbrink/Sub-IoT-sdu | stack/modules/d7ap/dll.c | <reponame>LarsSaalbrink/Sub-IoT-sdu<filename>stack/modules/d7ap/dll.c<gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License")... |
LarsSaalbrink/Sub-IoT-sdu | stack/framework/hal/chips/cc1101/cc1101_constants.h | <filename>stack/framework/hal/chips/cc1101/cc1101_constants.h
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... |
LarsSaalbrink/Sub-IoT-sdu | stack/apps/modeminterface_test/modeminterface_test.c | /*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... |
LarsSaalbrink/Sub-IoT-sdu | stack/tests/fec/main.c | <gh_stars>0
/*
* Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
*
* This file is part of Sub-IoT.
* See https://github.com/Sub-IoT/Sub-IoT-Stack for further info.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
SSSTREDDD/SimpleLight | source/ezkernel.c | <filename>source/ezkernel.c
#include <gba_video.h>
#include <gba_interrupt.h>
#include <gba_systemcalls.h>
#include <gba_input.h>
#include <stdio.h>
#include <stdlib.h>
#include <gba_base.h>
#include <gba_dma.h>
#include <string.h>
#include <stdarg.h>
#include <gba_timers.h>
#include "ff.h"
#include "draw.h"
#include ... |
halx99/msvcr14x | mfc14x/afxisapi.h | <reponame>halx99/msvcr14x<filename>mfc14x/afxisapi.h
#pragma once
#include "stdafx.h"
#define AFXISAPI __stdcall
typedef AFX_PMSG AFX_PISAPICMD; |
halx99/msvcr14x | msvcr14x/stdafx.c | <filename>msvcr14x/stdafx.c
// stdafx.cpp : 只包括标准包含文件的源文件
// msvcr14x.pch 将作为预编译标头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
WORD GetWindowsVersionEx(BOOL bRetrieveServicePackVersion)
{
OSVERSIONINFOEX VersionInformation;
//RTL_OSVERSIONINFOEXW和OSVERSIONINFOEXW其实... |
halx99/msvcr14x | mfc14x/version.h | <filename>mfc14x/version.h
#include "atlbuild.h"
#define rmj _LIBS_FILE_VERSION_MAJOR
#define rmm _LIBS_FILE_VERSION_MINOR
#define rup _LIBS_BUILD
#define szVerName ""
#define szVerUser ""
|
halx99/msvcr14x | msvcp14x/stdafx.h | // stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#define _ATL_XP_TARGETING
#include "targetver.h"
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
#endif
// Windows 头文件:
#include <windows.h>
// TODO: 在此处引用程序需要的其他头文件
#include <stdio.h>
|
halx99/msvcr14x | msvcr14x/targetver.h | #pragma once
// 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
// 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h,并将
// 将 _WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
#if _MSC_VER>1500
#include <SDKDDKVer.h>
#endif |
halx99/msvcr14x | msvcr14x/inc/nt.h | <filename>msvcr14x/inc/nt.h
#pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <suppress.h>
#include <ntstatus.h>
#define WIN32_NO_STATUS
#include <Windows.h>
#include <ntdll.h>
#define _NTDEF_
//NTSecAPI.h
typedef _Return_type_success_(return >= 0) LONG NTSTATUS, *PNTSTATUS;
//... |
no2fpga/no2migen | examples/firmware/console.c | /*
* console.c
*
* Copyright (C) 2019 <NAME>
* SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include "mini-printf.h"
#include "console.h"
#include <generated/csr.h>
#include <base/uart.h>
static char _printf_buf[128];
void console_init(void)
{
}
int getchar(void)
{
char c;
while (uart_rxempty_read... |
no2fpga/no2migen | examples/firmware/dcd_no2usb_config.h | <gh_stars>1-10
/*
* dcd_no2usb_config.h
*
* Copyright (C) 2019-2021 <NAME> <<EMAIL>>
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <generated/mem.h>
#define NO2USB_CORE_BASE (USB_BASE)
#define NO2USB_DATA_TX_BASE (USB_BASE + 0x8000)
#define NO2USB_DATA_RX_BASE (USB_BASE + 0x8000)
// We don't care ab... |
no2fpga/no2migen | examples/firmware/firmware.c | #include <stdint.h>
#include <stdbool.h>
#include "console.h"
#include "tusb.h"
//--------------------------------------------------------------------+
// Device callbacks
//--------------------------------------------------------------------+
// Invoked when device is mounted
void tud_mount_cb(void)
{
}
// Invoked... |
no2fpga/no2migen | examples/firmware/console.h | <gh_stars>1-10
/*
* console.h
*
* Copyright (C) 2019 <NAME>
* SPDX-License-Identifier: MIT
*/
#pragma once
void console_init(void);
int getchar(void);
int getchar_nowait(void);
int putchar(int c);
int puts(const char *p);
int printf(const char *fmt, ...);
|
Fockewulf44/ElectricTRP | src/GlobalConfig.h | <filename>src/GlobalConfig.h
struct GlobalConfig
{
const char *ssid = "Sonoma #3 Google Wifi";
const char *password = "<PASSWORD>";
};
GlobalConfig Config;
|
Fockewulf44/ElectricTRP | src/SleepModeManager.h |
#include "Arduino.h"
#include <ESP8266WiFi.h>
#include "GlobalConfig.h"
class SleepModeManager
{
private:
bool HasWiFiTurningOnStarted;
bool HasWiFiTurningOffStarted;
public:
struct tm WiFiTurnOn;
struct tm WiFiTurnOff;
int WifiTurnOnCycleMin;
int WifiTurnOffCycleMin;
bool IsWiFiMinCycleT... |
omar-polo/amused | control.c | /* $OpenBSD: control.c,v 1.8 2021/03/02 04:10:07 jsg Exp $ */
/*
* Copyright (c) 2003, 2004 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... |
omar-polo/amused | amused.c | /*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
omar-polo/amused | player_oggvorbis.c | <filename>player_oggvorbis.c
/*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED... |
omar-polo/amused | player_flac.c | /*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
omar-polo/amused | player_123.c | <reponame>omar-polo/amused
/*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... |
omar-polo/amused | amused.h | /*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
omar-polo/amused | ctl.c | <gh_stars>1-10
/*
* Copyright (c) 2022 <NAME> <<EMAIL>>
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
*... |
omar-polo/amused | player.c | /*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
omar-polo/amused | player_opus.c | <reponame>omar-polo/amused
/*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... |
omar-polo/amused | playlist.h | <gh_stars>1-10
/*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... |
omar-polo/amused | playlist.c | /*
* Copyright (c) 2022 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.