Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 9 additions & 15 deletions cmake/boards_db.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101413,16 +101413,12 @@ set(HERON_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32U5xx/U575O(G-
set(HERON_MAXSIZE 2097152)
set(HERON_MAXDATASIZE 786432)
set(HERON_MCU cortex-m33)
set(HERON_FPU_CONF "fpv5-sp-d16")
set(HERON_FPU_ABI "hard")
set(HERON_FPCONF "${HERON_FPU_CONF}-${HERON_FPU_ABI}")
set(HERON_PID 0x0004)
set(HERON_FPCONF "fpv5-sp-d16-hard")
add_library(HERON INTERFACE)
target_compile_options(HERON INTERFACE
"SHELL:-DSTM32U575xx"
"SHELL:-DCUSTOM_PERIPHERAL_PINS"
"SHELL:"
"SHELL:-mfpu=${HERON_FPU_CONF} -mfloat-abi=${HERON_FPU_ABI}"
"SHELL:-mfpu=fpv5-sp-d16 -mfloat-abi=hard"
-mcpu=${HERON_MCU}
)
target_compile_definitions(HERON INTERFACE
Expand All @@ -101444,15 +101440,14 @@ target_include_directories(HERON INTERFACE
target_link_options(HERON INTERFACE
"LINKER:--default-script=${HERON_VARIANT_PATH}/ldscript.ld"
"LINKER:--defsym=LD_FLASH_OFFSET=0x0"
"LINKER:--defsym=LD_MAX_SIZE=${HERON_MAXSIZE}"
"LINKER:--defsym=LD_MAX_DATA_SIZE=${HERON_MAXDATASIZE}"
"SHELL:-mfpu=${HERON_FPU_CONF} -mfloat-abi=${HERON_FPU_ABI}"
"LINKER:--defsym=LD_MAX_SIZE=2097152"
"LINKER:--defsym=LD_MAX_DATA_SIZE=786432"
"SHELL:-mfpu=fpv5-sp-d16 -mfloat-abi=hard"
-mcpu=${HERON_MCU}
)

add_library(HERON_serial_disabled INTERFACE)
target_compile_options(HERON_serial_disabled INTERFACE
"SHELL:"
)
add_library(HERON_serial_generic INTERFACE)
target_compile_options(HERON_serial_generic INTERFACE
Expand All @@ -101464,23 +101459,21 @@ target_compile_options(HERON_serial_none INTERFACE
)
add_library(HERON_usb_CDC INTERFACE)
target_compile_options(HERON_usb_CDC INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=${HERON_PID} -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=0x0004 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
)
add_library(HERON_usb_CDCgen INTERFACE)
target_compile_options(HERON_usb_CDCgen INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=${HERON_PID} -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=0x0004 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
)
add_library(HERON_usb_HID INTERFACE)
target_compile_options(HERON_usb_HID INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=${HERON_PID} -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
"SHELL:-DUSBCON -DUSBD_VID=0x30A4 -DUSBD_PID=0x0004 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
)
add_library(HERON_usb_none INTERFACE)
target_compile_options(HERON_usb_none INTERFACE
"SHELL:"
)
add_library(HERON_xusb_FS INTERFACE)
target_compile_options(HERON_xusb_FS INTERFACE
"SHELL:"
)
add_library(HERON_xusb_HS INTERFACE)
target_compile_options(HERON_xusb_HS INTERFACE
Expand Down Expand Up @@ -104285,6 +104278,7 @@ set(NUCLEO_F746ZG_FPCONF "fpv5-sp-d16-hard")
add_library(NUCLEO_F746ZG INTERFACE)
target_compile_options(NUCLEO_F746ZG INTERFACE
"SHELL:-DSTM32F746xx"
"SHELL:-DCUSTOM_PERIPHERAL_PINS"
"SHELL:-mfpu=fpv5-sp-d16 -mfloat-abi=hard"
-mcpu=${NUCLEO_F746ZG_MCU}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C011D6Yx.xml, STM32C011F(4-6)Px.xml
* STM32C011F(4-6)Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C011J(4-6)M/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C011J(4-6)Mx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C031C(4-6)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C031C(4-6)Tx.xml, STM32C031C(4-6)Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C031F(4-6)P/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C031F(4-6)Px.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C031G(4-6)U/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C031G(4-6)Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C031K(4-6)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C031K(4-6)Tx.xml, STM32C031K(4-6)Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C051C(6-8)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C051C6Tx.xml, STM32C051C6Ux.xml
* STM32C051C8Tx.xml, STM32C051C8Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C051D8Y_C051F(6-8)P/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C051D8Yx.xml, STM32C051F6Px.xml
* STM32C051F8Px.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C051G(6-8)U/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C051G6Ux.xml, STM32C051G8Ux.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C051K6(T-U)_C051K8T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C051K6Tx.xml, STM32C051K6Ux.xml
* STM32C051K8Tx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071C(8-B)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071C8Tx.xml, STM32C071C8Ux.xml
* STM32C071CBTx.xml, STM32C071CBUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071C(8-B)(T-U)xN/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071C8TxN.xml, STM32C071C8UxN.xml
* STM32C071CBTxN.xml, STM32C071CBUxN.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071F(8-B)PxN/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C071F8PxN.xml, STM32C071FBPxN.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071F8P_C071FB(P-Y)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071F8Px.xml, STM32C071FBPx.xml
* STM32C071FBYx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071G(8-B)U/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C071G8Ux.xml, STM32C071GBUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071G(8-B)UxN/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C071G8UxN.xml, STM32C071GBUxN.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071K(8-B)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071K8Tx.xml, STM32C071K8Ux.xml
* STM32C071KBTx.xml, STM32C071KBUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071K(8-B)(T-U)xN/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071K8TxN.xml, STM32C071K8UxN.xml
* STM32C071KBTxN.xml, STM32C071KBUxN.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C071R(8-B)T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C071R8Tx.xml, STM32C071RBTx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C071R8TxN.xml, STM32C071RBIxN.xml
* STM32C071RBTxN.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C091C(B-C)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C091CBTx.xml, STM32C091CBUx.xml
* STM32C091CCTx.xml, STM32C091CCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C091ECY_C091F(B-C)P/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C091ECYx.xml, STM32C091FBPx.xml
* STM32C091FCPx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C091G(B-C)U/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C091GBUx.xml, STM32C091GCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C091K(B-C)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C091KBTx.xml, STM32C091KBUx.xml
* STM32C091KCTx.xml, STM32C091KCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C091RBT_C091RC(I-T)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C091RBTx.xml, STM32C091RCIx.xml
* STM32C091RCTx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C092C(B-C)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C092CBTx.xml, STM32C092CBUx.xml
* STM32C092CCTx.xml, STM32C092CCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C092ECY_C092F(B-C)P/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C092ECYx.xml, STM32C092FBPx.xml
* STM32C092FCPx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C092G(B-C)U/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32C092GBUx.xml, STM32C092GCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C092K(B-C)(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C092KBTx.xml, STM32C092KBUx.xml
* STM32C092KCTx.xml, STM32C092KCUx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32C0xx/C092RBT_C092RC(I-T)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32C092RBTx.xml, STM32C092RCIx.xml
* STM32C092RCTx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030C6T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030C6Tx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030C8T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030C8Tx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030CCT/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030CCTx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030F4P/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030F4Px.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030K6T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030K6Tx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32F0xx/F030R8T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32F030R8Tx.xml
* CubeMX DB release 6.0.170
* CubeMX DB release 6.0.180
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Loading
Loading