Replace libs by gitmodule
This commit is contained in:
parent
200d1868f2
commit
53114bfd16
9
.gitmodules
vendored
Normal file
9
.gitmodules
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[submodule "Drivers/STM32F1xx_HAL_Driver"]
|
||||||
|
path = Drivers/STM32F1xx_HAL_Driver
|
||||||
|
url = https://github.com/STMicroelectronics/stm32f1xx-hal-driver.git
|
||||||
|
[submodule "Drivers/CMSIS"]
|
||||||
|
path = Drivers/CMSIS
|
||||||
|
url = https://github.com/STMicroelectronics/cmsis-core.git
|
||||||
|
[submodule "Drivers/CMSIS_Device_ST_STM32F1xx"]
|
||||||
|
path = Drivers/CMSIS_Device_ST_STM32F1xx
|
||||||
|
url = https://github.com/STMicroelectronics/cmsis-device-f1.git
|
1
Drivers/CMSIS
Submodule
1
Drivers/CMSIS
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit f37cfcee997e714b0fad374a328c41df64f99acb
|
1
Drivers/CMSIS_Device_ST_STM32F1xx
Submodule
1
Drivers/CMSIS_Device_ST_STM32F1xx
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c8e9a4a4f16b6d2cb2a2083cbe5161025280fb22
|
1
Drivers/STM32F1xx_HAL_Driver
Submodule
1
Drivers/STM32F1xx_HAL_Driver
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 38d14024a9d3f6802506c3ec7a4308563760e54e
|
2
Makefile
2
Makefile
@ -131,7 +131,7 @@ C_INCLUDES = \
|
|||||||
-ICore/Inc \
|
-ICore/Inc \
|
||||||
-IDrivers/STM32F1xx_HAL_Driver/Inc \
|
-IDrivers/STM32F1xx_HAL_Driver/Inc \
|
||||||
-IDrivers/STM32F1xx_HAL_Driver/Inc/Legacy \
|
-IDrivers/STM32F1xx_HAL_Driver/Inc/Legacy \
|
||||||
-IDrivers/CMSIS/Device/ST/STM32F1xx/Include \
|
-IDrivers/CMSIS_Device_ST_STM32F1xx/Include \
|
||||||
-IDrivers/CMSIS/Include
|
-IDrivers/CMSIS/Include
|
||||||
|
|
||||||
|
|
||||||
|
14
README.md
14
README.md
@ -3,13 +3,21 @@
|
|||||||
This is my personnal rewrite of the [original](https://github.com/clockworkpi/PicoCalc/tree/master/Code/picocalc_keyboard)
|
This is my personnal rewrite of the [original](https://github.com/clockworkpi/PicoCalc/tree/master/Code/picocalc_keyboard)
|
||||||
PicoCalc STM32F103R8T6 firmware.
|
PicoCalc STM32F103R8T6 firmware.
|
||||||
|
|
||||||
The main differences with the original are followings:
|
## Features differences
|
||||||
|
The main differences with the original firmware are the followings:
|
||||||
|
|
||||||
- drastic reduction in the STM32's electricity consumption when running (~3.5 mA),
|
- drastic reduction in the STM32's electricity consumption when running (~3.5 mA),
|
||||||
- removed stm32duino dependencies (use STM32HAL instead, maybe I'll switch to libopencm3 someday...),
|
|
||||||
- clean up (in progress) to reduce binary size (~25 KB) and allow more features to be implemented,
|
- clean up (in progress) to reduce binary size (~25 KB) and allow more features to be implemented,
|
||||||
|
- removed stm32duino dependencies (use STM32HAL instead, maybe I'll switch to libopencm3 someday...),
|
||||||
- added configuration saving solution (using internal flash, including backlight option),
|
- added configuration saving solution (using internal flash, including backlight option),
|
||||||
- rewriten or added some debug UART interface message,
|
- rewriten or added some debug UART interface message,
|
||||||
- lighten AXP2101 PMIC driver.
|
- lighten AXP2101 PMIC driver.
|
||||||
|
|
||||||
This source code can be compiled using ARM gcc toolchain (using v13) and make program.
|
## Compile
|
||||||
|
This source code can be compiled using ARM gcc toolchain (using v13) in path and using make program.
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
- STM32-HAL: [link](https://github.com/STMicroelectronics/stm32f1xx-hal-driver)
|
||||||
|
- STM32-CMSIS: [link](https://github.com/STMicroelectronics/cmsis-device-f1)
|
||||||
|
- X-PowersLib: [link](https://github.com/lewisxhe/XPowersLib)
|
||||||
|
- Emulated EEPROM: [link](https://github.com/ScorpionX5/STM32F1XX-EEPROM-Emulation-Library/tree/master/V2.0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user