Skip to content

fixup! Added platform DISCO_F429ZI_QEMU for QEMU support. #1724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@
#define DEVICE_SLEEP 1

//=======================================

// Allow these to be overiden with compile time defines passed to build.py using -D
#ifndef DEVICE_SEMIHOST
#define DEVICE_SEMIHOST 0
#endif
#ifndef DEVICE_LOCALFILESYSTEM
#define DEVICE_LOCALFILESYSTEM 0
#endif

#define DEVICE_ID_LENGTH 24

#define DEVICE_DEBUG_AWARENESS 0
Expand Down
8 changes: 8 additions & 0 deletions workspace_tools/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,13 @@ def __init__(self):
"target":"disco-f429zi",
}

class DISCO_F429ZI_QEMU(DISCO_F429ZI):
def __init__(self):
DISCO_F429ZI.__init__(self)
self.extra_labels = ['STM', 'STM32F4', 'STM32F429', 'STM32F429ZI', 'DISCO_F429ZI']
self.core = "Cortex-M4"


class DISCO_F469NI(Target):
def __init__(self):
Target.__init__(self)
Expand Down Expand Up @@ -2235,6 +2242,7 @@ def __init__(self):
DISCO_F407VG(), # STM32F407
ARCH_MAX(), # STM32F407
DISCO_F429ZI(),
DISCO_F429ZI_QEMU(),
DISCO_F469NI(),
DISCO_L053C8(),
DISCO_L476VG(),
Expand Down