diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f18efc9 --- /dev/null +++ b/.gitignore @@ -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 diff --git a/gpio_driverlib_cpu1/gpio_driverlib_cpu1.c b/gpio_driverlib_cpu1/gpio_driverlib_cpu1.c index 6484fcf..604aecb 100644 --- a/gpio_driverlib_cpu1/gpio_driverlib_cpu1.c +++ b/gpio_driverlib_cpu1/gpio_driverlib_cpu1.c @@ -29,10 +29,8 @@ void main(void){ // gpio-22 GPIO_setPadConfig(22, GPIO_PIN_TYPE_STD); GPIO_setDirectionMode(22, GPIO_DIR_MODE_OUT); - GPIO_writePin(22, 1); - - //GPIO_setControllerCore(22, GPIO_CoreSelect core) - + GPIO_setControllerCore(22, GPIO_CORE_CPU1); //CPU1 selected as controller core + GPIO_writePin(22, 1); // gpio-97: GPIO_setPadConfig(97, GPIO_PIN_TYPE_STD);