Commit b4059d2c authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

First release

parent c4ba2573

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.c text eol=lf
*.h text eol=lf
*.py text eol=lf
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.d
*.o
*.bin
*.elf
*.list
*.mk
*.map
*.hex
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Windows
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
/Debug
\ No newline at end of file
<Compile Include="C:\GitHub\CppSDK\Common\**\*.*">
<Link>Common\%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile>
<Compile Include="C:\GitHub\CppSDK\SDK\lib\**\*.*">
<Link>lib\%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile>
<Compile Include="C:\GitHub\CppSDK\SDK\platform\atsamd21\**\*.*">
<Link>atsamd21\%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile>
This is the reference application to check compatibility of all platforms.
/*
* board.h
*/
#ifndef _BOARD_BOARD_H_
#define _BOARD_BOARD_H_
#if defined(MikromediaForSTM32M4)
#include <board/STM/MikromediaForSTM32M4/defs.h>
#elif defined(STM32F429I_DISCO)
#include <board/STM/STM32F429I-DISCO/defs.h>
#elif defined(STM32F469I_DISCO)
#include <board/STM/STM32F469I-DISCO/defs.h>
#elif defined(STM32F769I_DISCO)
#include <board/STM/STM32F769I-DISCO/defs.h>
#elif defined(SmartRf06)
#include <board/TI/SmartRF06/defs.h>
#elif defined(CC1310LauchPad)
#include <board/TI/CC1310LauchPad/defs.h>
#elif defined(FRDM_KEAZ128)
#include <board/NXP/FRDM-KEAZ128/defs.h>
#elif defined(Xmega_E5_Xplained)
#include <board/ATMEL/Xmega-E5_Xplained/defs.h>
#elif defined(FeatherAdaloggerM0)
#include <board/ATMEL/FeatherAdaloggerM0/defs.h>
#elif defined(mikroXmega)
#include <board/ATMEL/mikroXmega/defs.h>
#endif
#endif /* _BOARD_BOARD_H_ */
This diff is collapsed.
/*
* main_app.h
*/
#ifndef MAIN_APP_H_
#define MAIN_APP_H_
void main_app();
#endif /* MAIN_H_ */

Microsoft Visual Studio Solution File, Format Version 11.00
# Atmel Studio Solution File, Format Version 11.00
Project("{E66E83B9-2572-4076-B26E-6BE79FF3018A}") = "ExampleFeatherAdaloggerM0", "ExampleFeatherAdaloggerM0\ExampleFeatherAdaloggerM0.cppproj", "{238543EF-D3A9-478D-B182-AC0F2561ABCD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Release|ARM = Release|ARM
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{238543EF-D3A9-478D-B182-AC0F2561ABCD}.Debug|ARM.ActiveCfg = Debug|ARM
{238543EF-D3A9-478D-B182-AC0F2561ABCD}.Debug|ARM.Build.0 = Debug|ARM
{238543EF-D3A9-478D-B182-AC0F2561ABCD}.Release|ARM.ActiveCfg = Release|ARM
{238543EF-D3A9-478D-B182-AC0F2561ABCD}.Release|ARM.Build.0 = Release|ARM
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
This source diff could not be displayed because it is too large. You can view the blob instead.
/*
* main.cpp
*
* Created on: Apr 16, 2017
* Author: Cutare
*/
#include "sam.h"
#include <main_app.h>
int main(void)
{
main_app();
}
/*
* main.h
*
* Created on: Apr 16, 2017
* Author: Cutare
*/
#ifndef MAIN_H_
#define MAIN_H_
#define USE_GPIO true
#define USE_UART true
#define USE_I2C false
#define USE_SPI false
#define USE_SCREEN false
#define CALIBRATE_TOUCH_ON_STARTUP false
#define USE_SCREEN_GUI false
#define _USE_PASSWORD_PROTECTION false
#define CONSOLE_UART_IN "uart-5"
#define CONSOLE_UART_OUT "uart-5"
#define CONSOLE_UART_ERR "uart-5"
#define USE_TERMINAL false
#define USE_LWIP false
#define USE_DHCP false
#define USE_LWIP_HTTPD_SERVER false
/* HTTP settings */
#define LWIP_HTTPD_SERVER_DRIVE_PATH "SD1:"
//#define LWIP_HTTPD_SERVER_DRIVE_PATH "USB1:"
#define LWIP_HTTPD_SERVER_PORT 80
#define USE_TFTP false
/* FTP settings */
#define TFTPD_PATH_SERVER_DRIVE_PATH "SD1:"
//#define TFTPD_PATH_SERVER_DRIVE_PATH "USB1:"
#define TFTP_SERVER_PORT 12000
#define USE_FTP false
/* FTP settings */
#define FTPD_PATH_SERVER_DRIVE_PATH "SD1:"