Ignore:
Timestamp:
Jan 14, 2025, 2:39:43 PM (37 hours ago)
Author:
Zed
Message:

GSM STATUS pin is working.

Location:
ctrl/firmware/Main/SES/Core/Src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/SES/Core/Src/keys_thread.cpp

    r61 r62  
    1313        (void)initial_input;
    1414
    15         HAL_GPIO_WritePin(POWER_4V_EN_GPIO_Port, POWER_4V_EN_Pin, GPIO_PIN_SET);
    1615        HAL_GPIO_WritePin(POWER_5V_EN_GPIO_Port, POWER_5V_EN_Pin, GPIO_PIN_SET);
    1716        HAL_GPIO_WritePin(POWER_10V_EN_GPIO_Port, POWER_10V_EN_Pin, GPIO_PIN_SET);
     
    3837                // Calculating worse stack allocation
    3938                TX_THREAD* current_thread = tx_thread_identify();
    40                 printf("%s: Stack size: %lu, used: %u, free: %u\n", TAG, current_thread->tx_thread_stack_size,
     39                /*printf("%s: Stack size: %lu, used: %u, free: %u\n", TAG, current_thread->tx_thread_stack_size,
    4140                           (uint8_t*)current_thread->tx_thread_stack_ptr - (uint8_t*)current_thread->tx_thread_stack_start,
    42                            (uint8_t*)current_thread->tx_thread_stack_end - (uint8_t*)current_thread->tx_thread_stack_ptr);
     41                           (uint8_t*)current_thread->tx_thread_stack_end - (uint8_t*)current_thread->tx_thread_stack_ptr);*/
    4342
    44                 if (HAL_GPIO_ReadPin(SD_DETECT_GPIO_Port, SD_DETECT_Pin) == GPIO_PIN_RESET) printf("SD card present\n");
    45                 else if (HAL_GPIO_ReadPin(SD_DETECT_GPIO_Port, SD_DETECT_Pin) == GPIO_PIN_SET) printf("SD card not present\n");
     43                /*if (HAL_GPIO_ReadPin(SD_DETECT_GPIO_Port, SD_DETECT_Pin) == GPIO_PIN_RESET) printf("SD card present\n");
     44                else if (HAL_GPIO_ReadPin(SD_DETECT_GPIO_Port, SD_DETECT_Pin) == GPIO_PIN_SET) printf("SD card not present\n");*/
    4645        }
    4746}
  • ctrl/firmware/Main/SES/Core/Src/main_thread.cpp

    r60 r62  
    7070                // Calculating worse stack allocation
    7171                TX_THREAD* current_thread = tx_thread_identify();
    72                 printf("%s: Stack size: %lu, used: %u, free: %u\n", TAG, current_thread->tx_thread_stack_size,
     72                /*printf("%s: Stack size: %lu, used: %u, free: %u\n", TAG, current_thread->tx_thread_stack_size,
    7373                           (uint8_t*)current_thread->tx_thread_stack_ptr - (uint8_t*)current_thread->tx_thread_stack_start,
    74                            (uint8_t*)current_thread->tx_thread_stack_end - (uint8_t*)current_thread->tx_thread_stack_ptr);
     74                           (uint8_t*)current_thread->tx_thread_stack_end - (uint8_t*)current_thread->tx_thread_stack_ptr);*/
    7575
    7676        }
Note: See TracChangeset for help on using the changeset viewer.