17 Commits

Author SHA1 Message Date
fenugrec
c189c45c78 CMake : HAL CMakeLists doesn't need hal_include.h
probably accidentally added with F4 support commit
2022-01-06 17:40:55 -05:00
fenugrec
6b451da2f0 CMake: clean up -mcpu=XYZ compile flags
also remove duplicate link options for F072 targets
2022-01-06 17:38:41 -05:00
Ricky Lopez
d306798923 Add STM32F4 support
Specifically, the STM32F407VE.
Even more specifically, [this](https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0.html) dev board
2022-01-06 12:31:05 -05:00
fenugrec
e6b972441b Update USB stack to 1.11.2 (HAL + middleware)
Also remove some useless math/DSP headers.
The USB code really needed updating, considering the following entries from ST's
release notes (
https://raw.github.com/STMicroelectronics/STM32CubeF0/master/Release_Notes.html
) :

-Bug fix: USB_ReadPMA() and USB_WritePMA() by ensuring 16-bits access to
USB PMA memory
-Bug fix: correct USB RX count calculation
-Fix USB Bulk transfer double buffer mode
2021-04-25 19:43:55 -04:00
Hubert Denkmair
b94a26f016 move all usb descriptors to ROM
copy to USBD_DescBuf when requested
(serving from ROM seemingly not supported?)
2020-12-06 12:51:46 -05:00
Hubert Denkmair
f380b5eafd rename USBD_StrDesc to USBD_DescBuf
(will reuse not only for strings)
2020-12-06 12:51:46 -05:00
Hubert Denkmair
c3efe48018 shink usb descriptor string buffer to save some RAM 2020-12-06 12:51:46 -05:00
Hubert Denkmair
0aa13404d8 since Reset_Handler is now part of the main executable, no need for a OBJECT library any more 2020-12-06 12:51:46 -05:00
Hubert Denkmair
338a0e22a0 add all header files to HAL cmake SOURCES 2020-12-06 12:51:46 -05:00
Hubert Denkmair
fef1d397b5 use startup files and linker scripts from LibreUCpp 2020-12-06 12:51:46 -05:00
Hubert Denkmair
ed6152f1a2 upgrade HAL to STM32CubeF0-1.11.0 2020-12-06 12:51:46 -05:00
Hubert Denkmair
f3d86a7e73 update usb device library to STM32CubeF0-1.11.0 2020-12-06 12:51:46 -05:00
Jeroen Hofstee
7618128cf6 fix whitespace
The project uses tabs with a length of 4 spaces, and spaces for
continuation, so lets use that for the whole project. There are
many trailing whitespaces and empty lines here and there; get
rid of them as well.
2019-11-04 19:04:54 -05:00
Jeroen Hofstee
cd31acce28 use unix line endings
Some files have Windows line endings which is annoying, since pathes
won't apply, diffs looks ugly etc. So do convert the few files which
have Windows line endings to use Unix line endings as well.
2019-11-04 19:04:45 -05:00
Hubert Denkmair
423e0f53bd add -Wno-deprecated to HAL builds to allow compile with gcc9 2019-10-30 20:32:13 +01:00
Hubert Denkmair
0b5f226d8f fix chip compile definition for STM32F042 devices 2019-10-30 20:30:22 +01:00
Hubert Denkmair
23ebdb8a78 convert to cmake 2019-10-26 16:53:43 +02:00