* add mdedtls for des3 implementation * add localss from RfidResearchGroup/proxmark3 * picopass reader app and rfal for communicating with picopass cards * always turn off field * close storage when keys are not found * Add mbedtls as submodule * add mbedtl_config * Switched to only including specific mbedtls files I need. Thank you @kevinwallace * cherry-pick kevinwallace sconsify * scons for mbedtls/loclass * Reset to ready state on error * unsigned FC/CN * clean FC/CN if not decoded Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
		
			
				
	
	
		
			81 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
Import("env")
 | 
						|
 | 
						|
env.Append(
 | 
						|
    LINT_SOURCES=[
 | 
						|
        "lib/app-scened-template",
 | 
						|
        "lib/digital_signal",
 | 
						|
        "lib/drivers",
 | 
						|
        "lib/flipper_format",
 | 
						|
        "lib/infrared",
 | 
						|
        "lib/nfc_protocols",
 | 
						|
        "lib/one_wire",
 | 
						|
        "lib/ST25RFAL002",
 | 
						|
        "lib/subghz",
 | 
						|
        "lib/toolbox",
 | 
						|
        "lib/u8g2",
 | 
						|
        "lib/update_util",
 | 
						|
    ]
 | 
						|
)
 | 
						|
 | 
						|
env.Append(
 | 
						|
    CPPPATH=[
 | 
						|
        "#/",
 | 
						|
        "#/lib",  # TODO: remove!
 | 
						|
        "#/lib/mlib",
 | 
						|
        # Ugly hack
 | 
						|
        "${BUILD_DIR}/assets/compiled",
 | 
						|
    ],
 | 
						|
    CPPDEFINES=[
 | 
						|
        '"M_MEMORY_FULL(x)=abort()"',
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
 | 
						|
# drivers
 | 
						|
# fatfs
 | 
						|
# flipper_format
 | 
						|
# infrared
 | 
						|
# littlefs
 | 
						|
# subghz
 | 
						|
# toolbox
 | 
						|
# misc
 | 
						|
#    digital_signal
 | 
						|
#    fnv1a-hash
 | 
						|
#    micro-ecc
 | 
						|
#    microtar
 | 
						|
#    nfc_protocols
 | 
						|
#    one_wire
 | 
						|
#    qrcode
 | 
						|
#    u8g2
 | 
						|
#    update_util
 | 
						|
#    heatshrink
 | 
						|
#    nanopb
 | 
						|
# apps
 | 
						|
#    app-scened-template
 | 
						|
#    callback-connector
 | 
						|
#    app-template
 | 
						|
 | 
						|
 | 
						|
libs = env.BuildModules(
 | 
						|
    [
 | 
						|
        "STM32CubeWB",
 | 
						|
        "freertos",
 | 
						|
        "microtar",
 | 
						|
        "toolbox",
 | 
						|
        "ST25RFAL002",
 | 
						|
        "libusb_stm32",
 | 
						|
        "drivers",
 | 
						|
        "fatfs",
 | 
						|
        "flipper_format",
 | 
						|
        "infrared",
 | 
						|
        "littlefs",
 | 
						|
        "subghz",
 | 
						|
        "appframe",
 | 
						|
        "misc",
 | 
						|
        "mbedtls",
 | 
						|
        "loclass",
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
Return("libs")
 |