prototype mainboard done!
This commit is contained in:
@@ -1 +1 @@
|
||||
2c6909f9688b4acb0de5f41f5b66ff6d9ae65699
|
||||
0155328e36f0c1915c840fe3dc3713be2dd09ff7
|
||||
@@ -8,8 +8,8 @@
|
||||
{
|
||||
"name": "PlatformIO",
|
||||
"includePath": [
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/Inc",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/Src",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/Inc",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/Src",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/CMSIS/Include",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/CMSIS/Device/ST/STM32F1xx/Include",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/STM32F1xx_HAL_Driver/Inc",
|
||||
@@ -61,8 +61,8 @@
|
||||
"browse": {
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"path": [
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/Inc",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/Src",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/Inc",
|
||||
"/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/Src",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/CMSIS/Include",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/CMSIS/Device/ST/STM32F1xx/Include",
|
||||
"/home/kymkim/.platformio/packages/framework-stm32cubef1/Drivers/STM32F1xx_HAL_Driver/Inc",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"projectEnvName": "bluepill_f103c8",
|
||||
"toolchainBinDir": "/home/kymkim/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
@@ -26,7 +26,7 @@
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug (skip Pre-Debug)",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"projectEnvName": "bluepill_f103c8",
|
||||
"toolchainBinDir": "/home/kymkim/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
@@ -36,7 +36,7 @@
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug (without uploading)",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/components/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"executable": "/home/kymkim/Projects/modular-kbd/firmware/modules/sample_module/.pio/build/bluepill_f103c8/firmware.elf",
|
||||
"projectEnvName": "bluepill_f103c8",
|
||||
"toolchainBinDir": "/home/kymkim/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
|
||||
@@ -38,11 +38,11 @@ void MX_CAN_Init(void)
|
||||
|
||||
/* USER CODE END CAN_Init 1 */
|
||||
hcan.Instance = CAN1;
|
||||
hcan.Init.Prescaler = 18;
|
||||
hcan.Init.Prescaler = 6;
|
||||
hcan.Init.Mode = CAN_MODE_NORMAL;
|
||||
hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
||||
hcan.Init.TimeSeg1 = CAN_BS1_13TQ;
|
||||
hcan.Init.TimeSeg2 = CAN_BS2_2TQ;
|
||||
hcan.Init.TimeSeg1 = CAN_BS1_16TQ;
|
||||
hcan.Init.TimeSeg2 = CAN_BS2_7TQ;
|
||||
hcan.Init.TimeTriggeredMode = DISABLE;
|
||||
hcan.Init.AutoBusOff = DISABLE;
|
||||
hcan.Init.AutoWakeUp = DISABLE;
|
||||
|
||||
Reference in New Issue
Block a user