adding gitignore and cpu controller

main
Gerardo Marx 1 week ago
parent 1273d2f88a
commit c4eeb98757

91
.gitignore vendored

@ -0,0 +1,91 @@
# ============================================================
# Code Composer Studio workspace files
# ============================================================
.metadata/
RemoteSystemsTempFiles/
dvt/
.jxbrowser-data/
# CCS-generated temporary project information
**/.xdchelp
**/.config/
**/.launches/
# CCS Theia / language-server caches
**/.cache/
**/.clangd/
**/compile_commands.json
# ============================================================
# CCS build configurations
# ============================================================
**/Debug/
**/Release/
# Common C2000 build configuration names
**/RAM/
**/FLASH/
**/Flash/
**/CPU1_RAM/
**/CPU1_FLASH/
**/CPU2_RAM/
**/CPU2_FLASH/
# ============================================================
# TI C2000 compiler and linker outputs
# ============================================================
*.obj
*.out
*.map
*.hex
*.bin
*.elf
*.d
*.dep
*.pp
*.lst
*.listing
*.opt
# Code-generation and coverage artifacts
*.gcda
*.gcno
*.profraw
*.profdata
# ============================================================
# Operating-system and editor files
# ============================================================
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Windows
Thumbs.db
Desktop.ini
# Editors
*.swp
*.swo
*~
.vscode/
.idea/
# ============================================================
# Logs and temporary files
# ============================================================
*.log
*.tmp
*.temp
*.bak

@ -29,11 +29,9 @@ void main(void){
// gpio-22 // gpio-22
GPIO_setPadConfig(22, GPIO_PIN_TYPE_STD); GPIO_setPadConfig(22, GPIO_PIN_TYPE_STD);
GPIO_setDirectionMode(22, GPIO_DIR_MODE_OUT); GPIO_setDirectionMode(22, GPIO_DIR_MODE_OUT);
GPIO_setControllerCore(22, GPIO_CORE_CPU1); //CPU1 selected as controller core
GPIO_writePin(22, 1); GPIO_writePin(22, 1);
//GPIO_setControllerCore(22, GPIO_CoreSelect core)
// gpio-97: // gpio-97:
GPIO_setPadConfig(97, GPIO_PIN_TYPE_STD); GPIO_setPadConfig(97, GPIO_PIN_TYPE_STD);
// gpio-52 // gpio-52

Loading…
Cancel
Save