AM335x IA SDK Changes from 1.1.0.1 to 1.1.0.3

From Texas Instruments Wiki
Jump to: navigation, search

Introduction

Industrial SDK has gone through a series of modifications in between release 1.1.0.1 and 1.1.0.3. This is mainly to align with Starterware coding style and also to accommodate AM437x SoC code in future. This document describes the the changes in detail.


Below give are the major changes.

  1. Files renamed
  2. API renamed to align to Starterware convention
  3. APIs rearranged/removed
  4. Source and header files included with Doxygen compatible comments


Renamed Files

Renamed files
Old File Name New File Name
i2cOledLcd.h osdrv_oledlcd.h
i2cRotarySwitch.h osdrv_rotaryswitch.h
ndk_device_config.h         osdrv_ndkdeviceconfig.h        
pruss_defs.h
osdrv_prussdefs.h
pruss_drv.h
osdrv_pruss.h
sys_led.h plat_led.h
sys_mdio.h osdrv_mdio.h
sys_mmu.h osdrv_mmu.h
sys_uart.h osdrv_uart.h
sys_version.h osdrv_version.h
i2cOledLcd.c osdrv_oledlcd.c
i2cRotarySwitch.c osdrv_rotaryswitch.c
ndk_device_config.c osdrv_ndkdeviceconfig.c
pruss_drv.c osdrv_pruss.c
sys_led.c plat_led.c
sys_mdio.c osdrv_mdio.c
sys_mmu.c osdrv_mmu.c
sys_uart.c osdrv_uart.c
am335x_indcomm_cpsw.h  plat_cpsw.h 
am335x_indcomm_gpio.h plat_gpio.h
am335x_indcomm_i2c.h plat_i2c.h
am335x_indcomm_mux.h plat_mux.h
am335x_indcomm_spi_flash.h osdrv_spiflash.h
am335x_indcomm_startup.h Removed
am335x_indcomm_uart.h plat_uart.h
am335x_indcomm_utils.h plat_utils.h
am335x_indcomm_cpsw.c plat_cpsw.c
am335x_indcomm_cpsw.c plat_cpsw.c
am335x_indcomm_gpio.c plat_gpio.c
am335x_indcomm_i2c.c plat_i2c.c
am335x_indcomm_mux.c plat_mux.c
am335x_indcomm_spi_flash.c osdrv_spiflash.c
am335x_indcomm_startup.c Removed
am335x_indcomm_uart.c plat_uart.c
am335x_indcomm_utils.c plat_utils.c








































Renamed APIs


Renamed APIs
Old API Name New API Name Present in
OLED_Init                     OLEDInit                 osdrv_oledlcd.h      
Set_Display_On_Off OLEDSetDisplayOnOff osdrv_oledlcd.h
Fade_Out OLEDFadeOut osdrv_oledlcd.h
Fade_In OLEDFadeIn osdrv_oledlcd.h
Continuous_Scroll OLEDContinuousScroll osdrv_oledlcd.h
Vertical_Scroll OLEDVerticalScroll osdrv_oledlcd.h
Fill_RAM OLEDFillRAM osdrv_oledlcd.h
Checkerboard OLEDCheckerboard osdrv_oledlcd.h
Frame OLEDFrame osdrv_oledlcd.h
Deactivate_Scroll OLEDDeactivateScroll osdrv_oledlcd.h
Show_String OLEDShowString osdrv_oledlcd.h
addNetifEntryFn AddNetifEntryFn osdrv_ndkdeviceconfig.h
shutdownCompleteCheck ShutdownCompleteCheck osdrv_ndkdeviceconfig.h
setMacConfiguration SetMacConfiguration osdrv_ndkdeviceconfig.h
mmuInit MMUInit osdrv_mmu.h
i2cInit I2CInit plat_i2c.h
i2cRead I2CRead plat_i2c.h
i2cWrite I2CWrite plat_i2c.h
PowerI2C I2CPowerup plat_i2c.h
setI2CdelayFn I2CSetDelayFn plat_i2c.h
PINMUX_Config PinMuxConfig plat_mux.h
PRUSSPinMux_Config PRUSSPinMuxConfig plat_mux.h
AM335X_INDCOMM_MUX MUX_CONFIG plat_mux.h
getSPIInstance SPIFlashGetInstance osdrv_spiflash.h
PowerPWM UTILsPowerPWM plat_utils.h
ICSS_Init UTILsICSSInit plat_utils.h
timer2Init UTILsTimer2Init plat_utils.h
init_tlk UTILsInitTLK plat_utils.h
SetBoardType UTILsSetBoardType plat_utils.h
GetBoardType UTILsGetBoardType plat_utils.h
DetectBoardType UTILsDetectBoardType plat_utils.h
ResetPhys UTILsResetPhys plat_utils.h
InitCpswIcssPorts UTILsInitCpswIcssPorts plat_utils.h
GetArmClockRate UTILsGetArmClockRate plat_utils.h
GetDevName UTILsGetDevName plat_utils.h
GetChipRevision UTILsGetChipRevision plat_utils.h
Read_HVS UTILsReadHVS plat_utils.h
Read_HVS2 UTILsReadHVS2 plat_utils.h
spiInit McSPIInit osdrv_mcspi.h
led_init LEDInit plat_led.h
set_led_on LEDDIGOUTOn plat_led.h
set_led_off LEDDIGOUTOff plat_led.h
set_led LEDDIGOUTSetVal plat_led.h
set_generic_gpio_led LEDGPIOSetVal plat_led.h
reset_act1_led LEDDriveACT1 plat_led.h
set_act1_led LEDDriveACT1 plat_led.h
reset_act0_led LEDDriveACT0 plat_led.h
set_act0_led LEDDriveACT0 plat_led.h
reset_error_led LEDDriveError plat_led.h
set_error_led LEDDriveError plat_led.h
reset_run_led LEDDriveRun plat_led.h
set_run_led LEDDriveRun plat_led.h
DriveLeds LEDDriveTriColorLeds plat_led.h
























































Technical Support and Product Updates

For further information or to report any problems, contact http://community.ti.com or http://support.ti.com.