Commit Graph

28 Commits

Author SHA1 Message Date
microDev 4f753251db
cleanup `mpconfigboard.mk` of espressif boards
- move `INTERNAL_FLASH_FILESYSTEM` to `mpconfigport.mk`
- move `LONGINT_IMPL` to `mpconfigport.mk`
- move `CFG_TUD_TASK_QUEUE_SZ` to `Makefile`
2022-10-06 16:15:01 +05:30
Dan Halbert 4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
Scott Shawcroft df1435ae94
Audit all boards with LED pins defined
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)

Fixes #6717
2022-08-11 14:41:20 -07:00
Dan Halbert 76e32dcf93 remove need for CIRCUITPY_ESP_PSRAM 2022-07-08 14:54:55 -04:00
Dan Halbert 780c4963cb wip; change never-ever reset pin mechanism 2022-06-28 23:06:49 -04:00
Dan Halbert 55784c93de wip; compiles 2022-06-26 21:22:22 -04:00
Dan Halbert 02069eb0b5 wip 2022-06-23 15:59:06 -04:00
Scott Shawcroft 4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07:00
Dan Halbert 90c5fb2515
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c 2022-03-01 19:56:23 -05:00
lady ada ee52795540 fix automatic i2c enablement with rev C 2022-03-01 18:15:37 -05:00
Scott Shawcroft 65af10cd23
Tweak I2C and TFT power pin defaults
This should set the power to on by default without preventing the
user code from repeatedly using it.

Fixes #5903
2022-02-14 16:19:56 -08:00
Neradoc b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
Scott Shawcroft d99847b410
Refactor pin reset on ESP
This makes it easier to blanket never reset flash and USB pins. It
also allows us to set a custom state after reset. The first case
is for the double tap reset that needs to be pulled low.

Fixes #5893
2022-01-20 12:40:41 -08:00
lady ada 8b26f594c9 try not resetting i2c power 2022-01-18 20:14:16 -05:00
lady ada 647b894e7b ?? some include needed 2022-01-18 20:14:16 -05:00
lady ada 9c933558b5 enable I2C by default 2022-01-18 20:14:15 -05:00
Scott Shawcroft 39639ecd17
Rework configs to take target into account
New script will filter settings to different tiers.
2022-01-13 15:55:37 -08:00
Kattni Rembor fb96c09118 Add button pin to Feathers, fix pin order on QT Py. 2022-01-12 13:54:56 -05:00
Dan Halbert cf70a9ca61 Turn on I2C power for each VM, instead of just after hard reset 2021-12-24 16:27:17 -05:00
Dan Halbert 889b25d792 put I2C_POWER_INVERTED alias before D7, for prettypins 2021-12-24 11:49:58 -05:00
Dan Halbert cf349af35e turn on I2C power after reset 2021-12-24 11:45:07 -05:00
Kattni Rembor c13f1d19f5 Update pins to silk pin first. 2021-11-29 17:56:03 -05:00
anecdata c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
Dan Halbert c61ab864da
Update ports/espressif/boards/adafruit_feather_esp32s2/board.c 2021-10-26 17:14:23 -04:00
Limor "Ladyada" Fried 037d893923
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-10-26 15:55:18 -04:00
Limor "Ladyada" Fried ccb6c5e5a9
Update ports/espressif/boards/adafruit_feather_esp32s2/mpconfigboard.h
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-10-26 15:55:11 -04:00
Limor "Ladyada" Fried 5e59fa65ec
Update ports/espressif/boards/adafruit_feather_esp32s2/mpconfigboard.mk
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-10-26 15:54:49 -04:00
lady ada ba4e9797c7 add a nuuuuuboard 2021-10-26 15:05:10 -04:00