diff --git a/CI/build/conf/cores_config.json b/CI/build/conf/cores_config.json index d12dae10d2..4ca5125c6b 100644 --- a/CI/build/conf/cores_config.json +++ b/CI/build/conf/cores_config.json @@ -156,70 +156,73 @@ "GENERIC_G491MESX", "GENERIC_G491METX", "GENERIC_G491RCIX", "GENERIC_G491RCTX", "GENERIC_G491REIX", "GENERIC_G491RETX", "GENERIC_G491REYX", "GENERIC_G491VCTX", "GENERIC_G491VETX", "GENERIC_G4A1MESX", "GENERIC_G4A1REIX", "GENERIC_G4A1RETX", - "GENERIC_H723ZETX", "GENERIC_H723ZGTX", "GENERIC_H730ZBTX", "GENERIC_H742IGKX", - "GENERIC_H742IGTX", "GENERIC_H742IIKX", "GENERIC_H742IITX", "GENERIC_H742VGHX", - "GENERIC_H742VGTX", "GENERIC_H742VIHX", "GENERIC_H742VITX", "GENERIC_H742ZGTX", - "GENERIC_H742ZITX", "GENERIC_H743IGKX", "GENERIC_H743IGTX", "GENERIC_H743IIKX", - "GENERIC_H743IITX", "GENERIC_H743VGHX", "GENERIC_H743VGTX", "GENERIC_H743VIHX", - "GENERIC_H743VITX", "GENERIC_H743ZGTX", "GENERIC_H743ZITX", "GENERIC_H747AGIX", - "GENERIC_H747AIIX", "GENERIC_H747IGTX", "GENERIC_H747IITX", "GENERIC_H750IBKX", - "GENERIC_H750IBTX", "GENERIC_H750VBTX", "GENERIC_H750ZBTX", "GENERIC_H753IIKX", - "GENERIC_H753VIHX", "GENERIC_H753ZITX", "GENERIC_H757AIIX", "GENERIC_L010F4PX", - "GENERIC_L010K4TX", "GENERIC_L011D3PX", "GENERIC_L011D4PX", "GENERIC_L011E3YX", - "GENERIC_L011F3PX", "GENERIC_L011F3UX", "GENERIC_L011F4PX", "GENERIC_L011F4UX", - "GENERIC_L011G3UX", "GENERIC_L011G4UX", "GENERIC_L011K3TX", "GENERIC_L011K3UX", - "GENERIC_L011K4TX", "GENERIC_L011K4UX", "GENERIC_L031C4TX", "GENERIC_L031C4UX", - "GENERIC_L031C6TX", "GENERIC_L031C6UX", "GENERIC_L031E4YX", "GENERIC_L031E6YX", - "GENERIC_L031F4PX", "GENERIC_L031F6PX", "GENERIC_L031G4UX", "GENERIC_L031G6UX", - "GENERIC_L031K4TX", "GENERIC_L031K6TX", "GENERIC_L041C4TX", "GENERIC_L041C6TX", - "GENERIC_L051C6TX", "GENERIC_L051C6UX", "GENERIC_L051C8TX", "GENERIC_L052C6TX", - "GENERIC_L052C6UX", "GENERIC_L052C8TX", "GENERIC_L052C8UX", "GENERIC_L052K6TX", - "GENERIC_L052K8TX", "GENERIC_L052R6HX", "GENERIC_L052R6TX", "GENERIC_L052R8HX", - "GENERIC_L052R8TX", "GENERIC_L052T6YX", "GENERIC_L052T8YX", "GENERIC_L053C6TX", - "GENERIC_L053C6UX", "GENERIC_L053C8TX", "GENERIC_L053C8UX", "GENERIC_L053R6HX", - "GENERIC_L053R6TX", "GENERIC_L053R8TX", "GENERIC_L062C8UX", "GENERIC_L063C8TX", - "GENERIC_L072CBTX", "GENERIC_L072CBUX", "GENERIC_L072CBYX", "GENERIC_L072CZEX", - "GENERIC_L072CZTX", "GENERIC_L072CZUX", "GENERIC_L072CZYX", "GENERIC_L072KBTX", - "GENERIC_L072KBUX", "GENERIC_L072KZTX", "GENERIC_L072KZUX", "GENERIC_L072RBHX", - "GENERIC_L072RBIX", "GENERIC_L072RBTX", "GENERIC_L072RZHX", "GENERIC_L072RZIX", - "GENERIC_L072RZTX", "GENERIC_L072V8IX", "GENERIC_L072V8TX", "GENERIC_L072VBIX", - "GENERIC_L072VBTX", "GENERIC_L072VZIX", "GENERIC_L072VZTX", "GENERIC_L073CBTX", - "GENERIC_L073CBUX", "GENERIC_L073CZTX", "GENERIC_L073CZUX", "GENERIC_L073CZYX", - "GENERIC_L073RBHX", "GENERIC_L073RBTX", "GENERIC_L073RZHX", "GENERIC_L073RZIX", - "GENERIC_L073RZTX", "GENERIC_L073V8IX", "GENERIC_L073V8TX", "GENERIC_L073VBIX", - "GENERIC_L073VBTX", "GENERIC_L073VZIX", "GENERIC_L073VZTX", "GENERIC_L082CZUX", - "GENERIC_L082KBTX", "GENERIC_L082KBUX", "GENERIC_L083CBTX", "GENERIC_L083CZTX", - "GENERIC_L083RBHX", "GENERIC_L083RBTX", "GENERIC_L083V8IX", "GENERIC_L083VBIX", - "GENERIC_L083VBTX", "GENERIC_L083VZIX", "GENERIC_L083VZTX", "GENERIC_L100C6UX", - "GENERIC_L100C6UXA", "GENERIC_L151C6TX", "GENERIC_L151C6TXA", "GENERIC_L151C6UX", - "GENERIC_L151C6UXA", "GENERIC_L151C8TX", "GENERIC_L151C8TXA", "GENERIC_L151C8UX", - "GENERIC_L151C8UXA", "GENERIC_L151CBTX", "GENERIC_L151CBTXA", "GENERIC_L151CBUX", - "GENERIC_L151CBUXA", "GENERIC_L151RETX", "GENERIC_L152C6TX", "GENERIC_L152C6TXA", + "GENERIC_H563IIKXQ", "GENERIC_H563ZGTX", "GENERIC_H563ZITX", "GENERIC_H723ZETX", + "GENERIC_H723ZGTX", "GENERIC_H730ZBTX", "GENERIC_H742IGKX", "GENERIC_H742IGTX", + "GENERIC_H742IIKX", "GENERIC_H742IITX", "GENERIC_H742VGHX", "GENERIC_H742VGTX", + "GENERIC_H742VIHX", "GENERIC_H742VITX", "GENERIC_H742ZGTX", "GENERIC_H742ZITX", + "GENERIC_H743IGKX", "GENERIC_H743IGTX", "GENERIC_H743IIKX", "GENERIC_H743IITX", + "GENERIC_H743VGHX", "GENERIC_H743VGTX", "GENERIC_H743VIHX", "GENERIC_H743VITX", + "GENERIC_H743ZGTX", "GENERIC_H743ZITX", "GENERIC_H747AGIX", "GENERIC_H747AIIX", + "GENERIC_H747IGTX", "GENERIC_H747IITX", "GENERIC_H750IBKX", "GENERIC_H750IBTX", + "GENERIC_H750VBTX", "GENERIC_H750ZBTX", "GENERIC_H753IIKX", "GENERIC_H753VIHX", + "GENERIC_H753ZITX", "GENERIC_H757AIIX", "GENERIC_L010F4PX", "GENERIC_L010K4TX", + "GENERIC_L011D3PX", "GENERIC_L011D4PX", "GENERIC_L011E3YX", "GENERIC_L011F3PX", + "GENERIC_L011F3UX", "GENERIC_L011F4PX", "GENERIC_L011F4UX", "GENERIC_L011G3UX", + "GENERIC_L011G4UX", "GENERIC_L011K3TX", "GENERIC_L011K3UX", "GENERIC_L011K4TX", + "GENERIC_L011K4UX", "GENERIC_L031C4TX", "GENERIC_L031C4UX", "GENERIC_L031C6TX", + "GENERIC_L031C6UX", "GENERIC_L031E4YX", "GENERIC_L031E6YX", "GENERIC_L031F4PX", + "GENERIC_L031F6PX", "GENERIC_L031G4UX", "GENERIC_L031G6UX", "GENERIC_L031K4TX", + "GENERIC_L031K6TX", "GENERIC_L041C4TX", "GENERIC_L041C6TX", "GENERIC_L051C6TX", + "GENERIC_L051C6UX", "GENERIC_L051C8TX", "GENERIC_L052C6TX", "GENERIC_L052C6UX", + "GENERIC_L052C8TX", "GENERIC_L052C8UX", "GENERIC_L052K6TX", "GENERIC_L052K8TX", + "GENERIC_L052R6HX", "GENERIC_L052R6TX", "GENERIC_L052R8HX", "GENERIC_L052R8TX", + "GENERIC_L052T6YX", "GENERIC_L052T8YX", "GENERIC_L053C6TX", "GENERIC_L053C6UX", + "GENERIC_L053C8TX", "GENERIC_L053C8UX", "GENERIC_L053R6HX", "GENERIC_L053R6TX", + "GENERIC_L053R8TX", "GENERIC_L062C8UX", "GENERIC_L063C8TX", "GENERIC_L072CBTX", + "GENERIC_L072CBUX", "GENERIC_L072CBYX", "GENERIC_L072CZEX", "GENERIC_L072CZTX", + "GENERIC_L072CZUX", "GENERIC_L072CZYX", "GENERIC_L072KBTX", "GENERIC_L072KBUX", + "GENERIC_L072KZTX", "GENERIC_L072KZUX", "GENERIC_L072RBHX", "GENERIC_L072RBIX", + "GENERIC_L072RBTX", "GENERIC_L072RZHX", "GENERIC_L072RZIX", "GENERIC_L072RZTX", + "GENERIC_L072V8IX", "GENERIC_L072V8TX", "GENERIC_L072VBIX", "GENERIC_L072VBTX", + "GENERIC_L072VZIX", "GENERIC_L072VZTX", "GENERIC_L073CBTX", "GENERIC_L073CBUX", + "GENERIC_L073CZTX", "GENERIC_L073CZUX", "GENERIC_L073CZYX", "GENERIC_L073RBHX", + "GENERIC_L073RBTX", "GENERIC_L073RZHX", "GENERIC_L073RZIX", "GENERIC_L073RZTX", + "GENERIC_L073V8IX", "GENERIC_L073V8TX", "GENERIC_L073VBIX", "GENERIC_L073VBTX", + "GENERIC_L073VZIX", "GENERIC_L073VZTX", "GENERIC_L082CZUX", "GENERIC_L082KBTX", + "GENERIC_L082KBUX", "GENERIC_L083CBTX", "GENERIC_L083CZTX", "GENERIC_L083RBHX", + "GENERIC_L083RBTX", "GENERIC_L083V8IX", "GENERIC_L083VBIX", "GENERIC_L083VBTX", + "GENERIC_L083VZIX", "GENERIC_L083VZTX", "GENERIC_L100C6UX", "GENERIC_L100C6UXA", + "GENERIC_L151C6TX", "GENERIC_L151C6TXA", "GENERIC_L151C6UX", "GENERIC_L151C6UXA", + "GENERIC_L151C8TX", "GENERIC_L151C8TXA", "GENERIC_L151C8UX", "GENERIC_L151C8UXA", + "GENERIC_L151CBTX", "GENERIC_L151CBTXA", "GENERIC_L151CBUX", "GENERIC_L151CBUXA", + "GENERIC_L151RETX", "GENERIC_L151ZDTX", "GENERIC_L152C6TX", "GENERIC_L152C6TXA", "GENERIC_L152C6UX", "GENERIC_L152C6UXA", "GENERIC_L152C8TX", "GENERIC_L152C8TXA", "GENERIC_L152C8UX", "GENERIC_L152C8UXA", "GENERIC_L152CBTX", "GENERIC_L152CBTXA", - "GENERIC_L152CBUX", "GENERIC_L152RETX", "GENERIC_L412K8TX", "GENERIC_L412K8UX", - "GENERIC_L412KBTX", "GENERIC_L412KBUX", "GENERIC_L422KBTX", "GENERIC_L431RBIX", - "GENERIC_L431RBTX", "GENERIC_L431RBYX", "GENERIC_L431RCIX", "GENERIC_L431RCTX", - "GENERIC_L432KBUX", "GENERIC_L432KCUX", "GENERIC_L433CBTX", "GENERIC_L433CBUX", - "GENERIC_L433CCTX", "GENERIC_L433CCUX", "GENERIC_L443CCTX", "GENERIC_L452RCIX", - "GENERIC_L452RCTX", "GENERIC_L452RCYX", "GENERIC_L452REIX", "GENERIC_L452RETX", - "GENERIC_L452REYX", "GENERIC_L452REYXP", "GENERIC_L462REIX", "GENERIC_L462RETX", - "GENERIC_L475RCTX", "GENERIC_L475RETX", "GENERIC_L475RGTX", "GENERIC_L475VCTX", - "GENERIC_L475VETX", "GENERIC_L475VGTX", "GENERIC_L476RCTX", "GENERIC_L476RETX", - "GENERIC_L476RGTX", "GENERIC_L476VCTX", "GENERIC_L476VETX", "GENERIC_L476VGTX", - "GENERIC_L496ZETX", "GENERIC_L496ZGTX", "GENERIC_L496ZGTXP", "GENERIC_L4R5VGTX", - "GENERIC_L4R5VITX", "GENERIC_L4R5ZGTX", "GENERIC_L4R5ZGYX", "GENERIC_L4R5ZITX", - "GENERIC_L4R5ZIYX", "GENERIC_L4R7VITX", "GENERIC_L4R7ZITX", "GENERIC_L4R9ZGJX", - "GENERIC_L4R9ZGYX", "GENERIC_L4R9ZIJX", "GENERIC_L4R9ZIYX", "GENERIC_L4S5VITX", - "GENERIC_L4S5ZITX", "GENERIC_L4S5ZIYX", "GENERIC_L552ZCTXQ", "GENERIC_L552ZETXQ", - "GENERIC_MP153AACX", "GENERIC_MP153CACX", "GENERIC_MP153DACX", "GENERIC_MP153FACX", - "GENERIC_MP157AACX", "GENERIC_MP157CACX", "GENERIC_MP157DACX", "GENERIC_U575AGIXQ", - "GENERIC_U575AIIXQ", "GENERIC_U575ZGTXQ", "GENERIC_U575ZITXQ", "GENERIC_WB35CCUXA", - "GENERIC_WB35CEUXA", "GENERIC_WB55CCUX", "GENERIC_WB55CEUX", "GENERIC_WB55RCVX", - "GENERIC_WB55REVX", "GENERIC_WL54CCUX", "GENERIC_WL54JCIX", "GENERIC_WL55CCUX", - "GENERIC_WL55JCIX", "GENERIC_WLE4C8UX", "GENERIC_WLE4CBUX", "GENERIC_WLE4CCUX", - "GENERIC_WLE4J8IX", "GENERIC_WLE4JBIX", "GENERIC_WLE4JCIX", "GENERIC_WLE5C8UX", - "GENERIC_WLE5CBUX", "GENERIC_WLE5J8IX", "GENERIC_WLE5JBIX", + "GENERIC_L152CBUX", "GENERIC_L152RETX", "GENERIC_L152ZDTX", "GENERIC_L412K8TX", + "GENERIC_L412K8UX", "GENERIC_L412KBTX", "GENERIC_L412KBUX", "GENERIC_L422KBTX", + "GENERIC_L431RBIX", "GENERIC_L431RBTX", "GENERIC_L431RBYX", "GENERIC_L431RCIX", + "GENERIC_L431RCTX", "GENERIC_L432KBUX", "GENERIC_L432KCUX", "GENERIC_L433CBTX", + "GENERIC_L433CBUX", "GENERIC_L433CCTX", "GENERIC_L433CCUX", "GENERIC_L433RBIX", + "GENERIC_L433RBTX", "GENERIC_L433RBYX", "GENERIC_L433RCIX", "GENERIC_L433RCTX", + "GENERIC_L433RCYX", "GENERIC_L443CCTX", "GENERIC_L443RCIX", "GENERIC_L443RCTX", + "GENERIC_L452RCIX", "GENERIC_L452RCTX", "GENERIC_L452RCYX", "GENERIC_L452REIX", + "GENERIC_L452RETX", "GENERIC_L452REYX", "GENERIC_L452REYXP", "GENERIC_L462REIX", + "GENERIC_L462RETX", "GENERIC_L475RCTX", "GENERIC_L475RETX", "GENERIC_L475RGTX", + "GENERIC_L475VCTX", "GENERIC_L475VETX", "GENERIC_L475VGTX", "GENERIC_L476RCTX", + "GENERIC_L476RETX", "GENERIC_L476RGTX", "GENERIC_L476VCTX", "GENERIC_L476VETX", + "GENERIC_L476VGTX", "GENERIC_L496ZETX", "GENERIC_L496ZGTX", "GENERIC_L496ZGTXP", + "GENERIC_L4R5VGTX", "GENERIC_L4R5VITX", "GENERIC_L4R5ZGTX", "GENERIC_L4R5ZGYX", + "GENERIC_L4R5ZITX", "GENERIC_L4R5ZIYX", "GENERIC_L4R7VITX", "GENERIC_L4R7ZITX", + "GENERIC_L4R9ZGJX", "GENERIC_L4R9ZGYX", "GENERIC_L4R9ZIJX", "GENERIC_L4R9ZIYX", + "GENERIC_L4S5VITX", "GENERIC_L4S5ZITX", "GENERIC_L4S5ZIYX", "GENERIC_L552ZCTXQ", + "GENERIC_L552ZETXQ", "GENERIC_MP153AACX", "GENERIC_MP153CACX", "GENERIC_MP153DACX", + "GENERIC_MP153FACX", "GENERIC_MP157AACX", "GENERIC_MP157CACX", "GENERIC_MP157DACX", + "GENERIC_U575AGIXQ", "GENERIC_U575AIIXQ", "GENERIC_U575ZGTXQ", "GENERIC_U575ZITXQ", + "GENERIC_WB35CCUXA", "GENERIC_WB35CEUXA", "GENERIC_WB55CCUX", "GENERIC_WB55CEUX", + "GENERIC_WB55RCVX", "GENERIC_WB55REVX", "GENERIC_WL54CCUX", "GENERIC_WL54JCIX", + "GENERIC_WL55CCUX", "GENERIC_WL55JCIX", "GENERIC_WLE4C8UX", "GENERIC_WLE4CBUX", + "GENERIC_WLE4CCUX", "GENERIC_WLE4J8IX", "GENERIC_WLE4JBIX", "GENERIC_WLE4JCIX", + "GENERIC_WLE5C8UX", "GENERIC_WLE5CBUX", "GENERIC_WLE5J8IX", "GENERIC_WLE5JBIX", "NUCLEO_H743ZI", "NUCLEO_L496ZG", "NUCLEO_L4R5ZI", diff --git a/CI/build/conf/cores_config_ci.json b/CI/build/conf/cores_config_ci.json index 9841a9a3e0..3eae379801 100644 --- a/CI/build/conf/cores_config_ci.json +++ b/CI/build/conf/cores_config_ci.json @@ -155,70 +155,73 @@ "GENERIC_G491MESX", "GENERIC_G491METX", "GENERIC_G491RCIX", "GENERIC_G491RCTX", "GENERIC_G491REIX", "GENERIC_G491RETX", "GENERIC_G491REYX", "GENERIC_G491VCTX", "GENERIC_G491VETX", "GENERIC_G4A1MESX", "GENERIC_G4A1REIX", "GENERIC_G4A1RETX", - "GENERIC_H723ZETX", "GENERIC_H723ZGTX", "GENERIC_H730ZBTX", "GENERIC_H742IGKX", - "GENERIC_H742IGTX", "GENERIC_H742IIKX", "GENERIC_H742IITX", "GENERIC_H742VGHX", - "GENERIC_H742VGTX", "GENERIC_H742VIHX", "GENERIC_H742VITX", "GENERIC_H742ZGTX", - "GENERIC_H742ZITX", "GENERIC_H743IGKX", "GENERIC_H743IGTX", "GENERIC_H743IIKX", - "GENERIC_H743IITX", "GENERIC_H743VGHX", "GENERIC_H743VGTX", "GENERIC_H743VIHX", - "GENERIC_H743VITX", "GENERIC_H743ZGTX", "GENERIC_H743ZITX", "GENERIC_H747AGIX", - "GENERIC_H747AIIX", "GENERIC_H747IGTX", "GENERIC_H747IITX", "GENERIC_H750IBKX", - "GENERIC_H750IBTX", "GENERIC_H750VBTX", "GENERIC_H750ZBTX", "GENERIC_H753IIKX", - "GENERIC_H753VIHX", "GENERIC_H753ZITX", "GENERIC_H757AIIX", "GENERIC_L010F4PX", - "GENERIC_L010K4TX", "GENERIC_L011D3PX", "GENERIC_L011D4PX", "GENERIC_L011E3YX", - "GENERIC_L011F3PX", "GENERIC_L011F3UX", "GENERIC_L011F4PX", "GENERIC_L011F4UX", - "GENERIC_L011G3UX", "GENERIC_L011G4UX", "GENERIC_L011K3TX", "GENERIC_L011K3UX", - "GENERIC_L011K4TX", "GENERIC_L011K4UX", "GENERIC_L031C4TX", "GENERIC_L031C4UX", - "GENERIC_L031C6TX", "GENERIC_L031C6UX", "GENERIC_L031E4YX", "GENERIC_L031E6YX", - "GENERIC_L031F4PX", "GENERIC_L031F6PX", "GENERIC_L031G4UX", "GENERIC_L031G6UX", - "GENERIC_L031K4TX", "GENERIC_L031K6TX", "GENERIC_L041C4TX", "GENERIC_L041C6TX", - "GENERIC_L051C6TX", "GENERIC_L051C6UX", "GENERIC_L051C8TX", "GENERIC_L052C6TX", - "GENERIC_L052C6UX", "GENERIC_L052C8TX", "GENERIC_L052C8UX", "GENERIC_L052K6TX", - "GENERIC_L052K8TX", "GENERIC_L052R6HX", "GENERIC_L052R6TX", "GENERIC_L052R8HX", - "GENERIC_L052R8TX", "GENERIC_L052T6YX", "GENERIC_L052T8YX", "GENERIC_L053C6TX", - "GENERIC_L053C6UX", "GENERIC_L053C8TX", "GENERIC_L053C8UX", "GENERIC_L053R6HX", - "GENERIC_L053R6TX", "GENERIC_L053R8TX", "GENERIC_L062C8UX", "GENERIC_L063C8TX", - "GENERIC_L072CBTX", "GENERIC_L072CBUX", "GENERIC_L072CBYX", "GENERIC_L072CZEX", - "GENERIC_L072CZTX", "GENERIC_L072CZUX", "GENERIC_L072CZYX", "GENERIC_L072KBTX", - "GENERIC_L072KBUX", "GENERIC_L072KZTX", "GENERIC_L072KZUX", "GENERIC_L072RBHX", - "GENERIC_L072RBIX", "GENERIC_L072RBTX", "GENERIC_L072RZHX", "GENERIC_L072RZIX", - "GENERIC_L072RZTX", "GENERIC_L072V8IX", "GENERIC_L072V8TX", "GENERIC_L072VBIX", - "GENERIC_L072VBTX", "GENERIC_L072VZIX", "GENERIC_L072VZTX", "GENERIC_L073CBTX", - "GENERIC_L073CBUX", "GENERIC_L073CZTX", "GENERIC_L073CZUX", "GENERIC_L073CZYX", - "GENERIC_L073RBHX", "GENERIC_L073RBTX", "GENERIC_L073RZHX", "GENERIC_L073RZIX", - "GENERIC_L073RZTX", "GENERIC_L073V8IX", "GENERIC_L073V8TX", "GENERIC_L073VBIX", - "GENERIC_L073VBTX", "GENERIC_L073VZIX", "GENERIC_L073VZTX", "GENERIC_L082CZUX", - "GENERIC_L082KBTX", "GENERIC_L082KBUX", "GENERIC_L083CBTX", "GENERIC_L083CZTX", - "GENERIC_L083RBHX", "GENERIC_L083RBTX", "GENERIC_L083V8IX", "GENERIC_L083VBIX", - "GENERIC_L083VBTX", "GENERIC_L083VZIX", "GENERIC_L083VZTX", "GENERIC_L100C6UX", - "GENERIC_L100C6UXA", "GENERIC_L151C6TX", "GENERIC_L151C6TXA", "GENERIC_L151C6UX", - "GENERIC_L151C6UXA", "GENERIC_L151C8TX", "GENERIC_L151C8TXA", "GENERIC_L151C8UX", - "GENERIC_L151C8UXA", "GENERIC_L151CBTX", "GENERIC_L151CBTXA", "GENERIC_L151CBUX", - "GENERIC_L151CBUXA", "GENERIC_L151RETX", "GENERIC_L152C6TX", "GENERIC_L152C6TXA", + "GENERIC_H563IIKXQ", "GENERIC_H563ZGTX", "GENERIC_H563ZITX", "GENERIC_H723ZETX", + "GENERIC_H723ZGTX", "GENERIC_H730ZBTX", "GENERIC_H742IGKX", "GENERIC_H742IGTX", + "GENERIC_H742IIKX", "GENERIC_H742IITX", "GENERIC_H742VGHX", "GENERIC_H742VGTX", + "GENERIC_H742VIHX", "GENERIC_H742VITX", "GENERIC_H742ZGTX", "GENERIC_H742ZITX", + "GENERIC_H743IGKX", "GENERIC_H743IGTX", "GENERIC_H743IIKX", "GENERIC_H743IITX", + "GENERIC_H743VGHX", "GENERIC_H743VGTX", "GENERIC_H743VIHX", "GENERIC_H743VITX", + "GENERIC_H743ZGTX", "GENERIC_H743ZITX", "GENERIC_H747AGIX", "GENERIC_H747AIIX", + "GENERIC_H747IGTX", "GENERIC_H747IITX", "GENERIC_H750IBKX", "GENERIC_H750IBTX", + "GENERIC_H750VBTX", "GENERIC_H750ZBTX", "GENERIC_H753IIKX", "GENERIC_H753VIHX", + "GENERIC_H753ZITX", "GENERIC_H757AIIX", "GENERIC_L010F4PX", "GENERIC_L010K4TX", + "GENERIC_L011D3PX", "GENERIC_L011D4PX", "GENERIC_L011E3YX", "GENERIC_L011F3PX", + "GENERIC_L011F3UX", "GENERIC_L011F4PX", "GENERIC_L011F4UX", "GENERIC_L011G3UX", + "GENERIC_L011G4UX", "GENERIC_L011K3TX", "GENERIC_L011K3UX", "GENERIC_L011K4TX", + "GENERIC_L011K4UX", "GENERIC_L031C4TX", "GENERIC_L031C4UX", "GENERIC_L031C6TX", + "GENERIC_L031C6UX", "GENERIC_L031E4YX", "GENERIC_L031E6YX", "GENERIC_L031F4PX", + "GENERIC_L031F6PX", "GENERIC_L031G4UX", "GENERIC_L031G6UX", "GENERIC_L031K4TX", + "GENERIC_L031K6TX", "GENERIC_L041C4TX", "GENERIC_L041C6TX", "GENERIC_L051C6TX", + "GENERIC_L051C6UX", "GENERIC_L051C8TX", "GENERIC_L052C6TX", "GENERIC_L052C6UX", + "GENERIC_L052C8TX", "GENERIC_L052C8UX", "GENERIC_L052K6TX", "GENERIC_L052K8TX", + "GENERIC_L052R6HX", "GENERIC_L052R6TX", "GENERIC_L052R8HX", "GENERIC_L052R8TX", + "GENERIC_L052T6YX", "GENERIC_L052T8YX", "GENERIC_L053C6TX", "GENERIC_L053C6UX", + "GENERIC_L053C8TX", "GENERIC_L053C8UX", "GENERIC_L053R6HX", "GENERIC_L053R6TX", + "GENERIC_L053R8TX", "GENERIC_L062C8UX", "GENERIC_L063C8TX", "GENERIC_L072CBTX", + "GENERIC_L072CBUX", "GENERIC_L072CBYX", "GENERIC_L072CZEX", "GENERIC_L072CZTX", + "GENERIC_L072CZUX", "GENERIC_L072CZYX", "GENERIC_L072KBTX", "GENERIC_L072KBUX", + "GENERIC_L072KZTX", "GENERIC_L072KZUX", "GENERIC_L072RBHX", "GENERIC_L072RBIX", + "GENERIC_L072RBTX", "GENERIC_L072RZHX", "GENERIC_L072RZIX", "GENERIC_L072RZTX", + "GENERIC_L072V8IX", "GENERIC_L072V8TX", "GENERIC_L072VBIX", "GENERIC_L072VBTX", + "GENERIC_L072VZIX", "GENERIC_L072VZTX", "GENERIC_L073CBTX", "GENERIC_L073CBUX", + "GENERIC_L073CZTX", "GENERIC_L073CZUX", "GENERIC_L073CZYX", "GENERIC_L073RBHX", + "GENERIC_L073RBTX", "GENERIC_L073RZHX", "GENERIC_L073RZIX", "GENERIC_L073RZTX", + "GENERIC_L073V8IX", "GENERIC_L073V8TX", "GENERIC_L073VBIX", "GENERIC_L073VBTX", + "GENERIC_L073VZIX", "GENERIC_L073VZTX", "GENERIC_L082CZUX", "GENERIC_L082KBTX", + "GENERIC_L082KBUX", "GENERIC_L083CBTX", "GENERIC_L083CZTX", "GENERIC_L083RBHX", + "GENERIC_L083RBTX", "GENERIC_L083V8IX", "GENERIC_L083VBIX", "GENERIC_L083VBTX", + "GENERIC_L083VZIX", "GENERIC_L083VZTX", "GENERIC_L100C6UX", "GENERIC_L100C6UXA", + "GENERIC_L151C6TX", "GENERIC_L151C6TXA", "GENERIC_L151C6UX", "GENERIC_L151C6UXA", + "GENERIC_L151C8TX", "GENERIC_L151C8TXA", "GENERIC_L151C8UX", "GENERIC_L151C8UXA", + "GENERIC_L151CBTX", "GENERIC_L151CBTXA", "GENERIC_L151CBUX", "GENERIC_L151CBUXA", + "GENERIC_L151RETX", "GENERIC_L151ZDTX", "GENERIC_L152C6TX", "GENERIC_L152C6TXA", "GENERIC_L152C6UX", "GENERIC_L152C6UXA", "GENERIC_L152C8TX", "GENERIC_L152C8TXA", "GENERIC_L152C8UX", "GENERIC_L152C8UXA", "GENERIC_L152CBTX", "GENERIC_L152CBTXA", - "GENERIC_L152CBUX", "GENERIC_L152RETX", "GENERIC_L412K8TX", "GENERIC_L412K8UX", - "GENERIC_L412KBTX", "GENERIC_L412KBUX", "GENERIC_L422KBTX", "GENERIC_L431RBIX", - "GENERIC_L431RBTX", "GENERIC_L431RBYX", "GENERIC_L431RCIX", "GENERIC_L431RCTX", - "GENERIC_L432KBUX", "GENERIC_L432KCUX", "GENERIC_L433CBTX", "GENERIC_L433CBUX", - "GENERIC_L433CCTX", "GENERIC_L433CCUX", "GENERIC_L443CCTX", "GENERIC_L452RCIX", - "GENERIC_L452RCTX", "GENERIC_L452RCYX", "GENERIC_L452REIX", "GENERIC_L452RETX", - "GENERIC_L452REYX", "GENERIC_L452REYXP", "GENERIC_L462REIX", "GENERIC_L462RETX", - "GENERIC_L475RCTX", "GENERIC_L475RETX", "GENERIC_L475RGTX", "GENERIC_L475VCTX", - "GENERIC_L475VETX", "GENERIC_L475VGTX", "GENERIC_L476RCTX", "GENERIC_L476RETX", - "GENERIC_L476RGTX", "GENERIC_L476VCTX", "GENERIC_L476VETX", "GENERIC_L476VGTX", - "GENERIC_L496ZETX", "GENERIC_L496ZGTX", "GENERIC_L496ZGTXP", "GENERIC_L4R5VGTX", - "GENERIC_L4R5VITX", "GENERIC_L4R5ZGTX", "GENERIC_L4R5ZGYX", "GENERIC_L4R5ZITX", - "GENERIC_L4R5ZIYX", "GENERIC_L4R7VITX", "GENERIC_L4R7ZITX", "GENERIC_L4R9ZGJX", - "GENERIC_L4R9ZGYX", "GENERIC_L4R9ZIJX", "GENERIC_L4R9ZIYX", "GENERIC_L4S5VITX", - "GENERIC_L4S5ZITX", "GENERIC_L4S5ZIYX", "GENERIC_L552ZCTXQ", "GENERIC_L552ZETXQ", - "GENERIC_MP153AACX", "GENERIC_MP153CACX", "GENERIC_MP153DACX", "GENERIC_MP153FACX", - "GENERIC_MP157AACX", "GENERIC_MP157CACX", "GENERIC_MP157DACX", "GENERIC_U575AGIXQ", - "GENERIC_U575AIIXQ", "GENERIC_U575ZGTXQ", "GENERIC_U575ZITXQ", "GENERIC_WB35CCUXA", - "GENERIC_WB35CEUXA", "GENERIC_WB55CCUX", "GENERIC_WB55CEUX", "GENERIC_WB55RCVX", - "GENERIC_WB55REVX", "GENERIC_WL54CCUX", "GENERIC_WL54JCIX", "GENERIC_WL55CCUX", - "GENERIC_WL55JCIX", "GENERIC_WLE4C8UX", "GENERIC_WLE4CBUX", "GENERIC_WLE4CCUX", - "GENERIC_WLE4J8IX", "GENERIC_WLE4JBIX", "GENERIC_WLE4JCIX", "GENERIC_WLE5C8UX", - "GENERIC_WLE5CBUX", "GENERIC_WLE5J8IX", "GENERIC_WLE5JBIX", + "GENERIC_L152CBUX", "GENERIC_L152RETX", "GENERIC_L152ZDTX", "GENERIC_L412K8TX", + "GENERIC_L412K8UX", "GENERIC_L412KBTX", "GENERIC_L412KBUX", "GENERIC_L422KBTX", + "GENERIC_L431RBIX", "GENERIC_L431RBTX", "GENERIC_L431RBYX", "GENERIC_L431RCIX", + "GENERIC_L431RCTX", "GENERIC_L432KBUX", "GENERIC_L432KCUX", "GENERIC_L433CBTX", + "GENERIC_L433CBUX", "GENERIC_L433CCTX", "GENERIC_L433CCUX", "GENERIC_L433RBIX", + "GENERIC_L433RBTX", "GENERIC_L433RBYX", "GENERIC_L433RCIX", "GENERIC_L433RCTX", + "GENERIC_L433RCYX", "GENERIC_L443CCTX", "GENERIC_L443RCIX", "GENERIC_L443RCTX", + "GENERIC_L452RCIX", "GENERIC_L452RCTX", "GENERIC_L452RCYX", "GENERIC_L452REIX", + "GENERIC_L452RETX", "GENERIC_L452REYX", "GENERIC_L452REYXP", "GENERIC_L462REIX", + "GENERIC_L462RETX", "GENERIC_L475RCTX", "GENERIC_L475RETX", "GENERIC_L475RGTX", + "GENERIC_L475VCTX", "GENERIC_L475VETX", "GENERIC_L475VGTX", "GENERIC_L476RCTX", + "GENERIC_L476RETX", "GENERIC_L476RGTX", "GENERIC_L476VCTX", "GENERIC_L476VETX", + "GENERIC_L476VGTX", "GENERIC_L496ZETX", "GENERIC_L496ZGTX", "GENERIC_L496ZGTXP", + "GENERIC_L4R5VGTX", "GENERIC_L4R5VITX", "GENERIC_L4R5ZGTX", "GENERIC_L4R5ZGYX", + "GENERIC_L4R5ZITX", "GENERIC_L4R5ZIYX", "GENERIC_L4R7VITX", "GENERIC_L4R7ZITX", + "GENERIC_L4R9ZGJX", "GENERIC_L4R9ZGYX", "GENERIC_L4R9ZIJX", "GENERIC_L4R9ZIYX", + "GENERIC_L4S5VITX", "GENERIC_L4S5ZITX", "GENERIC_L4S5ZIYX", "GENERIC_L552ZCTXQ", + "GENERIC_L552ZETXQ", "GENERIC_MP153AACX", "GENERIC_MP153CACX", "GENERIC_MP153DACX", + "GENERIC_MP153FACX", "GENERIC_MP157AACX", "GENERIC_MP157CACX", "GENERIC_MP157DACX", + "GENERIC_U575AGIXQ", "GENERIC_U575AIIXQ", "GENERIC_U575ZGTXQ", "GENERIC_U575ZITXQ", + "GENERIC_WB35CCUXA", "GENERIC_WB35CEUXA", "GENERIC_WB55CCUX", "GENERIC_WB55CEUX", + "GENERIC_WB55RCVX", "GENERIC_WB55REVX", "GENERIC_WL54CCUX", "GENERIC_WL54JCIX", + "GENERIC_WL55CCUX", "GENERIC_WL55JCIX", "GENERIC_WLE4C8UX", "GENERIC_WLE4CBUX", + "GENERIC_WLE4CCUX", "GENERIC_WLE4J8IX", "GENERIC_WLE4JBIX", "GENERIC_WLE4JCIX", + "GENERIC_WLE5C8UX", "GENERIC_WLE5CBUX", "GENERIC_WLE5J8IX", "GENERIC_WLE5JBIX", "NUCLEO_H743ZI", "NUCLEO_L496ZG", "NUCLEO_L4R5ZI", diff --git a/README.md b/README.md index 6aa3174ead..58f8db66f2 100644 --- a/README.md +++ b/README.md @@ -627,8 +627,11 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d | :green_heart: | STM32L152C6
STM32L152C8
STM32L152CB | Generic Board | *2.0.0* | | | :green_heart: | STM32L152C6-A
STM32L152C8-A
STM32L152CB-A | Generic Board | *2.0.0* | | | :green_heart: | STM32L151RE | Generic Board | *2.0.0* | | +| :yellow_heart: | STM32L151ZD | Generic Board | **2.6.0** | | | :green_heart: | STM32L152RE | Generic Board | *2.0.0* | | +| :yellow_heart: | STM32L152ZD | Generic Board | **2.6.0** | | | :green_heart: | STM32L162RE | Generic Board | *2.0.0* | | +| :yellow_heart: | STM32L162ZD | Generic Board | **2.6.0** | | ### Generic STM32L4 boards diff --git a/boards.txt b/boards.txt index c27bcfda3d..7a4060a4c0 100644 --- a/boards.txt +++ b/boards.txt @@ -8914,6 +8914,14 @@ GenL1.menu.pnum.GENERIC_L151CBUXA.build.board=GENERIC_L151CBUXA GenL1.menu.pnum.GENERIC_L151CBUXA.build.product_line=STM32L151xB GenL1.menu.pnum.GENERIC_L151CBUXA.build.variant=STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A) +# Generic L151ZDTx +GenL1.menu.pnum.GENERIC_L151ZDTX=Generic L151ZDTx +GenL1.menu.pnum.GENERIC_L151ZDTX.upload.maximum_size=393216 +GenL1.menu.pnum.GENERIC_L151ZDTX.upload.maximum_data_size=49152 +GenL1.menu.pnum.GENERIC_L151ZDTX.build.board=GENERIC_L151ZDTX +GenL1.menu.pnum.GENERIC_L151ZDTX.build.product_line=STM32L151xD +GenL1.menu.pnum.GENERIC_L151ZDTX.build.variant=STM32L1xx/L151ZDT_L152ZDT_L162ZDT + # Generic L152C6Tx GenL1.menu.pnum.GENERIC_L152C6TX=Generic L152C6Tx GenL1.menu.pnum.GENERIC_L152C6TX.upload.maximum_size=32768 @@ -9026,6 +9034,14 @@ GenL1.menu.pnum.GENERIC_L152RETX.build.board=GENERIC_L152RETX GenL1.menu.pnum.GENERIC_L152RETX.build.product_line=STM32L152xE GenL1.menu.pnum.GENERIC_L152RETX.build.variant=STM32L1xx/L151RET_L152RET_L162RET +# Generic L152ZDTx +GenL1.menu.pnum.GENERIC_L152ZDTX=Generic L152ZDTx +GenL1.menu.pnum.GENERIC_L152ZDTX.upload.maximum_size=393216 +GenL1.menu.pnum.GENERIC_L152ZDTX.upload.maximum_data_size=49152 +GenL1.menu.pnum.GENERIC_L152ZDTX.build.board=GENERIC_L152ZDTX +GenL1.menu.pnum.GENERIC_L152ZDTX.build.product_line=STM32L152xD +GenL1.menu.pnum.GENERIC_L152ZDTX.build.variant=STM32L1xx/L151ZDT_L152ZDT_L162ZDT + # Generic L162RETx GenL1.menu.pnum.GENERIC_L162RETX=Generic L162RETx GenL1.menu.pnum.GENERIC_L162RETX.upload.maximum_size=524288 @@ -9034,6 +9050,14 @@ GenL1.menu.pnum.GENERIC_L162RETX.build.board=GENERIC_L162RETX GenL1.menu.pnum.GENERIC_L162RETX.build.product_line=STM32L162xE GenL1.menu.pnum.GENERIC_L162RETX.build.variant=STM32L1xx/L151RET_L152RET_L162RET +# Generic L162ZDTx +GenL1.menu.pnum.GENERIC_L162ZDTX=Generic L162ZDTx +GenL1.menu.pnum.GENERIC_L162ZDTX.upload.maximum_size=393216 +GenL1.menu.pnum.GENERIC_L162ZDTX.upload.maximum_data_size=49152 +GenL1.menu.pnum.GENERIC_L162ZDTX.build.board=GENERIC_L162ZDTX +GenL1.menu.pnum.GENERIC_L162ZDTX.build.product_line=STM32L162xD +GenL1.menu.pnum.GENERIC_L162ZDTX.build.variant=STM32L1xx/L151ZDT_L152ZDT_L162ZDT + # Upload menu GenL1.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD) GenL1.menu.upload_method.swdMethod.upload.protocol=0 diff --git a/cmake/boards_db.cmake b/cmake/boards_db.cmake index 62c08b18cb..da4beda54c 100644 --- a/cmake/boards_db.cmake +++ b/cmake/boards_db.cmake @@ -88542,6 +88542,79 @@ target_compile_options(GENERIC_L151RETX_usb_none INTERFACE "SHELL:" ) +# GENERIC_L151ZDTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L151ZDTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT") +set(GENERIC_L151ZDTX_MAXSIZE 393216) +set(GENERIC_L151ZDTX_MAXDATASIZE 49152) +set(GENERIC_L151ZDTX_MCU cortex-m3) +set(GENERIC_L151ZDTX_FPCONF "-") +add_library(GENERIC_L151ZDTX INTERFACE) +target_compile_options(GENERIC_L151ZDTX INTERFACE + "SHELL:-DSTM32L151xD " + "SHELL:" + "SHELL:" + "SHELL: " + -mcpu=${GENERIC_L151ZDTX_MCU} +) +target_compile_definitions(GENERIC_L151ZDTX INTERFACE + "STM32L1xx" + "ARDUINO_GENERIC_L151ZDTX" + "BOARD_NAME=\"GENERIC_L151ZDTX\"" + "BOARD_ID=GENERIC_L151ZDTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L151ZDTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L1xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/gcc/ + ${GENERIC_L151ZDTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L151ZDTX INTERFACE + "LINKER:--default-script=${GENERIC_L151ZDTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=393216" + "LINKER:--defsym=LD_MAX_DATA_SIZE=49152" + "SHELL: " + -mcpu=${GENERIC_L151ZDTX_MCU} +) +target_link_libraries(GENERIC_L151ZDTX INTERFACE + arm_cortexM3l_math +) + +add_library(GENERIC_L151ZDTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L151ZDTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L151ZDTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L151ZDTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L151ZDTX_serial_none INTERFACE) +target_compile_options(GENERIC_L151ZDTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L151ZDTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L151ZDTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L151ZDTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L151ZDTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L151ZDTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L151ZDTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L151ZDTX_usb_none INTERFACE) +target_compile_options(GENERIC_L151ZDTX_usb_none INTERFACE + "SHELL:" +) + # GENERIC_L152C6TX # ----------------------------------------------------------------------------- @@ -89491,6 +89564,79 @@ target_compile_options(GENERIC_L152RETX_usb_none INTERFACE "SHELL:" ) +# GENERIC_L152ZDTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L152ZDTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT") +set(GENERIC_L152ZDTX_MAXSIZE 393216) +set(GENERIC_L152ZDTX_MAXDATASIZE 49152) +set(GENERIC_L152ZDTX_MCU cortex-m3) +set(GENERIC_L152ZDTX_FPCONF "-") +add_library(GENERIC_L152ZDTX INTERFACE) +target_compile_options(GENERIC_L152ZDTX INTERFACE + "SHELL:-DSTM32L152xD " + "SHELL:" + "SHELL:" + "SHELL: " + -mcpu=${GENERIC_L152ZDTX_MCU} +) +target_compile_definitions(GENERIC_L152ZDTX INTERFACE + "STM32L1xx" + "ARDUINO_GENERIC_L152ZDTX" + "BOARD_NAME=\"GENERIC_L152ZDTX\"" + "BOARD_ID=GENERIC_L152ZDTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L152ZDTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L1xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/gcc/ + ${GENERIC_L152ZDTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L152ZDTX INTERFACE + "LINKER:--default-script=${GENERIC_L152ZDTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=393216" + "LINKER:--defsym=LD_MAX_DATA_SIZE=49152" + "SHELL: " + -mcpu=${GENERIC_L152ZDTX_MCU} +) +target_link_libraries(GENERIC_L152ZDTX INTERFACE + arm_cortexM3l_math +) + +add_library(GENERIC_L152ZDTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L152ZDTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L152ZDTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L152ZDTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L152ZDTX_serial_none INTERFACE) +target_compile_options(GENERIC_L152ZDTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L152ZDTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L152ZDTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L152ZDTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L152ZDTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L152ZDTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L152ZDTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L152ZDTX_usb_none INTERFACE) +target_compile_options(GENERIC_L152ZDTX_usb_none INTERFACE + "SHELL:" +) + # GENERIC_L162RETX # ----------------------------------------------------------------------------- @@ -89564,6 +89710,79 @@ target_compile_options(GENERIC_L162RETX_usb_none INTERFACE "SHELL:" ) +# GENERIC_L162ZDTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L162ZDTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT") +set(GENERIC_L162ZDTX_MAXSIZE 393216) +set(GENERIC_L162ZDTX_MAXDATASIZE 49152) +set(GENERIC_L162ZDTX_MCU cortex-m3) +set(GENERIC_L162ZDTX_FPCONF "-") +add_library(GENERIC_L162ZDTX INTERFACE) +target_compile_options(GENERIC_L162ZDTX INTERFACE + "SHELL:-DSTM32L162xD " + "SHELL:" + "SHELL:" + "SHELL: " + -mcpu=${GENERIC_L162ZDTX_MCU} +) +target_compile_definitions(GENERIC_L162ZDTX INTERFACE + "STM32L1xx" + "ARDUINO_GENERIC_L162ZDTX" + "BOARD_NAME=\"GENERIC_L162ZDTX\"" + "BOARD_ID=GENERIC_L162ZDTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L162ZDTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L1xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L1xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/gcc/ + ${GENERIC_L162ZDTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L162ZDTX INTERFACE + "LINKER:--default-script=${GENERIC_L162ZDTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=393216" + "LINKER:--defsym=LD_MAX_DATA_SIZE=49152" + "SHELL: " + -mcpu=${GENERIC_L162ZDTX_MCU} +) +target_link_libraries(GENERIC_L162ZDTX INTERFACE + arm_cortexM3l_math +) + +add_library(GENERIC_L162ZDTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L162ZDTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L162ZDTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L162ZDTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L162ZDTX_serial_none INTERFACE) +target_compile_options(GENERIC_L162ZDTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L162ZDTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L162ZDTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L162ZDTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L162ZDTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L162ZDTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L162ZDTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L162ZDTX_usb_none INTERFACE) +target_compile_options(GENERIC_L162ZDTX_usb_none INTERFACE + "SHELL:" +) + # GENERIC_L412K8TX # ----------------------------------------------------------------------------- @@ -91094,278 +91313,788 @@ target_compile_options(GENERIC_L433CCUX_xusb_HSFS INTERFACE "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" ) -# GENERIC_L433RCTXP +# GENERIC_L433RBIX # ----------------------------------------------------------------------------- -set(GENERIC_L433RCTXP_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433RCTxP") -set(GENERIC_L433RCTXP_MAXSIZE 262144) -set(GENERIC_L433RCTXP_MAXDATASIZE 65536) -set(GENERIC_L433RCTXP_MCU cortex-m4) -set(GENERIC_L433RCTXP_FPCONF "-") -add_library(GENERIC_L433RCTXP INTERFACE) -target_compile_options(GENERIC_L433RCTXP INTERFACE +set(GENERIC_L433RBIX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RBIX_MAXSIZE 131072) +set(GENERIC_L433RBIX_MAXDATASIZE 65536) +set(GENERIC_L433RBIX_MCU cortex-m4) +set(GENERIC_L433RBIX_FPCONF "-") +add_library(GENERIC_L433RBIX INTERFACE) +target_compile_options(GENERIC_L433RBIX INTERFACE "SHELL:-DSTM32L433xx " "SHELL:" "SHELL:" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L433RCTXP_MCU} + -mcpu=${GENERIC_L433RBIX_MCU} ) -target_compile_definitions(GENERIC_L433RCTXP INTERFACE +target_compile_definitions(GENERIC_L433RBIX INTERFACE "STM32L4xx" - "ARDUINO_GENERIC_L433RCTXP" - "BOARD_NAME=\"GENERIC_L433RCTXP\"" - "BOARD_ID=GENERIC_L433RCTXP" + "ARDUINO_GENERIC_L433RBIX" + "BOARD_NAME=\"GENERIC_L433RBIX\"" + "BOARD_ID=GENERIC_L433RBIX" "VARIANT_H=\"variant_generic.h\"" ) -target_include_directories(GENERIC_L433RCTXP INTERFACE +target_include_directories(GENERIC_L433RBIX INTERFACE ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ - ${GENERIC_L433RCTXP_VARIANT_PATH} + ${GENERIC_L433RBIX_VARIANT_PATH} ) -target_link_options(GENERIC_L433RCTXP INTERFACE - "LINKER:--default-script=${GENERIC_L433RCTXP_VARIANT_PATH}/ldscript.ld" +target_link_options(GENERIC_L433RBIX INTERFACE + "LINKER:--default-script=${GENERIC_L433RBIX_VARIANT_PATH}/ldscript.ld" "LINKER:--defsym=LD_FLASH_OFFSET=0x0" - "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_SIZE=131072" "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L433RCTXP_MCU} + -mcpu=${GENERIC_L433RBIX_MCU} ) -target_link_libraries(GENERIC_L433RCTXP INTERFACE +target_link_libraries(GENERIC_L433RBIX INTERFACE arm_cortexM4lf_math ) -add_library(GENERIC_L433RCTXP_serial_disabled INTERFACE) -target_compile_options(GENERIC_L433RCTXP_serial_disabled INTERFACE +add_library(GENERIC_L433RBIX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RBIX_serial_disabled INTERFACE "SHELL:" ) -add_library(GENERIC_L433RCTXP_serial_generic INTERFACE) -target_compile_options(GENERIC_L433RCTXP_serial_generic INTERFACE +add_library(GENERIC_L433RBIX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RBIX_serial_generic INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED" ) -add_library(GENERIC_L433RCTXP_serial_none INTERFACE) -target_compile_options(GENERIC_L433RCTXP_serial_none INTERFACE +add_library(GENERIC_L433RBIX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RBIX_serial_none INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" ) -add_library(GENERIC_L433RCTXP_usb_CDC INTERFACE) -target_compile_options(GENERIC_L433RCTXP_usb_CDC INTERFACE +add_library(GENERIC_L433RBIX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RBIX_usb_CDC INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" ) -add_library(GENERIC_L433RCTXP_usb_CDCgen INTERFACE) -target_compile_options(GENERIC_L433RCTXP_usb_CDCgen INTERFACE +add_library(GENERIC_L433RBIX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RBIX_usb_CDCgen INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" ) -add_library(GENERIC_L433RCTXP_usb_HID INTERFACE) -target_compile_options(GENERIC_L433RCTXP_usb_HID INTERFACE +add_library(GENERIC_L433RBIX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RBIX_usb_HID INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" ) -add_library(GENERIC_L433RCTXP_usb_none INTERFACE) -target_compile_options(GENERIC_L433RCTXP_usb_none INTERFACE +add_library(GENERIC_L433RBIX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RBIX_usb_none INTERFACE "SHELL:" ) -add_library(GENERIC_L433RCTXP_xusb_FS INTERFACE) -target_compile_options(GENERIC_L433RCTXP_xusb_FS INTERFACE +add_library(GENERIC_L433RBIX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RBIX_xusb_FS INTERFACE "SHELL:" ) -add_library(GENERIC_L433RCTXP_xusb_HS INTERFACE) -target_compile_options(GENERIC_L433RCTXP_xusb_HS INTERFACE +add_library(GENERIC_L433RBIX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RBIX_xusb_HS INTERFACE "SHELL:-DUSE_USB_HS" ) -add_library(GENERIC_L433RCTXP_xusb_HSFS INTERFACE) -target_compile_options(GENERIC_L433RCTXP_xusb_HSFS INTERFACE +add_library(GENERIC_L433RBIX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RBIX_xusb_HSFS INTERFACE "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" ) -# GENERIC_L442KCUX +# GENERIC_L433RBTX # ----------------------------------------------------------------------------- -set(GENERIC_L442KCUX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L432K(B-C)U_L442KCU") -set(GENERIC_L442KCUX_MAXSIZE 262144) -set(GENERIC_L442KCUX_MAXDATASIZE 65536) -set(GENERIC_L442KCUX_MCU cortex-m4) -set(GENERIC_L442KCUX_FPCONF "-") -add_library(GENERIC_L442KCUX INTERFACE) -target_compile_options(GENERIC_L442KCUX INTERFACE - "SHELL:-DSTM32L442xx " +set(GENERIC_L433RBTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RBTX_MAXSIZE 131072) +set(GENERIC_L433RBTX_MAXDATASIZE 65536) +set(GENERIC_L433RBTX_MCU cortex-m4) +set(GENERIC_L433RBTX_FPCONF "-") +add_library(GENERIC_L433RBTX INTERFACE) +target_compile_options(GENERIC_L433RBTX INTERFACE + "SHELL:-DSTM32L433xx " "SHELL:" "SHELL:" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L442KCUX_MCU} + -mcpu=${GENERIC_L433RBTX_MCU} ) -target_compile_definitions(GENERIC_L442KCUX INTERFACE +target_compile_definitions(GENERIC_L433RBTX INTERFACE "STM32L4xx" - "ARDUINO_GENERIC_L442KCUX" - "BOARD_NAME=\"GENERIC_L442KCUX\"" - "BOARD_ID=GENERIC_L442KCUX" + "ARDUINO_GENERIC_L433RBTX" + "BOARD_NAME=\"GENERIC_L433RBTX\"" + "BOARD_ID=GENERIC_L433RBTX" "VARIANT_H=\"variant_generic.h\"" ) -target_include_directories(GENERIC_L442KCUX INTERFACE +target_include_directories(GENERIC_L433RBTX INTERFACE ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ - ${GENERIC_L442KCUX_VARIANT_PATH} + ${GENERIC_L433RBTX_VARIANT_PATH} ) -target_link_options(GENERIC_L442KCUX INTERFACE - "LINKER:--default-script=${GENERIC_L442KCUX_VARIANT_PATH}/ldscript.ld" +target_link_options(GENERIC_L433RBTX INTERFACE + "LINKER:--default-script=${GENERIC_L433RBTX_VARIANT_PATH}/ldscript.ld" "LINKER:--defsym=LD_FLASH_OFFSET=0x0" - "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_SIZE=131072" "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L442KCUX_MCU} + -mcpu=${GENERIC_L433RBTX_MCU} ) -target_link_libraries(GENERIC_L442KCUX INTERFACE +target_link_libraries(GENERIC_L433RBTX INTERFACE arm_cortexM4lf_math ) -add_library(GENERIC_L442KCUX_serial_disabled INTERFACE) -target_compile_options(GENERIC_L442KCUX_serial_disabled INTERFACE +add_library(GENERIC_L433RBTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RBTX_serial_disabled INTERFACE "SHELL:" ) -add_library(GENERIC_L442KCUX_serial_generic INTERFACE) -target_compile_options(GENERIC_L442KCUX_serial_generic INTERFACE +add_library(GENERIC_L433RBTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RBTX_serial_generic INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED" ) -add_library(GENERIC_L442KCUX_serial_none INTERFACE) -target_compile_options(GENERIC_L442KCUX_serial_none INTERFACE +add_library(GENERIC_L433RBTX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RBTX_serial_none INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" ) -add_library(GENERIC_L442KCUX_usb_CDC INTERFACE) -target_compile_options(GENERIC_L442KCUX_usb_CDC INTERFACE +add_library(GENERIC_L433RBTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RBTX_usb_CDC INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" ) -add_library(GENERIC_L442KCUX_usb_CDCgen INTERFACE) -target_compile_options(GENERIC_L442KCUX_usb_CDCgen INTERFACE +add_library(GENERIC_L433RBTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RBTX_usb_CDCgen INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" ) -add_library(GENERIC_L442KCUX_usb_HID INTERFACE) -target_compile_options(GENERIC_L442KCUX_usb_HID INTERFACE +add_library(GENERIC_L433RBTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RBTX_usb_HID INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" ) -add_library(GENERIC_L442KCUX_usb_none INTERFACE) -target_compile_options(GENERIC_L442KCUX_usb_none INTERFACE +add_library(GENERIC_L433RBTX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RBTX_usb_none INTERFACE "SHELL:" ) -add_library(GENERIC_L442KCUX_xusb_FS INTERFACE) -target_compile_options(GENERIC_L442KCUX_xusb_FS INTERFACE +add_library(GENERIC_L433RBTX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RBTX_xusb_FS INTERFACE "SHELL:" ) -add_library(GENERIC_L442KCUX_xusb_HS INTERFACE) -target_compile_options(GENERIC_L442KCUX_xusb_HS INTERFACE +add_library(GENERIC_L433RBTX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RBTX_xusb_HS INTERFACE "SHELL:-DUSE_USB_HS" ) -add_library(GENERIC_L442KCUX_xusb_HSFS INTERFACE) -target_compile_options(GENERIC_L442KCUX_xusb_HSFS INTERFACE +add_library(GENERIC_L433RBTX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RBTX_xusb_HSFS INTERFACE "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" ) -# GENERIC_L443CCTX +# GENERIC_L433RBYX # ----------------------------------------------------------------------------- -set(GENERIC_L443CCTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)") -set(GENERIC_L443CCTX_MAXSIZE 262144) -set(GENERIC_L443CCTX_MAXDATASIZE 65536) -set(GENERIC_L443CCTX_MCU cortex-m4) -set(GENERIC_L443CCTX_FPCONF "-") -add_library(GENERIC_L443CCTX INTERFACE) -target_compile_options(GENERIC_L443CCTX INTERFACE - "SHELL:-DSTM32L443xx " +set(GENERIC_L433RBYX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RBYX_MAXSIZE 131072) +set(GENERIC_L433RBYX_MAXDATASIZE 65536) +set(GENERIC_L433RBYX_MCU cortex-m4) +set(GENERIC_L433RBYX_FPCONF "-") +add_library(GENERIC_L433RBYX INTERFACE) +target_compile_options(GENERIC_L433RBYX INTERFACE + "SHELL:-DSTM32L433xx " "SHELL:" "SHELL:" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L443CCTX_MCU} + -mcpu=${GENERIC_L433RBYX_MCU} ) -target_compile_definitions(GENERIC_L443CCTX INTERFACE +target_compile_definitions(GENERIC_L433RBYX INTERFACE "STM32L4xx" - "ARDUINO_GENERIC_L443CCTX" - "BOARD_NAME=\"GENERIC_L443CCTX\"" - "BOARD_ID=GENERIC_L443CCTX" + "ARDUINO_GENERIC_L433RBYX" + "BOARD_NAME=\"GENERIC_L433RBYX\"" + "BOARD_ID=GENERIC_L433RBYX" "VARIANT_H=\"variant_generic.h\"" ) -target_include_directories(GENERIC_L443CCTX INTERFACE +target_include_directories(GENERIC_L433RBYX INTERFACE ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ - ${GENERIC_L443CCTX_VARIANT_PATH} + ${GENERIC_L433RBYX_VARIANT_PATH} ) -target_link_options(GENERIC_L443CCTX INTERFACE - "LINKER:--default-script=${GENERIC_L443CCTX_VARIANT_PATH}/ldscript.ld" +target_link_options(GENERIC_L433RBYX INTERFACE + "LINKER:--default-script=${GENERIC_L433RBYX_VARIANT_PATH}/ldscript.ld" "LINKER:--defsym=LD_FLASH_OFFSET=0x0" - "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_SIZE=131072" "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L443CCTX_MCU} + -mcpu=${GENERIC_L433RBYX_MCU} ) -target_link_libraries(GENERIC_L443CCTX INTERFACE +target_link_libraries(GENERIC_L433RBYX INTERFACE arm_cortexM4lf_math ) -add_library(GENERIC_L443CCTX_serial_disabled INTERFACE) -target_compile_options(GENERIC_L443CCTX_serial_disabled INTERFACE +add_library(GENERIC_L433RBYX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RBYX_serial_disabled INTERFACE "SHELL:" ) -add_library(GENERIC_L443CCTX_serial_generic INTERFACE) -target_compile_options(GENERIC_L443CCTX_serial_generic INTERFACE +add_library(GENERIC_L433RBYX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RBYX_serial_generic INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED" ) -add_library(GENERIC_L443CCTX_serial_none INTERFACE) -target_compile_options(GENERIC_L443CCTX_serial_none INTERFACE +add_library(GENERIC_L433RBYX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RBYX_serial_none INTERFACE "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" ) -add_library(GENERIC_L443CCTX_usb_CDC INTERFACE) -target_compile_options(GENERIC_L443CCTX_usb_CDC INTERFACE +add_library(GENERIC_L433RBYX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RBYX_usb_CDC INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" ) -add_library(GENERIC_L443CCTX_usb_CDCgen INTERFACE) -target_compile_options(GENERIC_L443CCTX_usb_CDCgen INTERFACE +add_library(GENERIC_L433RBYX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RBYX_usb_CDCgen INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" ) -add_library(GENERIC_L443CCTX_usb_HID INTERFACE) -target_compile_options(GENERIC_L443CCTX_usb_HID INTERFACE +add_library(GENERIC_L433RBYX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RBYX_usb_HID INTERFACE "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" ) -add_library(GENERIC_L443CCTX_usb_none INTERFACE) -target_compile_options(GENERIC_L443CCTX_usb_none INTERFACE +add_library(GENERIC_L433RBYX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RBYX_usb_none INTERFACE "SHELL:" ) -add_library(GENERIC_L443CCTX_xusb_FS INTERFACE) -target_compile_options(GENERIC_L443CCTX_xusb_FS INTERFACE +add_library(GENERIC_L433RBYX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RBYX_xusb_FS INTERFACE "SHELL:" ) -add_library(GENERIC_L443CCTX_xusb_HS INTERFACE) -target_compile_options(GENERIC_L443CCTX_xusb_HS INTERFACE +add_library(GENERIC_L433RBYX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RBYX_xusb_HS INTERFACE "SHELL:-DUSE_USB_HS" ) -add_library(GENERIC_L443CCTX_xusb_HSFS INTERFACE) -target_compile_options(GENERIC_L443CCTX_xusb_HSFS INTERFACE +add_library(GENERIC_L433RBYX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RBYX_xusb_HSFS INTERFACE "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" ) -# GENERIC_L443CCUX +# GENERIC_L433RCIX # ----------------------------------------------------------------------------- -set(GENERIC_L443CCUX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)") -set(GENERIC_L443CCUX_MAXSIZE 262144) -set(GENERIC_L443CCUX_MAXDATASIZE 65536) -set(GENERIC_L443CCUX_MCU cortex-m4) -set(GENERIC_L443CCUX_FPCONF "-") -add_library(GENERIC_L443CCUX INTERFACE) -target_compile_options(GENERIC_L443CCUX INTERFACE - "SHELL:-DSTM32L443xx " +set(GENERIC_L433RCIX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RCIX_MAXSIZE 262144) +set(GENERIC_L433RCIX_MAXDATASIZE 65536) +set(GENERIC_L433RCIX_MCU cortex-m4) +set(GENERIC_L433RCIX_FPCONF "-") +add_library(GENERIC_L433RCIX INTERFACE) +target_compile_options(GENERIC_L433RCIX INTERFACE + "SHELL:-DSTM32L433xx " "SHELL:" "SHELL:" "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" - -mcpu=${GENERIC_L443CCUX_MCU} + -mcpu=${GENERIC_L433RCIX_MCU} ) -target_compile_definitions(GENERIC_L443CCUX INTERFACE +target_compile_definitions(GENERIC_L433RCIX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L433RCIX" + "BOARD_NAME=\"GENERIC_L433RCIX\"" + "BOARD_ID=GENERIC_L433RCIX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L433RCIX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L433RCIX_VARIANT_PATH} +) + +target_link_options(GENERIC_L433RCIX INTERFACE + "LINKER:--default-script=${GENERIC_L433RCIX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCIX_MCU} +) +target_link_libraries(GENERIC_L433RCIX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L433RCIX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RCIX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCIX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RCIX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L433RCIX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RCIX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L433RCIX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RCIX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L433RCIX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RCIX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L433RCIX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RCIX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L433RCIX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RCIX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCIX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RCIX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCIX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RCIX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L433RCIX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RCIX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L433RCTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L433RCTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RCTX_MAXSIZE 262144) +set(GENERIC_L433RCTX_MAXDATASIZE 65536) +set(GENERIC_L433RCTX_MCU cortex-m4) +set(GENERIC_L433RCTX_FPCONF "-") +add_library(GENERIC_L433RCTX INTERFACE) +target_compile_options(GENERIC_L433RCTX INTERFACE + "SHELL:-DSTM32L433xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCTX_MCU} +) +target_compile_definitions(GENERIC_L433RCTX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L433RCTX" + "BOARD_NAME=\"GENERIC_L433RCTX\"" + "BOARD_ID=GENERIC_L433RCTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L433RCTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L433RCTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L433RCTX INTERFACE + "LINKER:--default-script=${GENERIC_L433RCTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCTX_MCU} +) +target_link_libraries(GENERIC_L433RCTX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L433RCTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RCTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RCTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L433RCTX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RCTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L433RCTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RCTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L433RCTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RCTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L433RCTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RCTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L433RCTX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RCTX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RCTX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RCTX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L433RCTX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RCTX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L433RCTXP +# ----------------------------------------------------------------------------- + +set(GENERIC_L433RCTXP_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433RCTxP") +set(GENERIC_L433RCTXP_MAXSIZE 262144) +set(GENERIC_L433RCTXP_MAXDATASIZE 65536) +set(GENERIC_L433RCTXP_MCU cortex-m4) +set(GENERIC_L433RCTXP_FPCONF "-") +add_library(GENERIC_L433RCTXP INTERFACE) +target_compile_options(GENERIC_L433RCTXP INTERFACE + "SHELL:-DSTM32L433xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCTXP_MCU} +) +target_compile_definitions(GENERIC_L433RCTXP INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L433RCTXP" + "BOARD_NAME=\"GENERIC_L433RCTXP\"" + "BOARD_ID=GENERIC_L433RCTXP" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L433RCTXP INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L433RCTXP_VARIANT_PATH} +) + +target_link_options(GENERIC_L433RCTXP INTERFACE + "LINKER:--default-script=${GENERIC_L433RCTXP_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCTXP_MCU} +) +target_link_libraries(GENERIC_L433RCTXP INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L433RCTXP_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RCTXP_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTXP_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RCTXP_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L433RCTXP_serial_none INTERFACE) +target_compile_options(GENERIC_L433RCTXP_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L433RCTXP_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RCTXP_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L433RCTXP_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RCTXP_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L433RCTXP_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RCTXP_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L433RCTXP_usb_none INTERFACE) +target_compile_options(GENERIC_L433RCTXP_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTXP_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RCTXP_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCTXP_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RCTXP_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L433RCTXP_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RCTXP_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L433RCYX +# ----------------------------------------------------------------------------- + +set(GENERIC_L433RCYX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L433RCYX_MAXSIZE 262144) +set(GENERIC_L433RCYX_MAXDATASIZE 65536) +set(GENERIC_L433RCYX_MCU cortex-m4) +set(GENERIC_L433RCYX_FPCONF "-") +add_library(GENERIC_L433RCYX INTERFACE) +target_compile_options(GENERIC_L433RCYX INTERFACE + "SHELL:-DSTM32L433xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCYX_MCU} +) +target_compile_definitions(GENERIC_L433RCYX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L433RCYX" + "BOARD_NAME=\"GENERIC_L433RCYX\"" + "BOARD_ID=GENERIC_L433RCYX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L433RCYX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L433RCYX_VARIANT_PATH} +) + +target_link_options(GENERIC_L433RCYX INTERFACE + "LINKER:--default-script=${GENERIC_L433RCYX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L433RCYX_MCU} +) +target_link_libraries(GENERIC_L433RCYX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L433RCYX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L433RCYX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCYX_serial_generic INTERFACE) +target_compile_options(GENERIC_L433RCYX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L433RCYX_serial_none INTERFACE) +target_compile_options(GENERIC_L433RCYX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L433RCYX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L433RCYX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L433RCYX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L433RCYX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L433RCYX_usb_HID INTERFACE) +target_compile_options(GENERIC_L433RCYX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L433RCYX_usb_none INTERFACE) +target_compile_options(GENERIC_L433RCYX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCYX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L433RCYX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L433RCYX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L433RCYX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L433RCYX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L433RCYX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L442KCUX +# ----------------------------------------------------------------------------- + +set(GENERIC_L442KCUX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L432K(B-C)U_L442KCU") +set(GENERIC_L442KCUX_MAXSIZE 262144) +set(GENERIC_L442KCUX_MAXDATASIZE 65536) +set(GENERIC_L442KCUX_MCU cortex-m4) +set(GENERIC_L442KCUX_FPCONF "-") +add_library(GENERIC_L442KCUX INTERFACE) +target_compile_options(GENERIC_L442KCUX INTERFACE + "SHELL:-DSTM32L442xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L442KCUX_MCU} +) +target_compile_definitions(GENERIC_L442KCUX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L442KCUX" + "BOARD_NAME=\"GENERIC_L442KCUX\"" + "BOARD_ID=GENERIC_L442KCUX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L442KCUX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L442KCUX_VARIANT_PATH} +) + +target_link_options(GENERIC_L442KCUX INTERFACE + "LINKER:--default-script=${GENERIC_L442KCUX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L442KCUX_MCU} +) +target_link_libraries(GENERIC_L442KCUX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L442KCUX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L442KCUX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L442KCUX_serial_generic INTERFACE) +target_compile_options(GENERIC_L442KCUX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L442KCUX_serial_none INTERFACE) +target_compile_options(GENERIC_L442KCUX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L442KCUX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L442KCUX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L442KCUX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L442KCUX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L442KCUX_usb_HID INTERFACE) +target_compile_options(GENERIC_L442KCUX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L442KCUX_usb_none INTERFACE) +target_compile_options(GENERIC_L442KCUX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L442KCUX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L442KCUX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L442KCUX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L442KCUX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L442KCUX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L442KCUX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L443CCTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L443CCTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)") +set(GENERIC_L443CCTX_MAXSIZE 262144) +set(GENERIC_L443CCTX_MAXDATASIZE 65536) +set(GENERIC_L443CCTX_MCU cortex-m4) +set(GENERIC_L443CCTX_FPCONF "-") +add_library(GENERIC_L443CCTX INTERFACE) +target_compile_options(GENERIC_L443CCTX INTERFACE + "SHELL:-DSTM32L443xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443CCTX_MCU} +) +target_compile_definitions(GENERIC_L443CCTX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L443CCTX" + "BOARD_NAME=\"GENERIC_L443CCTX\"" + "BOARD_ID=GENERIC_L443CCTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L443CCTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L443CCTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L443CCTX INTERFACE + "LINKER:--default-script=${GENERIC_L443CCTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443CCTX_MCU} +) +target_link_libraries(GENERIC_L443CCTX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L443CCTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L443CCTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L443CCTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L443CCTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L443CCTX_serial_none INTERFACE) +target_compile_options(GENERIC_L443CCTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L443CCTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L443CCTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L443CCTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L443CCTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L443CCTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L443CCTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L443CCTX_usb_none INTERFACE) +target_compile_options(GENERIC_L443CCTX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L443CCTX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L443CCTX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L443CCTX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L443CCTX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L443CCTX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L443CCTX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L443CCUX +# ----------------------------------------------------------------------------- + +set(GENERIC_L443CCUX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433C(B-C)(T-U)_L443CC(T-U)") +set(GENERIC_L443CCUX_MAXSIZE 262144) +set(GENERIC_L443CCUX_MAXDATASIZE 65536) +set(GENERIC_L443CCUX_MCU cortex-m4) +set(GENERIC_L443CCUX_FPCONF "-") +add_library(GENERIC_L443CCUX INTERFACE) +target_compile_options(GENERIC_L443CCUX INTERFACE + "SHELL:-DSTM32L443xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443CCUX_MCU} +) +target_compile_definitions(GENERIC_L443CCUX INTERFACE "STM32L4xx" "ARDUINO_GENERIC_L443CCUX" "BOARD_NAME=\"GENERIC_L443CCUX\"" @@ -91434,6 +92163,261 @@ target_compile_options(GENERIC_L443CCUX_xusb_HSFS INTERFACE "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" ) +# GENERIC_L443RCIX +# ----------------------------------------------------------------------------- + +set(GENERIC_L443RCIX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L443RCIX_MAXSIZE 262144) +set(GENERIC_L443RCIX_MAXDATASIZE 65536) +set(GENERIC_L443RCIX_MCU cortex-m4) +set(GENERIC_L443RCIX_FPCONF "-") +add_library(GENERIC_L443RCIX INTERFACE) +target_compile_options(GENERIC_L443RCIX INTERFACE + "SHELL:-DSTM32L443xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCIX_MCU} +) +target_compile_definitions(GENERIC_L443RCIX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L443RCIX" + "BOARD_NAME=\"GENERIC_L443RCIX\"" + "BOARD_ID=GENERIC_L443RCIX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L443RCIX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L443RCIX_VARIANT_PATH} +) + +target_link_options(GENERIC_L443RCIX INTERFACE + "LINKER:--default-script=${GENERIC_L443RCIX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCIX_MCU} +) +target_link_libraries(GENERIC_L443RCIX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L443RCIX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L443RCIX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCIX_serial_generic INTERFACE) +target_compile_options(GENERIC_L443RCIX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L443RCIX_serial_none INTERFACE) +target_compile_options(GENERIC_L443RCIX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L443RCIX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L443RCIX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L443RCIX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L443RCIX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L443RCIX_usb_HID INTERFACE) +target_compile_options(GENERIC_L443RCIX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L443RCIX_usb_none INTERFACE) +target_compile_options(GENERIC_L443RCIX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCIX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L443RCIX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCIX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L443RCIX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L443RCIX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L443RCIX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L443RCTX +# ----------------------------------------------------------------------------- + +set(GENERIC_L443RCTX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L443RCTX_MAXSIZE 262144) +set(GENERIC_L443RCTX_MAXDATASIZE 65536) +set(GENERIC_L443RCTX_MCU cortex-m4) +set(GENERIC_L443RCTX_FPCONF "-") +add_library(GENERIC_L443RCTX INTERFACE) +target_compile_options(GENERIC_L443RCTX INTERFACE + "SHELL:-DSTM32L443xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCTX_MCU} +) +target_compile_definitions(GENERIC_L443RCTX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L443RCTX" + "BOARD_NAME=\"GENERIC_L443RCTX\"" + "BOARD_ID=GENERIC_L443RCTX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L443RCTX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L443RCTX_VARIANT_PATH} +) + +target_link_options(GENERIC_L443RCTX INTERFACE + "LINKER:--default-script=${GENERIC_L443RCTX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCTX_MCU} +) +target_link_libraries(GENERIC_L443RCTX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L443RCTX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L443RCTX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCTX_serial_generic INTERFACE) +target_compile_options(GENERIC_L443RCTX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L443RCTX_serial_none INTERFACE) +target_compile_options(GENERIC_L443RCTX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L443RCTX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L443RCTX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L443RCTX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L443RCTX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L443RCTX_usb_HID INTERFACE) +target_compile_options(GENERIC_L443RCTX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L443RCTX_usb_none INTERFACE) +target_compile_options(GENERIC_L443RCTX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCTX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L443RCTX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCTX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L443RCTX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L443RCTX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L443RCTX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + +# GENERIC_L443RCYX +# ----------------------------------------------------------------------------- + +set(GENERIC_L443RCYX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L4xx/L433R(B-C)(I-T-Y)_L443RC(I-T-Y)") +set(GENERIC_L443RCYX_MAXSIZE 262144) +set(GENERIC_L443RCYX_MAXDATASIZE 65536) +set(GENERIC_L443RCYX_MCU cortex-m4) +set(GENERIC_L443RCYX_FPCONF "-") +add_library(GENERIC_L443RCYX INTERFACE) +target_compile_options(GENERIC_L443RCYX INTERFACE + "SHELL:-DSTM32L443xx " + "SHELL:" + "SHELL:" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCYX_MCU} +) +target_compile_definitions(GENERIC_L443RCYX INTERFACE + "STM32L4xx" + "ARDUINO_GENERIC_L443RCYX" + "BOARD_NAME=\"GENERIC_L443RCYX\"" + "BOARD_ID=GENERIC_L443RCYX" + "VARIANT_H=\"variant_generic.h\"" +) +target_include_directories(GENERIC_L443RCYX INTERFACE + ${CMAKE_CURRENT_LIST_DIR}/../system/STM32L4xx + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Inc + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L4xx_HAL_Driver/Src + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ + ${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/ + ${GENERIC_L443RCYX_VARIANT_PATH} +) + +target_link_options(GENERIC_L443RCYX INTERFACE + "LINKER:--default-script=${GENERIC_L443RCYX_VARIANT_PATH}/ldscript.ld" + "LINKER:--defsym=LD_FLASH_OFFSET=0x0" + "LINKER:--defsym=LD_MAX_SIZE=262144" + "LINKER:--defsym=LD_MAX_DATA_SIZE=65536" + "SHELL:-mfpu=fpv4-sp-d16 -mfloat-abi=hard" + -mcpu=${GENERIC_L443RCYX_MCU} +) +target_link_libraries(GENERIC_L443RCYX INTERFACE + arm_cortexM4lf_math +) + +add_library(GENERIC_L443RCYX_serial_disabled INTERFACE) +target_compile_options(GENERIC_L443RCYX_serial_disabled INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCYX_serial_generic INTERFACE) +target_compile_options(GENERIC_L443RCYX_serial_generic INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED" +) +add_library(GENERIC_L443RCYX_serial_none INTERFACE) +target_compile_options(GENERIC_L443RCYX_serial_none INTERFACE + "SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE" +) +add_library(GENERIC_L443RCYX_usb_CDC INTERFACE) +target_compile_options(GENERIC_L443RCYX_usb_CDC INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB" +) +add_library(GENERIC_L443RCYX_usb_CDCgen INTERFACE) +target_compile_options(GENERIC_L443RCYX_usb_CDCgen INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC" +) +add_library(GENERIC_L443RCYX_usb_HID INTERFACE) +target_compile_options(GENERIC_L443RCYX_usb_HID INTERFACE + "SHELL:-DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE" +) +add_library(GENERIC_L443RCYX_usb_none INTERFACE) +target_compile_options(GENERIC_L443RCYX_usb_none INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCYX_xusb_FS INTERFACE) +target_compile_options(GENERIC_L443RCYX_xusb_FS INTERFACE + "SHELL:" +) +add_library(GENERIC_L443RCYX_xusb_HS INTERFACE) +target_compile_options(GENERIC_L443RCYX_xusb_HS INTERFACE + "SHELL:-DUSE_USB_HS" +) +add_library(GENERIC_L443RCYX_xusb_HSFS INTERFACE) +target_compile_options(GENERIC_L443RCYX_xusb_HSFS INTERFACE + "SHELL:-DUSE_USB_HS -DUSE_USB_HS_IN_FS" +) + # GENERIC_L452RCIX # ----------------------------------------------------------------------------- diff --git a/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/generic_clock.c b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/generic_clock.c index fed45a75e7..820a234d08 100644 --- a/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/generic_clock.c +++ b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/generic_clock.c @@ -21,8 +21,39 @@ */ WEAK void SystemClock_Config(void) { - /* SystemClock_Config can be generated by STM32CubeMX */ -#warning "SystemClock_Config() is empty. Default clock at reset is used." + RCC_OscInitTypeDef RCC_OscInitStruct = {}; + RCC_ClkInitTypeDef RCC_ClkInitStruct = {}; + + /** Configure the main internal regulator output voltage + */ + __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1); + + /** Initializes the RCC Oscillators according to the specified parameters + * in the RCC_OscInitTypeDef structure. + */ + RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI; + RCC_OscInitStruct.HSIState = RCC_HSI_ON; + RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; + RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; + RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; + RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL6; + RCC_OscInitStruct.PLL.PLLDIV = RCC_PLL_DIV3; + if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) { + Error_Handler(); + } + + /** Initializes the CPU, AHB and APB buses clocks + */ + RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK + | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2; + RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; + RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; + RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; + RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; + + if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK) { + Error_Handler(); + } } #endif /* ARDUINO_GENERIC_* */ diff --git a/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld new file mode 100644 index 0000000000..7f0c0208f6 --- /dev/null +++ b/variants/STM32L1xx/L151ZDT_L152ZDT_L162ZDT/ldscript.ld @@ -0,0 +1,185 @@ +/* +****************************************************************************** +** +** @file : LinkerScript.ld +** +** @author : Auto-generated by STM32CubeIDE +** +** @brief : Linker script for STM32L152ZDTx Device from STM32L1 series +** 384Kbytes FLASH +** 48Kbytes RAM +** +** Set heap size, stack size and stack location according +** to application requirements. +** +** Set memory bank area and size if external memory is used +** +** Target : STMicroelectronics STM32 +** +** Distribution: The file is distributed as is, without any warranty +** of any kind. +** +****************************************************************************** +** @attention +** +** Copyright (c) 2023 STMicroelectronics. +** All rights reserved. +** +** This software is licensed under terms that can be found in the LICENSE file +** in the root directory of this software component. +** If no LICENSE file comes with this software, it is provided AS-IS. +** +****************************************************************************** +*/ + +/* Entry Point */ +ENTRY(Reset_Handler) + +/* Highest address of the user mode stack */ +_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */ + +_Min_Heap_Size = 0x200; /* required amount of heap */ +_Min_Stack_Size = 0x400; /* required amount of stack */ + +/* Memories definition */ +MEMORY +{ + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE + FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET +} + +/* Sections */ +SECTIONS +{ + /* The startup code into "FLASH" Rom type memory */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + /* The program code and other data into "FLASH" Rom type memory */ + .text : + { + . = ALIGN(4); + *(.text) /* .text sections (code) */ + *(.text*) /* .text* sections (code) */ + *(.glue_7) /* glue arm to thumb code */ + *(.glue_7t) /* glue thumb to arm code */ + *(.eh_frame) + + KEEP (*(.init)) + KEEP (*(.fini)) + + . = ALIGN(4); + _etext = .; /* define a global symbols at end of code */ + } >FLASH + + /* Constant data into "FLASH" Rom type memory */ + .rodata : + { + . = ALIGN(4); + *(.rodata) /* .rodata sections (constants, strings, etc.) */ + *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ + . = ALIGN(4); + } >FLASH + + .ARM.extab : { + . = ALIGN(4); + *(.ARM.extab* .gnu.linkonce.armextab.*) + . = ALIGN(4); + } >FLASH + + .ARM : { + . = ALIGN(4); + __exidx_start = .; + *(.ARM.exidx*) + __exidx_end = .; + . = ALIGN(4); + } >FLASH + + .preinit_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP (*(.preinit_array*)) + PROVIDE_HIDDEN (__preinit_array_end = .); + . = ALIGN(4); + } >FLASH + + .init_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array*)) + PROVIDE_HIDDEN (__init_array_end = .); + . = ALIGN(4); + } >FLASH + + .fini_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(SORT(.fini_array.*))) + KEEP (*(.fini_array*)) + PROVIDE_HIDDEN (__fini_array_end = .); + . = ALIGN(4); + } >FLASH + + /* Used by the startup to initialize data */ + _sidata = LOADADDR(.data); + + /* Initialized data sections into "RAM" Ram type memory */ + .data : + { + . = ALIGN(4); + _sdata = .; /* create a global symbol at data start */ + *(.data) /* .data sections */ + *(.data*) /* .data* sections */ + *(.RamFunc) /* .RamFunc sections */ + *(.RamFunc*) /* .RamFunc* sections */ + + . = ALIGN(4); + _edata = .; /* define a global symbol at data end */ + + } >RAM AT> FLASH + + /* Uninitialized data section into "RAM" Ram type memory */ + . = ALIGN(4); + .bss : + { + /* This is used by the startup in order to initialize the .bss section */ + _sbss = .; /* define a global symbol at bss start */ + __bss_start__ = _sbss; + *(.bss) + *(.bss*) + *(COMMON) + + . = ALIGN(4); + _ebss = .; /* define a global symbol at bss end */ + __bss_end__ = _ebss; + } >RAM + + /* User_heap_stack section, used to check that there is enough "RAM" Ram type memory left */ + ._user_heap_stack : + { + . = ALIGN(8); + PROVIDE ( end = . ); + PROVIDE ( _end = . ); + . = . + _Min_Heap_Size; + . = . + _Min_Stack_Size; + . = ALIGN(8); + } >RAM + + /* Remove information from the compiler libraries */ + /DISCARD/ : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + .ARM.attributes 0 : { *(.ARM.attributes) } +}