Skip to content

Commit

Permalink
Merge pull request #806 from adafruit/add-feather-sense-tft
Browse files Browse the repository at this point in the history
Add feather sense tft
  • Loading branch information
ladyada authored Jan 4, 2024
2 parents 5e284a1 + f295055 commit 2d3a572
Show file tree
Hide file tree
Showing 43 changed files with 14,884 additions and 2,841 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- 'feather52832'
- 'feather52840'
- 'feather52840sense'
- 'feather_nrf52840_sense_tft'
- 'itsybitsy52840'
- 'ledglasses_nrf52840'

Expand All @@ -29,7 +30,7 @@ jobs:
python-version: '3.x'

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down
63 changes: 63 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,69 @@ feather52840sense.menu.debug_output.serial1.build.logger_flags=-DCFG_LOGGER=1 -D
feather52840sense.menu.debug_output.rtt=Segger RTT
feather52840sense.menu.debug_output.rtt.build.logger_flags=-DCFG_LOGGER=2 -DCFG_TUSB_DEBUG=CFG_DEBUG -DSEGGER_RTT_MODE_DEFAULT=SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL

# -----------------------------------
# Adafruit Feather nRF52840 Sense TFT
# -----------------------------------
feather_nrf52840_sense_tft.name=Adafruit Feather nRF52840 Sense TFT

# VID/PID for Bootloader, Arduino & CircuitPython
feather_nrf52840_sense_tft.vid.0=0x239A
feather_nrf52840_sense_tft.pid.0=0x8087
feather_nrf52840_sense_tft.vid.1=0x239A
feather_nrf52840_sense_tft.pid.1=0x0087
feather_nrf52840_sense_tft.vid.2=0x239A
feather_nrf52840_sense_tft.pid.2=0x0088
feather_nrf52840_sense_tft.vid.3=0x239A
feather_nrf52840_sense_tft.pid.3=0x8088

# Upload
feather_nrf52840_sense_tft.bootloader.tool=bootburn
feather_nrf52840_sense_tft.upload.tool=nrfutil
feather_nrf52840_sense_tft.upload.protocol=nrfutil
feather_nrf52840_sense_tft.upload.use_1200bps_touch=true
feather_nrf52840_sense_tft.upload.wait_for_upload_port=true
feather_nrf52840_sense_tft.upload.maximum_size=815104
feather_nrf52840_sense_tft.upload.maximum_data_size=237568

# Build
feather_nrf52840_sense_tft.build.mcu=cortex-m4
feather_nrf52840_sense_tft.build.f_cpu=64000000
feather_nrf52840_sense_tft.build.board=NRF52840_FEATHER_SENSE_TFT
feather_nrf52840_sense_tft.build.core=nRF5
feather_nrf52840_sense_tft.build.variant=feather_nrf52840_sense_tft
feather_nrf52840_sense_tft.build.usb_manufacturer="Adafruit"
feather_nrf52840_sense_tft.build.usb_product="Feather nRF52840 Sense TFT"
feather_nrf52840_sense_tft.build.extra_flags=-DNRF52840_XXAA {build.flags.usb}
feather_nrf52840_sense_tft.build.ldscript=nrf52840_s140_v6.ld
feather_nrf52840_sense_tft.build.openocdscript=scripts/openocd/daplink_nrf52.cfg
feather_nrf52840_sense_tft.build.vid=0x239A
feather_nrf52840_sense_tft.build.pid=0x8087

# Menu: SoftDevice
feather_nrf52840_sense_tft.menu.softdevice.s140v6=S140 6.1.1
feather_nrf52840_sense_tft.menu.softdevice.s140v6.build.sd_name=s140
feather_nrf52840_sense_tft.menu.softdevice.s140v6.build.sd_version=6.1.1
feather_nrf52840_sense_tft.menu.softdevice.s140v6.build.sd_fwid=0x00B6

# Menu: Debug Level
feather_nrf52840_sense_tft.menu.debug.l0=Level 0 (Release)
feather_nrf52840_sense_tft.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
feather_nrf52840_sense_tft.menu.debug.l1=Level 1 (Error Message)
feather_nrf52840_sense_tft.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1
feather_nrf52840_sense_tft.menu.debug.l2=Level 2 (Full Debug)
feather_nrf52840_sense_tft.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
feather_nrf52840_sense_tft.menu.debug.l3=Level 3 (Segger SystemView)
feather_nrf52840_sense_tft.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3
feather_nrf52840_sense_tft.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1

# Menu: Debug Port
feather_nrf52840_sense_tft.menu.debug_output.serial=Serial
feather_nrf52840_sense_tft.menu.debug_output.serial.build.logger_flags=-DCFG_LOGGER=0
feather_nrf52840_sense_tft.menu.debug_output.serial1=Serial1
feather_nrf52840_sense_tft.menu.debug_output.serial1.build.logger_flags=-DCFG_LOGGER=1 -DCFG_TUSB_DEBUG=CFG_DEBUG
feather_nrf52840_sense_tft.menu.debug_output.rtt=Segger RTT
feather_nrf52840_sense_tft.menu.debug_output.rtt.build.logger_flags=-DCFG_LOGGER=2 -DCFG_TUSB_DEBUG=CFG_DEBUG -DSEGGER_RTT_MODE_DEFAULT=SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL

# -----------------------------------
# Adafruit ItsyBitsy nRF52840 Express
# -----------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9742,7 +9742,7 @@
:104790000393684602230093FFF7EEFF05B05DF830
:1047A00004FB08B54FF0E023D3F8F03DDB0700D55C
:1047B00000BEFFF7C7FF0000014B1878704700BF2D
:1047C000ED9600202DE9FF484C4B4FF40062C3F8F2
:1047C000ED9600202DE9FF484C4B40F60102C3F85E
:1047D000402500F0C1FA00F03DFF002000F05EFB34
:1047E00000F0B8FF48B1052000F058FB00F0C4FF0E
:1047F00000F0E8FF062000F051FB4FF08043DFF8A7
Expand Down Expand Up @@ -10795,22 +10795,22 @@
:108960001A1FB2F5696F03F1010206D2AB4214BFC0
:1089700091B24FF6FF7124F8131090421346EFD1D5
:10898000D6E7F823237004F109022346FF2003F8F9
:10899000010F9342FBD1DAE7B5F5027F3AD86FF4C5
:10899000010F9342FBD1DAE7B5F5027F39D86FF4C6
:1089A000017C65443DB920463A490B22FFF79CFF04
:1089B0002823E372203438492E014FF0000801EBE0
:1089C00005257A27022EB3D80B2229462046FFF729
:1089D0008BFF57233D2228216374E3746376B31C15
:1089E00084F80D80A773E1732274A27484F8148054
:1089F00084F81580A775E17522766383E86830B145
:108A000002F0E9FDE061013620341035DAE74FF479
:108A1000E910F7E7214B9D428AD86FF40277EA19F3
:108A2000012A0FD81C4B03EB0213D96801910846A9
:108A300002F0D1FD01990246204602B0BDE8F041A6
:108A400002F092BD6FF4FD76A9190902B1F5801FFD
:108A5000BFF46EAF124B236003F1144303F52C13E4
:108A600003F6023363600F4BC4F8FC314FF46963C3
:108A7000A3614FF40053A5F20B254FF48072A3605D
:108A8000094B6561E1602261E36104F12000D4E7F4
:1089C00005255C27022EB3D80B2220462946FFF747
:1089D0008BFF582324226374E3746376B31C84F8FA
:1089E0000D80A773E7732274A27484F8148084F84E
:1089F0001580A775E77522766383E86830B102F0C9
:108A0000EAFDE061013620341035DBE74FF4E91070
:108A1000F7E7224B9D428BD86FF40277EA19012ABF
:108A20000FD81D4B03EB0213D9680191084602F0E1
:108A3000D2FD01990246204602B0BDE8F04102F0A5
:108A400093BD6FF4FD76A9190902B1F5801FBFF43B
:108A50006FAF134B236003F1144303F52C1303F69C
:108A6000023363600F4BC4F8FC314FF46963A361B8
:108A70004FF40053A5F20B254FF48072A3600A4B0C
:108A80006561E1602261E36104F12000D4E700BF89
:108A900080BA0F00ABBA0F0038BB0F00080101000D
:108AA0005546320A306FB10A45009A23F7B5654B37
:108AB00014460A689A420D4639D103F114434A68B4
Expand Down Expand Up @@ -11570,7 +11570,7 @@
:10B9D000667275697420496E6475737472696573F3
:10B9E000004369726375697420506C617967726F86
:10B9F000756E64206E5246353238343000302E3841
:10BA00002E30207331343020362E312E310000009C
:10BA00002E31207331343020362E312E310000009B
:10BA1000000000000000000000000000000023D132
:10BA2000BCEA5F782315DEEF121200000000000070
:10BA300054B200204164616672756974006E5246AA
Expand Down Expand Up @@ -11681,7 +11681,7 @@
:10C0C000000012010002EF0201409A234500000126
:10C0D0000102030161BA0F00CDB90F00E1B90F00F1
:10C0E00048B5002056BA0F003DBA0F005546322021
:10C0F000426F6F746C6F6164657220302E382E3021
:10C0F000426F6F746C6F6164657220302E382E3120
:10C10000206C69622F6E726678202876322E302E6F
:10C110003029206C69622F74696E797573622028EA
:10C12000302E31322E302D3134352D6739373735B9
Expand All @@ -11694,8 +11694,8 @@
:10C19000323834300D0A426F6172642D49443A20BE
:10C1A0006E524635323834302D4369726375697486
:10C1B000506C617967726F756E642D726576440D8F
:10C1C0000A446174653A2053657020323920323058
:10C1D00032330D0A000000000000000000000000E3
:10C1C0000A446174653A204A616E2020342032307E
:10C1D00032340D0A000000000000000000000000E2
:10C1E000000000000000000000000000000000004F
:10C1F000000000000000000000000000000000003F
:10C20000000000000000000000000000000000002E
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9742,7 +9742,7 @@
:104790000393684602230093FFF7EEFF05B05DF830
:1047A00004FB08B54FF0E023D3F8F03DDB0700D55C
:1047B00000BEFFF7C7FF0000014B1878704700BF2D
:1047C000ED9600202DE9FF484C4B4FF40062C3F8F2
:1047C000ED9600202DE9FF484C4B40F60102C3F85E
:1047D000402500F0C3FA00F039FF002000F05AFB3A
:1047E00000F0B4FF48B1052000F054FB00F0C0FF1A
:1047F00000F0E4FF062000F04DFB4FF08043DFF8AF
Expand Down Expand Up @@ -10797,10 +10797,10 @@
:1089800009022346FF2003F8010F9342FBD1DAE7E7
:10899000B5F5027F39D86FF4017C65443DB92046B6
:1089A0003A490B22FFF79CFF2823E3722034384911
:1089B0002E014FF0640801EB05250027022EB3D8E5
:1089C0000B2229462046FFF78BFF57237F203D22AD
:1089D00028216374E3746376B31C84F80D80A0735C
:1089E000E1732274A27427756775A075E17522760C
:1089B0002E014FF0000801EB05255C27022EB3D8ED
:1089C0000B2220462946FFF78BFF5823242263748D
:1089D000E3746376B31C84F80D80A773E773227485
:1089E000A27484F8148084F81580A775E775227640
:1089F0006383E86830B102F0EAFDE06101362034BB
:108A00001035DBE74FF4E910F7E7224B9D428BD896
:108A10006FF40277EA19012A0FD81D4B03EB0213FA
Expand Down Expand Up @@ -11568,7 +11568,7 @@
:10B9B0000338FDD8704741646144465500416461D5
:10B9C000667275697420496E647573747269657303
:10B9D00000434C5545206E524635323834300030E5
:10B9E0002E382E30207331343020362E312E310057
:10B9E0002E382E31207331343020362E312E310056
:10B9F0000000000000000000000000000000000047
:10BA000023D1BCEA5F782315DEEF1212000000009C
:10BA1000A4B000204164616672756974006E52467C
Expand Down Expand Up @@ -11679,7 +11679,7 @@
:10C0A000000012010002EF0201409A23710000011A
:10C0B0000102030141BA0F00BDB90F00D1B90F0051
:10C0C00098B3002036BA0F001DBA0F005546322033
:10C0D000426F6F746C6F6164657220302E382E3041
:10C0D000426F6F746C6F6164657220302E382E3140
:10C0E000206C69622F6E726678202876322E302E90
:10C0F0003029206C69622F74696E7975736220280B
:10C10000302E31322E302D3134352D6739373735D9
Expand All @@ -11690,8 +11690,8 @@
:10C15000416461667275697420434C5545206E5286
:10C160004635323834300D0A426F6172642D4944CD
:10C170003A206E524635323834302D434C55452DD9
:10C18000726576410D0A446174653A2053657020EA
:10C19000323920323032330D0A0000000000000036
:10C18000726576410D0A446174653A204A616E20F9
:10C19000203420323032340D0A000000000000004C
:10C1A000000000000000000000000000000000008F
:10C1B000000000000000000000000000000000007F
:10C1C000000000000000000000000000000000006F
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9540,7 +9540,7 @@
:104790000393684602230093FFF7EEFF05B05DF830
:1047A00004FB08B54FF0E023D3F8F03DDB0700D55C
:1047B00000BEFFF7C7FF0000014B1878704700BF2D
:1047C00085940020BFB5AB4B4FF40062C3F8402581
:1047C00085940020BFB5AB4B40F60102C3F84025ED
:1047D00000F012FA00F052FE002000F0DDFA00F0C6
:1047E000C5FE48B1052000F0D7FA00F0D1FE00F078
:1047F000F5FE062000F0D0FA4FF080439E4FD3F82C
Expand Down Expand Up @@ -10700,7 +10700,7 @@
:109010000338FDD87047416461444655004164619E
:10902000667275697420496E6475737472696573CC
:109030000046656174686572206E52463532383379
:109040003200302E382E30207331333220362E311C
:109040003200302E382E31207331333220362E311B
:109050002E310000000000000000000000000000B1
:1090600000000023D1BCEA5F782315DEEF12120066
:1090700000000000080000000600000000000000E2
Expand Down
Binary file not shown.
Loading

0 comments on commit 2d3a572

Please sign in to comment.