removes attribute packed as it disables word access generation by gcc

This commit is contained in:
Eyck Jentzsch 2024-08-11 17:29:43 +02:00
parent 46d55f353e
commit 5d78f839a5
8 changed files with 19 additions and 19 deletions

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t MSIP0;
uint8_t fill0[16380];
volatile uint32_t MTIMECMP0LO;

View File

@ -12,22 +12,22 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t DATA;
volatile uint32_t STATUS;
volatile uint32_t CONFIG;
volatile uint32_t INTR;
uint8_t fill0[16];
uint32_t fill0[4];
volatile uint32_t SCLK_CONFIG;
volatile uint32_t SSGEN_SETUP;
volatile uint32_t SSGEN_HOLD;
volatile uint32_t SSGEN_DISABLE;
volatile uint32_t SSGEN_ACTIVE_HIGH;
uint8_t fill1[12];
uint32_t fill1[3];
volatile uint32_t XIP_ENABLE;
volatile uint32_t XIP_CONFIG;
volatile uint32_t XIP_MODE;
uint8_t fill2[4];
uint32_t fill2[1];
volatile uint32_t XIP_WRITE;
volatile uint32_t XIP_READ_WRITE;
volatile uint32_t XIP_READ;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t PIXEL;
volatile uint32_t CONTROL;
volatile uint32_t STATUS;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t CONTROL;
volatile uint32_t STATUS;
volatile uint32_t IE;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t VALUE;
volatile uint32_t WRITE;
volatile uint32_t WRITEENABLE;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t LEFT_CH;
volatile uint32_t RIGHT_CH;
volatile uint32_t CONTROL;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t PRESCALER;
volatile uint32_t T0_CTRL;
volatile uint32_t T0_OVERFLOW;

View File

@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t RX_TX_REG;
volatile uint32_t INT_CTRL_REG;
volatile uint32_t CLK_DIVIDER_REG;