Commit 04d7133b authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

Begin to add support for Sitara AM33xx TI controllers.

parent 56e3a372
......@@ -17,6 +17,8 @@
#include <board/TI/SmartRF06/defs.h>
#elif defined(CC1310LauchPad)
#include <board/TI/CC1310LauchPad/defs.h>
#elif defined(beaglebone)
#include <board/TI/beaglebone/defs.h>
#elif defined(FRDM_KEAZ128)
#include <board/NXP/FRDM-KEAZ128/defs.h>
#elif defined(Xmega_E5_Xplained)
......
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<ccsVersion value="8.2.0"/>
<deviceVariant value="Cortex A.AM3359"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="GNU_7.2.1:Linaro"/>
<isElfFormat value="true"/>
<connection value="common/targetdb/connections/TIXDS100v2_Connection.xml"/>
<linkerCommandFile value="AM335x.lds"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<templateProperties value="id=com.ti.common.project.core.emptyProjectWithMainTemplate_gnu_arm"/>
<filesToOpen value="main.c"/>
<isTargetManual value="false"/>
</projectOptions>
This diff is collapsed.
This diff is collapsed.
eclipse.preferences.version=1
inEditor=false
onBuild=false
eclipse.preferences.version=1
org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
eclipse.preferences.version=1
encoding//Debug/Common/subdir_rules.mk=UTF-8
encoding//Debug/Common/subdir_vars.mk=UTF-8
encoding//Debug/am33/aintc/subdir_rules.mk=UTF-8
encoding//Debug/am33/aintc/subdir_vars.mk=UTF-8
encoding//Debug/am33/clk/subdir_rules.mk=UTF-8
encoding//Debug/am33/clk/subdir_vars.mk=UTF-8
encoding//Debug/am33/driver/subdir_rules.mk=UTF-8
encoding//Debug/am33/driver/subdir_vars.mk=UTF-8
encoding//Debug/am33/interface/subdir_rules.mk=UTF-8
encoding//Debug/am33/interface/subdir_vars.mk=UTF-8
encoding//Debug/am33/interface/usb_dev_msc/subdir_rules.mk=UTF-8
encoding//Debug/am33/interface/usb_dev_msc/subdir_vars.mk=UTF-8
encoding//Debug/am33/interface/usblib/device/subdir_rules.mk=UTF-8
encoding//Debug/am33/interface/usblib/device/subdir_vars.mk=UTF-8
encoding//Debug/am33/interface/usblib/host/subdir_rules.mk=UTF-8
encoding//Debug/am33/interface/usblib/host/subdir_vars.mk=UTF-8
encoding//Debug/am33/interface/usblib/subdir_rules.mk=UTF-8
encoding//Debug/am33/interface/usblib/subdir_vars.mk=UTF-8
encoding//Debug/am33/sys/subdir_rules.mk=UTF-8
encoding//Debug/am33/sys/subdir_vars.mk=UTF-8
encoding//Debug/lib/api/subdir_rules.mk=UTF-8
encoding//Debug/lib/api/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/lwip/ftpserver/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/lwip/ftpserver/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/lwip/http_client/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/lwip/http_client/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/lwip/httpd/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/lwip/httpd/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/lwip/sntp/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/lwip/sntp/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/lwip/tftpserver/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/lwip/tftpserver/subdir_vars.mk=UTF-8
encoding//Debug/lib/app/sys/subdir_rules.mk=UTF-8
encoding//Debug/lib/app/sys/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/ATMEL/FeatherAdaloggerM0/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/ATMEL/FeatherAdaloggerM0/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/ATMEL/Xmega-E5_Xplained/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/ATMEL/Xmega-E5_Xplained/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/ATMEL/Xmega-FPGA/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/ATMEL/Xmega-FPGA/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/ATMEL/mikroXmega/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/ATMEL/mikroXmega/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/NXP/FRDM-KEAZ128/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/NXP/FRDM-KEAZ128/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/STM/MikromediaForSTM32M4/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/STM/MikromediaForSTM32M4/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F429I-DISCO/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F429I-DISCO/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F469I-DISCO/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F469I-DISCO/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F769I-DISCO/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/STM/STM32F769I-DISCO/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/TI/CC1310LauchPad/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/TI/CC1310LauchPad/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/TI/SmartRF06/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/TI/SmartRF06/subdir_vars.mk=UTF-8
encoding//Debug/lib/board/TI/beaglebone/subdir_rules.mk=UTF-8
encoding//Debug/lib/board/TI/beaglebone/subdir_vars.mk=UTF-8
encoding//Debug/lib/device/subdir_rules.mk=UTF-8
encoding//Debug/lib/device/subdir_vars.mk=UTF-8
encoding//Debug/lib/include/subdir_rules.mk=UTF-8
encoding//Debug/lib/include/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/buffers/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/buffers/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/crypto/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/crypto/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/fs/fat/src/option/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/fs/fat/src/option/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/fs/fat/src/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/fs/fat/src/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/fs/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/fs/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/gfx/files/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/gfx/files/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/gfx/libdrawtext/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/gfx/libdrawtext/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/gfx/resource/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/gfx/resource/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/gfx/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/gfx/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/subdir_vars.mk=UTF-8
encoding//Debug/lib/lib/util/subdir_rules.mk=UTF-8
encoding//Debug/lib/lib/util/subdir_vars.mk=UTF-8
encoding//Debug/makefile=UTF-8
encoding//Debug/objects.mk=UTF-8
encoding//Debug/sources.mk=UTF-8
encoding//Debug/subdir_rules.mk=UTF-8
encoding//Debug/subdir_vars.mk=UTF-8
/****************************************************************************/
/* AM335x.lds */
/* Copyright (c) 2014 Texas Instruments Incorporated */
/* Author: Rafael de Souza */
/* */
/* Description: This file is a sample linker command file that can be */
/* used for linking programs built with the GCC compiler */
/* and running the resulting .out file on an AM335x device. */
/* Use it as a guideline. You will want to */
/* change the memory layout to match your specific */
/* target system. You may want to change the allocation */
/* scheme according to the size of your program. */
/* */
/****************************************************************************/
/* Linker script to place sections and symbol values. Should be used together
* with other linker script that defines memory region DDR0.
* It references following symbols, which must be defined in code:
* Entry : Entry of reset handler
*
* It defines following symbols, which code can use without definition:
* __exidx_start
* __exidx_end
* __etext
* __data_start__
* __preinit_array_start
* __preinit_array_end
* __init_array_start
* __init_array_end
* __fini_array_start
* __fini_array_end
* __data_end__
* __bss_start__
* __bss_end__
* __end__
* end
* __HeapLimit
* __HeapBase - To be compatible with Linaro's semihosting support
* __StackLimit
* __StackTop
* __StackBase - To be compatible with Linaro's semihosting support
* __stack
*/
ENTRY(Entry)
/*
** The stack is kept at end of the image, and its size is 128 MB.
** The heap section is placed above the stack to support I/O
** operations using semihosting. The size of the section is 2KB.
*/
MEMORY
{
OCMC : o = 0x40300000, l = 0xFFFF /* 64k L3 OCMC SRAM */
DDR0 : o = 0x80000000, l = 0x10000000 /* 256MB external DDR Bank 0 */
}
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
SECTIONS
{
.rsthand :
{
. = ALIGN(4);
*init.o (.text)
} >DDR0
.text :
{
. = ALIGN(4);
*(.text*)
*(.rodata*)
} >DDR0
.data :
{
. = ALIGN(4);
*(.data*)
} >DDR0
/*iram_start = (ADDR (.data) + SIZEOF (.data));
.reloc_iram :
AT (iram_start)
{
. = ALIGN(4);
relocstart = . ;
*("IRAM_CODE")
*("IRAM_DATA")
relocend = . ;
. = ALIGN(4);
} >OCMC*/
.bss :
{
. = ALIGN(4);
_bss_start = .;
__bss_start__ = .;
*(.bss*)
*(COMMON)
_bss_end = .;
__bss_end__ = .;
} >DDR0
.heap :
{
. = ALIGN(4);
__end__ = .;
end = __end__;
__HeapBase = __end__;
*(.heap*)
. = . + HEAPSIZE;
__HeapLimit = .;
} >DDR0
.stack :
{
. = ALIGN(4);
__StackLimit = . ;
*(.stack*)
. = . + 0x7FFFFF8;
__StackTop = .;
_stack = __StackTop;
__stack = __StackTop;
} >DDR0
}
/Common/
/am33/
/lib/
/makefile
"./main.o" "./Common/main_app.o" "./am33/aintc/aintc_cpsw.o" "./am33/aintc/aintc_edma.o" "./am33/aintc/aintc_lcd.o" "./am33/aintc/aintc_mcspi.o" "./am33/aintc/aintc_tsc_adc.o" "./am33/aintc/aintc_twi.o" "./am33/aintc/aintc_uart.o" "./am33/aintc/aintc_usb.o" "./am33/clk/clk_core.o" "./am33/clk/clk_cpsw.o" "./am33/clk/clk_dmtimer.o" "./am33/clk/clk_edma.o" "./am33/clk/clk_gpio.o" "./am33/clk/clk_interrupt.o" "./am33/clk/clk_lcd.o" "./am33/clk/clk_mcspi.o" "./am33/clk/clk_mmcsd.o" "./am33/clk/clk_tsc_adc.o" "./am33/clk/clk_twi.o" "./am33/clk/clk_uart.o" "./am33/clk/clk_usb.o" "./am33/driver/cppi41dma.o" "./am33/driver/cpsw.o" "./am33/driver/dcan.o" "./am33/driver/dmtimer.o" "./am33/driver/ecap.o" "./am33/driver/edma.o" "./am33/driver/ehrpwm.o" "./am33/driver/elm.o" "./am33/driver/gpio_v2.o" "./am33/driver/gpmc.o" "./am33/driver/hs_mmcsd.o" "./am33/driver/hsi2c.o" "./am33/driver/mailbox.o" "./am33/driver/mcasp.o" "./am33/driver/mcspi.o" "./am33/driver/mdio.o" "./am33/driver/phy.o" "./am33/driver/raster.o" "./am33/driver/rtc.o" "./am33/driver/tsc_adc.o" "./am33/driver/uart_irda_cir.o" "./am33/driver/usb.o" "./am33/driver/usbphyGS70.o" "./am33/driver/watchdog.o" "./am33/interface/usb_dev_com_interface.o" "./am33/interface/usb_dev_msc_interface.o" "./am33/interface/usb_host_mouse_interface.o" "./am33/interface/usb_host_msc_interface.o" "./am33/interface/usb_dev_msc/usb_msc_structs.o" "./am33/interface/usb_dev_msc/usbdmscglue.o" "./am33/interface/usblib/device/usbdbulk.o" "./am33/interface/usblib/device/usbdcdc.o" "./am33/interface/usblib/device/usbdcdesc.o" "./am33/interface/usblib/device/usbdcomp.o" "./am33/interface/usblib/device/usbdconfig.o" "./am33/interface/usblib/device/usbdenum.o" "./am33/interface/usblib/device/usbdhandler.o" "./am33/interface/usblib/device/usbdhid.o" "./am33/interface/usblib/device/usbdhidmouse.o" "./am33/interface/usblib/device/usbdmsc.o" "./am33/interface/usblib/host/usbhhid.o" "./am33/interface/usblib/host/usbhhidkeyboard.o" "./am33/interface/usblib/host/usbhhidmouse.o" "./am33/interface/usblib/host/usbhmsc.o" "./am33/interface/usblib/host/usbhostenum.o" "./am33/interface/usblib/host/usbhscsi.o" "./am33/interface/usblib/usbbuffer.o" "./am33/interface/usblib/usbdata.o" "./am33/interface/usblib/usbdesc.o" "./am33/interface/usblib/usbkeyboardmap.o" "./am33/interface/usblib/usbringbuf.o" "./am33/interface/usblib/usbtick.o" "./am33/sys/cache.o" "./am33/sys/core_init.o" "./am33/sys/cp15.o" "./am33/sys/device.o" "./am33/sys/exceptionhandler.o" "./am33/sys/init.o" "./am33/sys/mmu.o" "./am33/sys/platform.o" "./am33/sys/startup.o" "./am33/sys/sysdelay.o" "./lib/api/cursor_ctrl.o" "./lib/api/dev_request.o" "./lib/api/init.o" "./lib/api/io_handle.o" "./lib/api/lcd.o" "./lib/api/lcd_def.o" "./lib/api/mmcsd.o" "./lib/api/mmcsd_common.o" "./lib/api/std.o" "./lib/api/timer.o" "./lib/app/lwip/ftpserver/ftpd.o" "./lib/app/lwip/ftpserver/vfs.o" "./lib/app/lwip/http_client/http_client.o" "./lib/app/lwip/httpd/httpd.o" "./lib/app/lwip/sntp/sntp.o" "./lib/app/lwip/tftpserver/tftpserver.o" "./lib/app/lwip/tftpserver/tftputils.o" "./lib/app/sys/cat.o" "./lib/app/sys/cd.o" "./lib/app/sys/cmd.o" "./lib/app/sys/ls.o" "./lib/app/sys/util.o" "./lib/board/TI/beaglebone/defs.o" "./lib/device/24c.o" "./lib/device/45db.o" "./lib/device/ak8975.o" "./lib/device/bma250.o" "./lib/device/bmp180.o" "./lib/device/common.o" "./lib/device/ft5x06.o" "./lib/device/hih6130.o" "./lib/device/ili9341.o" "./lib/device/ili9341_gpio.o" "./lib/device/l3gd20.o" "./lib/device/lepton_flir.o" "./lib/device/lps25hb.o" "./lib/device/lsm9ds1.o" "./lib/device/mcp79410.o" "./lib/device/mmcsd_spi.o" "./lib/device/mpl3115a2.o" "./lib/device/mpr121.o" "./lib/device/mpu60x0_9x50.o" "./lib/device/otm8009a.o" "./lib/device/rf69h.o" "./lib/device/ssd1306.o" "./lib/device/ssd1331.o" "./lib/device/st7565.o" "./lib/device/st7789v_gpio.o" "./lib/device/stmpe811.o" "./lib/device/tcn75s.o" "./lib/include/global_color.o" "./lib/lib/buffers/ring_buff.o" "./lib/lib/crypto/aes.o" "./lib/lib/fs/fat/src/diskio.o" "./lib/lib/fs/fat/src/fattime.o" "./lib/lib/fs/fat/src/ff.o" "./lib/lib/fs/fat/src/option/cc932.o" "./lib/lib/fs/fat/src/option/cc936.o" "./lib/lib/fs/fat/src/option/cc949.o" "./lib/lib/fs/fat/src/option/cc950.o" "./lib/lib/fs/fat/src/option/ccsbcs.o" "./lib/lib/fs/fat/src/option/syncobj.o" "./lib/lib/fs/fat.o" "./lib/lib/fs/ram.o" "./lib/lib/gfx/3d.o" "./lib/lib/gfx/PasswordWindowNumeric.o" "./lib/lib/gfx/bitmap.o" "./lib/lib/gfx/button.o" "./lib/lib/gfx/checkbox.o" "./lib/lib/gfx/controls_definition.o" "./lib/lib/gfx/gfx_gui_paint.o" "./lib/lib/gfx/gfx_util.o" "./lib/lib/gfx/graphic_string.o" "./lib/lib/gfx/item.o" "./lib/lib/gfx/keyboard.o" "./lib/lib/gfx/listbox.o" "./lib/lib/gfx/picturebox.o" "./lib/lib/gfx/progressbar.o" "./lib/lib/gfx/scrollbar.o" "./lib/lib/gfx/string.o" "./lib/lib/gfx/textbox.o" "./lib/lib/gfx/util.o" "./lib/lib/gfx/window.o" "./lib/lib/gfx/files/stl.o" "./lib/lib/gfx/libdrawtext/draw.o" "./lib/lib/gfx/libdrawtext/drawrast.o" "./lib/lib/gfx/libdrawtext/drawtext_impl.o" "./lib/lib/gfx/libdrawtext/font.o" "./lib/lib/gfx/libdrawtext/tpool.o" "./lib/lib/gfx/libdrawtext/utf8.o" "./lib/lib/gfx/resource/fonts.o" "./lib/lib/operators.o" "./lib/lib/string.o" "./lib/lib/util/converters.o" "./lib/lib/util/hex_string.o" -Wl,-T"../AM335x.lds" -Wl,--start-group -lc -Wl,--end-group
\ No newline at end of file
/**
* main.c
*/
#include <main_app.h>
int main(void)
{
main_app();
}
/*
* main.h
*
* Created on: Nov 25, 2018
* Author: Work
*/
#ifndef MAIN_H_
#define MAIN_H_
#define USE_GPIO false
#define USE_UART false
#define USE_I2C false
#define USE_SPI false
#define USE_SCREEN true
#define CALIBRATE_TOUCH_ON_STARTUP false
#define USE_SCREEN_GUI false
#define _USE_PASSWORD_PROTECTION false
#define CONSOLE_UART_IN "uart-0"
#define CONSOLE_UART_OUT "uart-0"
#define CONSOLE_UART_ERR "uart-0"
#define USE_TERMINAL false
#define USE_LWIP false
#define USE_DHCP false
#define USE_TFTP 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:"
//#define TFTPD_PATH_SERVER_DRIVE_PATH "USB1:"
#define FTP_SERVER_PORT 21
#define USE_SNTP false
#define SNTP_SERVER_ADDRESS "82.197.164.46" /* google */
#define SNTP_UPDATE_DELAY 90000 /* SNTP update every 90 seconds */
//#define _USE_AK8975 "i2c-0"
//#define _USE_BMA250 "spi-0.2"
//#define _USE_BMP180 "i2c-0"
//#define _USE_HIH613x "i2c-0"
//#define _USE_L3GD20 "spi-4.1"
//#define _USE_LEPTON_FLIR false
//#define _USE_MPL3115A2 "i2c-0"
//#define _USE_MPR121 "i2c-0"
//#define _USE_MPU60x0_9150 "i2c-0"
//#define _USE_MS5611 false
//#define _USE_MHC5883 false
//#define _USE_ADXL345 false
//#define _USE_SHT11 false
//#define _USE_SX150x false
//#define _USE_SRF02 false
//#define _USE_nRF25l01 false
#define SHOW_SENSORS_RESULT_ON_SCREEN false
#define _USE_INT_ADC false
#define USE_DRIVER_SEMAPHORE false
#include <main_app.h>
#endif /* MAIN_H_ */
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="configuration_0">
<instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Debug Probe" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Debug Probe" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Debug Probe">
<instance XML_version="1.2" href="drivers/tixds100v2icepick_d.xml" id="drivers" xml="tixds100v2icepick_d.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cs_dap.xml" id="drivers" xml="tixds100v2cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cs_child.xml" id="drivers" xml="tixds100v2cs_child.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cortexA.xml" id="drivers" xml="tixds100v2cortexA.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2csstm.xml" id="drivers" xml="tixds100v2csstm.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2etbcs.xml" id="drivers" xml="tixds100v2etbcs.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2pru.xml" id="drivers" xml="tixds100v2pru.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="AM3359" href="devices/AM3359.xml" id="AM3359" xml="AM3359.xml" xmlpath="devices"/>
<device HW_revision="1" XML_version="1.2" description="AM33x - Cortex A8 Embedded Processor" id="AM3359" partnum="AM3359" simulation="no">
<router HW_revision="1.0" XML_version="1.2" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D">
<subpath id="subpath_11">
<router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_M3" isa="CS_DAP">
<subpath id="M3_wakeupSS_sp">
<cpu HW_revision="1.0" XML_version="1.2" desc="M3_wakeupSS_0" description="Cortex_M3 CPU" deviceSim="false" id="M3_wakeupSS" isa="Cortex_M3"/>
</subpath>
</router>
</subpath>
</router>
</device>
</platform>
</connection>
</configuration>
</configurations>
The 'targetConfigs' folder contains target-configuration (.ccxml) files, automatically generated based
on the device and connection settings specified in your project on the Properties > General page.
Please note that in automatic target-configuration management, changes to the project's device and/or
connection settings will either modify an existing or generate a new target-configuration file. Thus,
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
you may create your own target-configuration file for this project and manage it manually. You can
always switch back to automatic target-configuration management by checking the "Manage the project's
target-configuration automatically" checkbox on the project's Properties > General page.
\ No newline at end of file
......@@ -22,7 +22,7 @@
<option id="fr.ac6.managedbuild.option.gnu.cross.fpu.755967309" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.fpu.fpv4-sp-d16" valueType="enumerated"/>
<option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.1731662906" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" useByScannerDiscovery="false" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.hard" valueType="enumerated"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.2110018076" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/ExampleSTM32F407_Mikromedia}/Debug" id="fr.ac6.managedbuild.builder.gnu.cross.127981282" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="8" superClass="fr.ac6.managedbuild.builder.gnu.cross"/>
<builder buildPath="${workspace_loc:/ExampleSTM32F407_Mikromedia}/Debug" id="fr.ac6.managedbuild.builder.gnu.cross.1541047198" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="fr.ac6.managedbuild.builder.gnu.cross"/>
<tool command="gcc -x c++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.1559183829" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler">
<option id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.2136041439" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.debug" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.2114058797" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
......
......@@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="394361349481413216" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1275838902971831716" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......@@ -16,7 +16,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="379408811714440556" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1290791440738804376" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......
......@@ -6,7 +6,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-456894721678331720" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1275838902971831716" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......@@ -18,7 +18,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-471847259445304380" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1290791440738804376" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......
......@@ -12,8 +12,8 @@
<targetDefinitions>
<board id="stm32f429i-disco">
<name>STM32F429I-DISCO</name>
<dbgIF>JTAG</dbgIF>
<dbgIF>SWD</dbgIF>
<dbgIF>JTAG</dbgIF>
<dbgDEV>ST-Link</dbgDEV>
<mcuId>stm32f429zitx</mcuId>
</board>
......
......@@ -6,7 +6,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-456894721678331720" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1275838902971831716" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......@@ -18,7 +18,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-471847259445304380" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-1290791440738804376" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
......
......@@ -12,8 +12,8 @@
<targetDefinitions>
<board id="stm32f469i-disco">
<name>STM32F469I-DISCO</name>
<dbgIF>JTAG</dbgIF>
<dbgIF>SWD</dbgIF>
<dbgIF>JTAG</dbgIF>
<dbgDEV>ST-Link</dbgDEV>
<mcuId>stm32f469nihx</mcuId>
</board>
......
......@@ -12,8 +12,8 @@
<targetDefinitions>
<board id="stm32f769i-disco">
<name>STM32F769I-DISCO</name>
<dbgIF>JTAG</dbgIF>
<dbgIF>SWD</dbgIF>
<dbgIF>JTAG</dbgIF>
<dbgDEV>ST-Link</dbgDEV>
<mcuId>stm32f769nihx</mcuId>
</board>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -137,7 +137,7 @@
<Value>..</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.level>Optimize more (-O2)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
......@@ -159,7 +159,7 @@
<Value>..</Value>
</ListValues>
</avrgcccpp.compiler.directories.IncludePaths>
<avrgcccpp.compiler.optimization.level>Optimize for size (-Os)</avrgcccpp.compiler.optimization.level>
<avrgcccpp.compiler.optimization.level>Optimize more (-O2)</avrgcccpp.compiler.optimization.level>
<avrgcccpp.compiler.optimization.PackStructureMembers>True</avrgcccpp.compiler.optimization.PackStructureMembers>
<avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcccpp.compiler.optimization.DebugLevel>Default (-g2)</avrgcccpp.compiler.optimization.DebugLevel>
......@@ -172,8 +172,10 @@
<avrgcccpp.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcccpp.assembler.debugging.DebugLevel>
</AvrGccCpp>
</ToolchainSettings>
<PreBuildEvent>IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-IP-TST\core1ROM.mem" -g 2</PreBuildEvent>
<PostBuildEvent>IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-IP-TST\core1ROM.mem" -g 2</PostBuildEvent>
<PreBuildEvent>IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-IP-TST\core1ROM.mem" -g 2
IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-V3\VERILOG-XMEGA-CORE-V3.srcs\sources_1\imports\VERILOG-XMEGA-CORE-V3\core1ROM.mem" -g 2</PreBuildEvent>
<PostBuildEvent>IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-IP-TST\core1ROM.mem" -g 2
IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\VERILOG-XMEGA-CORE-V3\VERILOG-XMEGA-CORE-V3.srcs\sources_1\imports\VERILOG-XMEGA-CORE-V3\core1ROM.mem" -g 2</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\SDK\lib\api\init_def.h">
......
......@@ -11,7 +11,7 @@
#include <board/ATMEL/Xmega-FPGA/xio.h>
#define CPU_FREQ (32000000)
#define CPU_FREQ (100000000)
#define UART_INTERFACE_COUNT 1
#define SPI_INTERFACE_COUNT 1
......
......@@ -11,7 +11,7 @@
#define USE_GPIO true
#define USE_UART true
#define USE_I2C true
#define USE_SPI true
#define USE_SPI false
#define USE_SCREEN false
#define CALIBRATE_TOUCH_ON_STARTUP false
......@@ -65,7 +65,7 @@
//#define _USE_MCP79410 "i2c-0"
//#define _USE_TCN75A "i2c-0"
//#define _USE_SSD1331 &lcd_UG9664HDDAG01_LANDSCAPE, (string)"spi-0.0", (string)"pc1", (string)"pc13", (string)"pb13", (string)"pb12"
#define _USE_SSD1306 &lcd_UG2832HSWEG04_LANDSCAPE, (string)"spi-0.0", (string)"oled-dc", (string)"oled-res"
//#define _USE_SSD1306 &lcd_UG2832HSWEG04_LANDSCAPE, (string)"spi-0.0", (string)"oled-dc", (string)"oled-res"
/* Need for update */
//#define _USE_MS5611 false
......
......@@ -44,9 +44,9 @@ ioSetCfgGpio(ug2832_vdd, "oled-vdd", pin_mux_convert_to_pin(IOG, 3),CfgGpio::
ioSetCfgUart(uart_0, "uart-0", pin_mux_convert_to_pin(IOA, 0) , pin_mux_convert_to_pin(IOA, 0) , 115200 , CfgUart::WORD_LEN_8 , CfgUart::STOP_BITS_ONE , CfgUart::PAR_NONE , CfgUart::MODE_ASYNC);
ioSetCfgI2c(i2c_0, "i2c-0", pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), 400000);
ioSetCfgI2c(i2c_0, "i2c-0", pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), 1000000);
ioSetCfgSpi(spi_0_0, "spi-0.0", pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), CfgSpi::spiMode0, 5000000, false);
ioSetCfgSpi(spi_0_0, "spi-0.0", pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), pin_mux_convert_to_pin(IOA, 0), CfgSpi::spiMode0, 15000000, false);
ioSetCfgEnd(ioTableEnd);
......
......@@ -63,6 +63,9 @@ typedef enum FPGA_PORT_ISC_enum
FPGA_PORT_ISC_INPUT_DISABLE_gc = (0x07<<0), /* Disable Digital Input Buffer */
} FPGA_PORT_ISC_t;
/* PORT.PIN0CTRL bit masks and bit positions */