From 6b9e4161cb701cedf1325d3a19470848c6b1b442 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 29 Apr 2021 14:14:50 +1000 Subject: [PATCH] HAL_ChibiOS: removed UDID_START from all MCU defs use UID_BASE from ChibiOS headers --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F100xB.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F103xB.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F105xC.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F407xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F412Rx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F427xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F469xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F745xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F767xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F777xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32G474xx.py | 3 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32H743xx.py | 3 --- 14 files changed, 42 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F100xB.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F100xB.py index 61ffc280eb..40b5896611 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F100xB.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F100xB.py @@ -22,9 +22,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFFF7E8, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F103xB.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F103xB.py index d7723cc730..ba77cd5049 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F103xB.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F103xB.py @@ -22,9 +22,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFFF7E8, - 'RAM_MAP' : [ (0x20000000, 20, 1), # main memory, DMA safe ], diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F105xC.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F105xC.py index 6fdb0d3109..3e5c53fb7e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F105xC.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F105xC.py @@ -21,9 +21,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFFF7E8, - 'RAM_MAP' : [ (0x20000000, 64, 1), # main memory, DMA safe ] diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py index 33d17dce1c..41c02844b5 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFFF7AC, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py index 8eee261686..771362d4c9 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F405xx.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7A10, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F407xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F407xx.py index 3bfad17e19..9f8938e3b6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F407xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F407xx.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7A10, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F412Rx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F412Rx.py index b36f2389e8..aeea41b6c2 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F412Rx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F412Rx.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7A10, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F427xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F427xx.py index c33eab2445..339b8caaa1 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F427xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F427xx.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7A10, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F469xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F469xx.py index fc4f3e5432..9b2316093f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F469xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F469xx.py @@ -25,9 +25,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7A10, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F745xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F745xx.py index cfb26157c0..748e6153a7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F745xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F745xx.py @@ -12,9 +12,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FF0F420, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F767xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F767xx.py index e70a681571..40af97798c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F767xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F767xx.py @@ -27,9 +27,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FF0F420, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F777xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F777xx.py index 5c80b988ff..a0f2c9ede1 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F777xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F777xx.py @@ -26,9 +26,6 @@ pincount = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FF0F420, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32G474xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32G474xx.py index 902c7535da..c283ce2747 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32G474xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32G474xx.py @@ -11,9 +11,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FFF7590, - # ram map, as list of (address, size-kb, flags) # flags of 1 means DMA-capable (DMA and BDMA) # flags of 2 means faster memory for CPU intensive work diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32H743xx.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32H743xx.py index 6e0a565aac..7c479380be 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32H743xx.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32H743xx.py @@ -11,9 +11,6 @@ build = { # MCU parameters mcu = { - # location of MCU serial number - 'UDID_START' : 0x1FF1E800, - # DMA peripheral capabilities: # - can't use ITCM or DTCM for any DMA # - SPI1 to SPI5 can use AXI SRAM, SRAM1 to SRAM3 and SRAM4 for DMA