all: Prune trailing whitespace.
Prune trailing whitespace across the whole project (almost), done
automatically with:
grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\
xargs sed -i 's/[[:space:]]*$//'
Exceptions:
- Skip third-party code in lib/ and drivers/cc3100/
- Skip generated code in bluetooth_init_cc2564C_1.5.c
- Preserve command output whitespace in docs, eg:
docs/esp8266/tutorial/repl.rst
Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
committed by
Damien George
parent
decf8e6a8b
commit
dda9b9c6da
@@ -17,11 +17,11 @@ Now you have all files at hand that you will need for updating.
|
||||
|
||||
2. Push and hold the "Boot" button, then press "Reset", and release both buttons.
|
||||
|
||||
3. Run the commands:
|
||||
3. Run the commands:
|
||||
|
||||
```
|
||||
sudo ./sdphost -u 0x1fc9,0x0145 -- write-file 0x20206400 tinyuf2-imxrt1010_evk-0.9.0.bin
|
||||
sudo ./sdphost -u 0x1fc9,0x0145 -- jump-address 0x20207000
|
||||
sudo ./sdphost -u 0x1fc9,0x0145 -- write-file 0x20206400 tinyuf2-imxrt1010_evk-0.9.0.bin
|
||||
sudo ./sdphost -u 0x1fc9,0x0145 -- jump-address 0x20207000
|
||||
```
|
||||
Wait until a drive icon appears on the computer (or mount it explicitly), and then run:
|
||||
```
|
||||
@@ -32,7 +32,7 @@ You can put all of that in a script. Just add a short wait before the 3rd comman
|
||||
4. Once the upload is finished, push Reset again.
|
||||
|
||||
Using sudo is Linux specific. You may not need it at all, if the access rights are set properly,
|
||||
and you will not need it for Windows.
|
||||
and you will not need it for Windows.
|
||||
|
||||
Once the generic boot-loader is available, this procedure is only required for the first
|
||||
firmware load or in case the flash is corrupted and the existing firmware is not functioning
|
||||
|
||||
@@ -4,7 +4,7 @@ MCU_VARIANT = MIMXRT1052DVL6B
|
||||
MICROPY_FLOAT_IMPL = double
|
||||
MICROPY_HW_FLASH_TYPE = qspi_nor_flash
|
||||
MICROPY_HW_FLASH_SIZE = 0x800000 # 8MB
|
||||
|
||||
|
||||
MICROPY_HW_SDRAM_AVAIL = 1
|
||||
MICROPY_HW_SDRAM_SIZE = 0x2000000 # 32MB
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** ###################################################################
|
||||
** Linker script inspired by NXP linker script for MIMXRT10xx
|
||||
**
|
||||
**
|
||||
** Copyright for original linker script:
|
||||
** Copyright 2016 Freescale Semiconductor, Inc.
|
||||
** Copyright 2016-2018 NXP
|
||||
@@ -26,7 +26,7 @@ HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400;
|
||||
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
|
||||
|
||||
/* Reserved Area
|
||||
* Users can create a reserved area at the end of the flash memory via
|
||||
* Users can create a reserved area at the end of the flash memory via
|
||||
* 'reserved_size' variable. The size of the reserved area should be a multiple
|
||||
* of the sector size of the flash memory!
|
||||
*/
|
||||
@@ -41,7 +41,7 @@ MEMORY
|
||||
m_text (RX) : ORIGIN = text_start, LENGTH = text_size
|
||||
m_vfs (RX) : ORIGIN = vfs_start, LENGTH = vfs_size
|
||||
/* Teensy uses the last bit of flash for recovery. */
|
||||
m_reserved (RX) : ORIGIN = (vfs_start + vfs_size), LENGTH = reserved_size
|
||||
m_reserved (RX) : ORIGIN = (vfs_start + vfs_size), LENGTH = reserved_size
|
||||
m_itcm (RX) : ORIGIN = itcm_start, LENGTH = itcm_size
|
||||
m_dtcm (RW) : ORIGIN = dtcm_start, LENGTH = dtcm_size
|
||||
m_ocrm (RW) : ORIGIN = ocrm_start, LENGTH = ocrm_size
|
||||
@@ -59,8 +59,8 @@ SECTIONS
|
||||
__sdram_start = sdram_start;
|
||||
#endif
|
||||
__vfs_start = ORIGIN(m_vfs);
|
||||
__vfs_end = __vfs_start + LENGTH(m_vfs);
|
||||
|
||||
__vfs_end = __vfs_start + LENGTH(m_vfs);
|
||||
|
||||
.flash_config :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
@@ -177,7 +177,7 @@ SECTIONS
|
||||
KEEP (*(.fini_array*))
|
||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||
} > m_text
|
||||
|
||||
|
||||
__etext = .; /* define a global symbol at end of code */
|
||||
__DATA_ROM = .; /* Symbol is used by startup for data initialization */
|
||||
|
||||
@@ -206,7 +206,7 @@ SECTIONS
|
||||
*(.text*)
|
||||
. = ALIGN(4);
|
||||
__ram_function_end__ = .;
|
||||
} > m_itcm
|
||||
} > m_itcm
|
||||
|
||||
__NDATA_ROM = __RAM_FUNCTIONS_ROM + (__ram_function_end__ - __ram_function_start__);
|
||||
.ncache.init : AT(__NDATA_ROM)
|
||||
|
||||
Reference in New Issue
Block a user