1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-04-25 06:42:30 +03:00
Merge branch 'master' of https://github.com/Optiboot/optiboot
This commit is contained in:
WestfW 2022-07-18 22:18:56 -07:00
commit cf6fb869b3
3 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,7 @@ ISPFUSES = -e -u -U lock:w:0x$(LOCKFUSE):m $(EFUSE_CMD) \
# space from accidental SPM writes. Note: "2f" allows boot section to be read
# by the application, which is different than the arduino default.
#
ISPFLASH = -U flash:w:$(FILENAME) -U lock:w:$(LOCKFUSE):m
ISPFLASH = -U flash:w:$(FILENAME) -U lock:w:0x$(LOCKFUSE):m
# There are certain complicated caused by the fact that the default state
# of a fuse is a "1" rather than a "0", especially with respect to fuse bits

View File

@ -905,7 +905,7 @@ int main(void) {
#if SOFT_UART
/* Set TX pin as HIGH output */
UART_PIN |= _BV(UART_TX_BIT);
UART_PORT |= _BV(UART_TX_BIT);
UART_DDR |= _BV(UART_TX_BIT);
#endif

View File

@ -106,6 +106,7 @@
#define UDR0 UDR
#define UDRE0 UDRE
#define RXC0 RXC
#define TXC0 TXC
#define FE0 FE
#define TIFR1 TIFR
#define WDTCSR WDTCR